Skip to content

Instantly share code, notes, and snippets.

View sanemat's full-sized avatar
🍢

Matt Murahashi Kenichi sanemat

🍢
View GitHub Profile
1) FibonacciTest::testHundred
100のときすごいおおきいこと
Failed asserting that <double:3.5422484817926E+20> matches expected <double:3.5422484817926E+20>.
/home/sane/work/kata-fibonacci-phpunit/FibonacciTest.php:33
FAILURES!
@sanemat
sanemat / gist:755292
Created December 26, 2010 07:53
rvm get head
$ rvm get head
fail: Unrecognized command line argument: 'get' ( see: 'rvm usage' )
@sanemat
sanemat / gist:759826
Created December 30, 2010 14:12
p5-app-adventcalendar patch
From fe0fe46138c9eadfc2ff43e141e5d2f5f09086da Mon Sep 17 00:00:00 2001
From: sanemat <o.gata.ken@gmail.com>
Date: Thu, 30 Dec 2010 23:08:34 +0900
Subject: [PATCH] 2010-12-02.txt is exist. 2010-12-20.txt will be not exist.
---
t/01_path.t | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/01_path.t b/t/01_path.t
@sanemat
sanemat / gist:787087
Created January 19, 2011 23:11
all rubygems update
gem update `gem list | cut -d ' ' -f 1`
@sanemat
sanemat / gist:787102
Created January 19, 2011 23:26
ssl error on using gist
$ gist < iconfile.txt
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
http://www.flickr.com/photos/public-domain-image/3367918178/sizes/l/
curl https://github.com/rduplain/gist/raw/6553d8e3cdffce6fcc1fdf3865d39c37d8323aea/gist > gist && chmod +x gist && mv gist ~/bin/.
@sanemat
sanemat / gist:787167
Created January 20, 2011 00:17
curl incrimental number
curl -O http://vintagelovelies.com/content/cabinet/goddess/images/goddess_[01-08]_[01-15].jpg
@sanemat
sanemat / gist:792167
Created January 23, 2011 16:04
ditz init failed
$ ditz init
/home/sane/.rvm/gems/ruby-1.9.2-p136/gems/ohac-ditz-0.5.2/bin/ditz:7: warning: variable $KCODE is no longer effective; ignored
Project name (enter for work): foobar
Issues can be tracked across the project as a whole, or the project can be
split into components, and issues tracked separately for each component.
Track issues separately for different components? (y/n): y
Current components:
None!
--> Working on https://github.com/dann/gitz/tarball/master
Fetching https://github.com/dann/gitz/tarball/master ... FAIL
! Download https://github.com/dann/gitz/tarball/master failed. Retrying ...
! Download https://github.com/dann/gitz/tarball/master failed. Retrying ...
! Download https://github.com/dann/gitz/tarball/master failed. Retrying ...
! Failed to download https://github.com/dann/gitz/tarball/master
! Failed to fetch distribution