Skip to content

Instantly share code, notes, and snippets.


Norton Wang FloorLamp

  • Bangkok
View GitHub Profile
FloorLamp / 0xb097C3e1578A04Db757EAf7FA1f9F661E38E1498
Created Dec 1, 2017
View 0xb097C3e1578A04Db757EAf7FA1f9F661E38E1498
View gist:d74ec47004d81fad8029
Verifying that +norton is my Bitcoin username. You can send me #bitcoin here:

Keybase proof

I hereby claim:

  • I am FloorLamp on github.
  • I am wang ( on keybase.
  • I have a public key whose fingerprint is 51B6 BB4E E3AF 8F76 DCF5 FB96 07B6 40ED 7311 CADD

To claim this, I am signing this object:

View gist:6cfdf5416597b9e2dbb7
View sublime_settings
"bold_folder_labels": true,
"caret_style": "phase",
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
"fade_fold_buttons": false,
"font_face": "Consolas",
"font_size": 16,
"highlight_line": true,
"highlight_modified_tabs": true,
FloorLamp /
Created Jan 5, 2014
Foursquare data extraction
from collections import defaultdict
import datetime
import requests
import time
YEAR_BEGIN = int(time.mktime(,1,1).timetuple()))
YEAR_END = int(time.mktime(,1,1).timetuple()))
WEEK = int(time.mktime(,12,29).timetuple()))
View mac
defaults write -g AppleShowAllFiles -bool true
View .vimrc
set autoindent
set expandtab
set shiftwidth=4
set tabstop=4
set softtabstop=4
set backspace=indent,eol,start
set autoread
set ruler
set laststatus=2
set showcmd
View .bash_profile
# Git aliases
alias gs="git status -sb"
alias ga="git add"
alias gc="git commit -m"
alias gd="git diff"
alias gds="git diff --staged"
alias gl='git log --pretty=format:"%C(yellow)%h %Cgreen %an %x09 %Creset %s %Cblue (%cr)"'
alias gv="git branch -v"
# Logs
You can’t perform that action at this time.