This file contains 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
* For Loopがぶっ壊れてる | |
* Serialiseがダメ | |
* haxenパッケージ実装する気あるの? | |
* enumのpublicいらん | |
* enumの要素末尾に;が抜けててエラーになる | |
* caseのbreakいらん | |
This file contains 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
# 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 |
This file contains 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
git clone git://github.com/amix/vimrc.git ~/.vim_runtime | |
sh ~/.vim_runtime/install_awesome_vimrc.sh | |
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 |
This file contains 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
## Directory-based project format | |
.idea/workspace.xml | |
.idea/tasks.xml | |
# and these sensitive or high-churn files: | |
.idea/dataSources.ids | |
.idea/dataSources.xml | |
.idea/sqlDataSources.xml | |
.idea/dynamic.xml | |
## File-based project format |
This file contains 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
//Original : https://gist.github.com/daichan4649/8877801#file-convertsheet2jsontext-gs | |
//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); | |
} |
This file contains 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
<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" /> |
This file contains 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
http://meteortips.com/tutorial/twitter-login-provider/ | |
This file contains 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
// https://blog.svpino.com/2015/05/08/solution-to-problem-5-and-some-other-thoughts-about-this-type-of-questions | |
function generatePattern(result, nowList, chars, n){ | |
if(n > 0){ | |
chars.forEach(function(item){ | |
generatePattern(result, nowList.concat(item), chars, n-1) | |
}) | |
}else{ | |
result.push(nowList); | |
} |
This file contains 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
// pure js version of http://qiita.com/higuma/items/5af4e62bdf4df42ce673 | |
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); | |
}) | |
}else{ |
This file contains 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
//リストは全体がclickableであるべき | |
ul.sidemenu li a { | |
display: block; | |
} | |
//ロゴずれてる | |
.navbar .brand { | |
padding-top: 9px; | |
padding-bottom: 6px; |
OlderNewer