Skip to content

Instantly share code, notes, and snippets.

Avatar
:shipit:
<img src=x onerror=alert(document.domain)>

Adam Yi adamyi

:shipit:
<img src=x onerror=alert(document.domain)>
View GitHub Profile
@adamyi
adamyi / main.go
Created Sep 20, 2020
My solution for design-comp challenge in DownUnder CTF 2020
View main.go
package main
import (
"crypto/tls"
"log"
"net/http"
"github.com/gorilla/websocket"
"golang.org/x/crypto/acme/autocert"
)
@adamyi
adamyi / quoccabfd.bf
Created Jun 20, 2020
A fork of https://github.com/ajyoon/systemf/blob/master/examples/http/server.bf that fixes file descriptor leak. weried flex of brainfuck skill
View quoccabfd.bf
+++++++++++++++++++++++++++++++++++++++++>+++>>+>++>>+>+>>+><<<<<<<<<<%>>>>>>>>>
>+++++++++++++++++++++++++++++++++++++++++++++++++>+++>>+<<<<<<<<<<<<<[>>>>>>>>>
>>>>>+<<<<<<<<<<<<<<-]>>>>>>>>>>>>>>>+>++++++++++++++++>++>>>+++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>>>>>++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++>+++++++>+++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++>>>>>>>+>++++++++++++++++<<<<<<<<<<<<
<<<<<<<<<<<<<%+[[-]>>>>>>>>>>>>>>>>>>>>>>>>>>+++++++++++++++++++++++++++++++++++
+++++++++++++++>++>>+><<<<<<<<<<<<<<<<<<<<<<<<<<[->>>>>>>>>>>>>>>>>>>>>>>>>>+<<<
<<<<<<<<<<<<<<<<<<<<<<<]>>>>>>>>>>>>>>>>>>>>>>>>>>>>+>+++++++++<<<<<<<%>>>>[<<<<
@adamyi
adamyi / main.go
Created Mar 14, 2020
Trivial HTTP Server
View main.go
/**
* A trivial HTTP Server, written for COMP3331/9331, 20T1
* Adam Yi <adamyi@cse.unsw.edu.au>
*
*/
package main
import (
"bufio"
"fmt"
@adamyi
adamyi / keybase.md
Last active Jul 26, 2017
keybase.md
View keybase.md

Keybase proof

I hereby claim:

  • I am adamyi on github.
  • I am adamyi (https://keybase.io/adamyi) on keybase.
  • I have a public key whose fingerprint is 40FC 1163 0010 F5DC 1FBE 9EBF 2943 4C95 F23F 071B

To claim this, I am signing this object:

@adamyi
adamyi / MetzliRenderer.php
Last active Jan 23, 2017
Metzli PngRenderer rewritten with Imagick in PHP to generate Aztec Code
View MetzliRenderer.php
<?php
// MetzzliRenderer
// Part of MUNPANEL System (https://www.munpanel.com/)
// Under Apache 2.0 License
// By Adam Yi
use \Imagick;
use \ImagickDraw;
use Metzli\Encoder\Encoder;
use Metzli\Encoder\AztecCode;