Skip to content

Instantly share code, notes, and snippets.

Norton Wang FloorLamp

Block or report user

Report or block FloorLamp

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
@FloorLamp
FloorLamp / foursquare_extract.py
Created Jan 5, 2014
Foursquare data extraction
View foursquare_extract.py
from collections import defaultdict
import datetime
import requests
import time
CHECKINS_API = 'https://api.foursquare.com/v2/users/self/checkins'
CATEGORIES_API = 'https://api.foursquare.com/v2/venues/categories'
YEAR_BEGIN = int(time.mktime(datetime.date(2013,1,1).timetuple()))
YEAR_END = int(time.mktime(datetime.date(2014,1,1).timetuple()))
WEEK = int(time.mktime(datetime.date(2013,12,29).timetuple()))
@FloorLamp
FloorLamp / 0xb097C3e1578A04Db757EAf7FA1f9F661E38E1498
Created Dec 1, 2017
0xb097C3e1578A04Db757EAf7FA1f9F661E38E1498
View 0xb097C3e1578A04Db757EAf7FA1f9F661E38E1498
0xb097C3e1578A04Db757EAf7FA1f9F661E38E1498
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,
"ignored_packages":
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
View gist:d74ec47004d81fad8029
Verifying that +norton is my Bitcoin username. You can send me #bitcoin here: https://onename.io/norton
View keybase.md

Keybase proof

I hereby claim:

  • I am FloorLamp on github.
  • I am wang (https://keybase.io/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
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future
You can’t perform that action at this time.