Skip to content

Instantly share code, notes, and snippets.

Jaehoon Kim sabzil

  • Seoul, Korea
Block or report user

Report or block sabzil

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View mkscope.sh
#!/bin/bash
rm cscope.files cscope.out
if ["$GOROOT" = ""]; then
echo "GOROOT is not set"
GOROOT=`go env | grep "GOROOT" | cut -d "=" -f2`
GOROOT=${GOROOT#\"}
GOROOT=${GOROOT%\"}
fi
View keybase.md

Keybase proof

I hereby claim:

  • I am sabzil on github.
  • I am sabzil (https://keybase.io/sabzil) on keybase.
  • I have a public key ASAeYF-eGXgnxliQHgOGPcfg9jRYOlxdshQt-eSXbEBzdgo

To claim this, I am signing this object:

View main.go
package main
import (
"flag"
"fmt"
)
func main() {
var a *string = flag.String("a", "a", "a argument")
View display.go
package main
import "fmt"
const title string = "this is title"
func display() {
fmt.Println(title)
}
View parallel_test.go
package parallel
import (
"testing"
"time"
)
func TestFirst(t *testing.T) {
t.Parallel()
time.Sleep(2000)
View main.go
package main
import (
"fmt"
)
type Painter interface {
Draw()
}
View calc.go
// +build !windows
package calc
func Add(x, y int) int {
return x + y
}
@sabzil
sabzil / main.go
Created Mar 30, 2016
image sample
View main.go
package main
import (
"bufio"
"github.com/oliamb/cutter"
"image"
"image/png"
"os"
)
@sabzil
sabzil / main.go
Last active Dec 10, 2015
regexp 샘플
View main.go
package main
import (
"regexp"
"fmt"
)
func main() {
data := []byte("<![CDATA[&#47448;&#49457;&#47329;&#44284; &#51669;&#48708;&#47197; &#51060;&#50556;&#44592;]]")
regEx := regexp.MustCompile("&#(?<Value>[a-zA-Z0-9]{5});")
View base.go
package Some
type Driver interface {
Drive(from, to int)
}
func NewDriver() Driver {
return &Human{}
}
You can’t perform that action at this time.