Skip to content

Instantly share code, notes, and snippets.

View kittinunf's full-sized avatar

Kittinun Vantasin kittinunf

View GitHub Profile
{
"pagination":{
"total_pages":296,
"current_page":1,
"last_page":false,
"previous_page":null,
"next_page":2
},
"activities":[
{
BasedOnStyle: Chromium
AlignTrailingComments: true
BreakBeforeBraces: Attach
ColumnLimit: 0
IndentWidth: 4
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 2
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: true
ObjCBlockIndentWidth: 4
package main
import (
"fmt"
"strings"
)
func main() {
fmt.Println(customParseToFloat64("-12.345678"))
}
set nocompatible
" misc
set showcmd
set showmatch
" indentation
set autoindent
set smartindent
set expandtab
@kittinunf
kittinunf / gist:5772164
Created June 13, 2013 08:38
.gitconfig
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
@kittinunf
kittinunf / gist:5772139
Last active November 26, 2016 11:47
fkung's .bash_profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
[ -s "/Users/kittinun-vantasin/.scm_breeze/scm_breeze.sh" ] && source "/Users/kittinun-vantasin/.scm_breeze/scm_breeze.sh"
export ANDROID_HOME=~/Library/Android/sdk
export ANDROID_NDK=$ANDROID_HOME/ndk-bundle
PATH=/usr/local/sbin:/usr/local/bin:$ANDROID_HOME/platform-tools:$ANDROID_HOME/ndk-bundle:$PATH
alias stree='open -a SourceTree'