search/tweets
では一週間以上前のツイートは検索できないので注意
search/universal
は公式のConsumerKey/ConsumerSecretでないと使用できない
当方では一切の責任を負いません
node.js でパスを取得する方法についてのメモ
$ node ~/hoge/Foo.js/a.js
を実行したときに、
process.argv[1]
から、node コマンドに指定された a.js のパス( ~/hoge/Foo.js/a.js
)を取得できます# | |
# Learn Vimscript the Hard Way - Echoing Messages | |
# http://learnvimscriptthehardway.stevelosh.com/chapters/01.html | |
# | |
echomsg string(obj) | |
:message | |
" |
# Vim本体の取得 | |
$ wget ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2 | |
$ bunzip2 vim-7.3.tar.bz | |
$ tar xf vim-7.3.tar | |
# 最新のパッチを取得 | |
$ cd vim73 | |
$ mkdir patches | |
$ cd patches | |
$ curl -O 'http://ftp.nluug.nl/vim/patches/7.3/7.3.[001-861]' |
(function (window) { | |
// This library re-implements setTimeout, setInterval, clearTimeout, clearInterval for iOS6. | |
// iOS6 suffers from a bug that kills timers that are created while a page is scrolling. | |
// This library fixes that problem by recreating timers after scrolling finishes (with interval correction). | |
// This code is released in the public domain. Do with it what you want, without limitations. I do not promise | |
// that it works, or that I will provide support (don't sue me). | |
// Author: rkorving@wizcorp.jp | |
var timeouts = {}; |
#!/bin/sh | |
if [ -z "$1" ]; then | |
echo Usage: $0 {config-file} | |
exit | |
fi | |
vim -N -u NONE -i NONE -V1 -e -s --cmd "source $1" --cmd NeoBundleInstall! --cmd qall! |
#Sass Snippets | |
snippet @i | |
@import "${1}"; | |
snippet ext | |
@extend ${1}; | |
snippet inc | |
@include ${1}(${2});${3} | |
snippet @m | |
@media ${1} { | |
${2} |