This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| update | |
| tap phinze/cask || true | |
| install brew-cask | |
| install lua | |
| install zsh | |
| install vim --with-lua | |
| install autojump | |
| install tmux |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| # | |
| # concat.py | |
| # created by giginet on 2013/11/06 | |
| # | |
| import os | |
| import math | |
| from PIL import Image | |
| if __name__ == '__main__': |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import itertools | |
| print "Please input number of set" | |
| n = raw_input() | |
| n = int(n) | |
| for flags in itertools.product([0, 1], repeat=n): | |
| subset = [number + 1 for f, number in zip(flags, range(n)) if f == 1] | |
| print subset |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'tmpdir' | |
| PROJECT = 'AutomationTestDemo.xcodeproj' | |
| CONFIGURATION = 'DEBUG' | |
| APP_NAME = 'AutomationTestDemo.app' | |
| TMP_DIR = 'tmp' | |
| SPECS_DIR = 'specs/javascript' | |
| BUILD_DIR = 'build' | |
| task :default => [:clean, :build, :automation] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * OuyaController.cpp | |
| * | |
| * Created on: Jul 6, 2013 | |
| * Author: giginet | |
| */ | |
| #include "OuyaController.h" | |
| #include "platform/android/jni/JniHelper.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| # | |
| # icon-generator.py | |
| # created by giginet on 2013/04/15 | |
| # | |
| import sys | |
| import os | |
| from PIL import Image | |
| FILES = ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function concat(...) | |
| local args = { ... } | |
| local result = {} | |
| for i, t in ipairs(args) do | |
| for j, elem in ipairs(t) do | |
| table.insert(result, elem) | |
| end | |
| end | |
| return result | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| # | |
| # icon-generator.py | |
| # created by giginet on 2013/04/15 | |
| # | |
| import sys | |
| import os | |
| from PIL import Image | |
| FILES = ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // TestFlightWrapper.h | |
| // TestFlightWrapper | |
| // | |
| // Created by giginet on 2013/4/9. | |
| // | |
| // | |
| #ifndef __VOXCHRONICLE__TestFlightWrapper__ | |
| #define __VOXCHRONICLE__TestFlightWrapper__ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # snp.py | |
| # created by giginet on 2013/03/04 | |
| # | |
| import sys | |
| import os | |
| import ConfigParser | |
| from simplenote import Simplenote |