Skip to content

Instantly share code, notes, and snippets.

View galch's full-sized avatar
🎯
Focusing

Steve Han galch

🎯
Focusing
View GitHub Profile
@galch
galch / gist:625a7c3a30c17d7f742c178f35b56b8e
Created May 16, 2016 06:06
raspberry pi setting localtime in command line
sudo cp /usr/share/zoneinfo/Asia/Seoul /etc/localtime
@galch
galch / rot13.go
Last active July 9, 2016 17:32
A Tour of Go - [Exercise : Rot13 Reader](http://tour.golang.org/#61) & [연습: Rot13 Reader](https://go-tour-kr.appspot.com/#61)
package main
import (
"io"
"os"
"strings"
)
type rot13Reader struct {
r io.Reader
@galch
galch / walker.go
Created July 10, 2016 16:34
A Tour of Go - [Exercise: Equivalent Binary Trees](https://tour.golang.org/concurrency/7) & [연습: 동등한 이진 트리](https://go-tour-kr.appspot.com/#70)
package main
import "code.google.com/p/go-tour/tree"
import "fmt"
type Tree struct {
Left *Tree
Value int
Right *Tree
}
@galch
galch / ssh key saving
Created July 13, 2016 09:22
linux/ubuntu ssh key saving
ssh-keygen
ssh-copy-id -i root@ip_address
@galch
galch / .vimrc
Created January 19, 2017 06:52
Vimrc
set number " line 표시를 해줍니다.
set ai " auto indent
set si " smart indent
set cindent " c style indent
set shiftwidth=4 " shift를 4칸으로 ( >, >>, <, << 등의 명령어)
set tabstop=4 " tab을 4칸으로
"set expandtab " tab 대신 띄어쓰기로
set ignorecase " 검색시 대소문자 구별하지않음
set hlsearch " 검색시 하이라이트(색상 강조)
set background=dark " 검정배경을 사용할 때, (이 색상에 맞춰 문법 하이라이트 색상이 달라집니다.)