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
find . -type d -name .svn | xargs rm -rf |
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
git clone git://github.com/creationix/nvm.git ~/.nvm | |
source ~/.nvm/nvm.sh | |
nvm alias default v0.4.1 | |
# write down in .bashrc | |
[[ -s "$HOME/.nvm/nvm.sh" ]] && . "$HOME/.nvm/nvm.sh" |
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
sudo cp /etc/init.d/memcached /etc/init./memcached_2 | |
※DAEMON,DAEMONBOOTSTRAP,NAME,DESC | |
sudo cp /etc/memcached.conf /etc/init./memcached_2.conf | |
※logfile,port,memory | |
sudo cp /usr/share/memcached/script/start-memcached /usr/share/memcached/script/start-memcached_2 |
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
*1294593604*[scheme][TheLittleSchemer]Y Combinatorのお話 | |
The Little Scheme 9章の Y Combinator クリアしたのでぺっ | |
>|scheme| | |
(define add1 | |
(lambda (n) | |
(+ n 1))) | |
(define eternity | |
(lambda (x) | |
(eternity x))) |
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
*1293976922*[C言語]C言語のポインタ | |
理解でけへん訳じゃないんだが使う機会がないので忘れてまうので復習。(使わないなら必要ない...? | |
**演算子 | |
演算子の意味がよく分からなくなるので。 | |
>|c| | |
int a; /* int型変数宣言 */ | |
int* pa; /* int型へのポインタ型 */ | |
a = 100; /* a => 100 */ | |
pa = &a; /* *pa => 100 */ | |
*pa = 200; /* a,*pa => 200 */ |
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
# in the address bar | |
about:flags | |
# toggle enable or disable button of native client |
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
@geekpage:DNSの勉強が終わりそうにない。。。確定申告の〆切も近づく。。。あと、あれもこれも、、、詰まってるなぁ。。。 | |
@mdaisuke:http://t.co/HYgTmlo | |
@mdaisuke:焼畑農業をやめるために---新卒準備カレンダー 2011春 - 西尾泰和のはてなダイアリー http://htn.to/yuczuQ | |
@mdaisuke:Webアプリケーションエンジニアに知っていて欲しいインフラの知識 - blog.nomadscafe.jp http://htn.to/gSsH6J | |
@mdaisuke:ほしい / NTTドコモ回線7.2Mbps(※1)/ 転送量無制限+公衆無線LAN 4,000箇所=2,980円の高速無線サービス「DTI ハイブリッドモバイルプラン」を本日より募集開始 http://htn.to/h3t67y | |
@mdaisuke:人生をつまらない物にしてしまう人の4つの思考 http://htn.to/tKXFRe | |
@syuu1228:"Haskellに堪能である必要はありませんが,Lisperの方とのコミュニケ ーションを身振り手振りでも構いませんので積極的にとって頂ける方も歓迎" http://bit.ly/gvWN5o | |
@syuu1228:「俺がオープンソースだ」「研究しなイカ?」「僕と契約して博士課程になってよ!」http://www.ci.i.u-tokyo.ac.jp/~sasada/joke-intro.html | |
@ishii_mit:『尊敬し過ぎてはいけない。越えられなくなるから。』北大恩師の言葉。その言葉を、未踏峰連山という「未来の山系」に迷い込んだ若人に贈る。 http://bit.ly/h8HxUi | |
@sugyan:[shibuya.js][勉強会] / 僕がShibuya.jsに参加してきたたったひとつの理由 - As a Futurist... http://htn.to/SveepN |
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 'pp' | |
require 'net/http' | |
require 'uri' | |
file = URI.parse('http://webtool.fizsoft.net/tepco/list.txt') | |
result = Net::HTTP.get(file.host,file.path) | |
pp result |
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
#include <stdio.h> | |
int main() | |
{ | |
float fl=3.14; | |
printf("%.2f\n", fl); | |
return 0; | |
} | |
#include <iostream> | |
int 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
inoremap { {}<LEFT> | |
inoremap [ []<LEFT> | |
inoremap ( ()<LEFT> | |
inoremap ' ''<LEFT> | |
inoremap " ""<LEFT> |