Skip to content

Instantly share code, notes, and snippets.

He is not a human

hashrock hashrock

He is not a human
Block or report user

Report or block hashrock

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
View haxenのバグ.txt
* For Loopがぶっ壊れてる
* Serialiseがダメ
* haxenパッケージ実装する気あるの?
* enumのpublicいらん
* enumの要素末尾に;が抜けててエラーになる
* caseのbreakいらん
# Make sure using latest Homebrew
brew update
# Update already-installed formula (takes too much time, I will do it manually later)
# upgrade
# Add Repository
brew tap homebrew/versions || erue
brew tap caskroom/cask
brew tap homebrew/binary || true
git clone git:// ~/.vim_runtime
sh ~/.vim_runtime/
echo ":set encoding=utf-8" >> ~/.vimrc
echo ":set fileencodings=iso-2022-jp,euc-jp,sjis,utf-8" >> ~/.vimrc
echo ":set fileformats=unix,dos,mac" >> ~/.vimrc
hashrock / .gitignore
Created Aug 8, 2014
gitignore for webstorm
View .gitignore
## Directory-based project format
# and these sensitive or high-churn files:
## File-based project format
//Original :
//2015/01/28 add SetUp method
function doGet(e) {
var book = SpreadsheetApp.openById(PropertiesService.getScriptProperties().getProperty('active'));
var sheet = book.getSheets[0];
var json = convertSheet2JsonText(sheet);
return ContentService.createTextOutput(JSON.stringify(json)).setMimeType(ContentService.MimeType.JSON);
View config-partial.xml
<preference name="StatusBarOverlaysWebView" value="false" />
<preference name="DisallowOverscroll" value="true" />
<preference name="target-device" value="tablet" />
<preference name="webviewbounce" value="false" />
<preference name="ios-statusbarstyle" value="black-opaque" />
<gap:plugin name="org.apache.cordova.device" />
View gist:96c85b6ec5ca4329bd05
View permutation.js
// pure js version of
function perm(result, l, r, n){
if(n > 0){
r.forEach(function(item, i){
var rest = r.slice(0);
var e = rest.splice(i, 1);
perm(result, l.concat(e), rest, n - 1);
hashrock / pattern.js
Created May 11, 2015
JS study : pattern
View pattern.js
function generatePattern(result, nowList, chars, n){
if(n > 0){
generatePattern(result, nowList.concat(item), chars, n-1)
View gist:c35b5849c60e3bc8e22d
ul.sidemenu li a {
display: block;
.navbar .brand {
padding-top: 9px;
padding-bottom: 6px;
You can’t perform that action at this time.