Skip to content

Instantly share code, notes, and snippets.

@obfusk
obfusk / break.py
Last active May 1, 2024 20:32
python "breakpoint" (more or less equivalent to ruby's binding.pry); for a proper debugger, use https://docs.python.org/3/library/pdb.html
import code; code.interact(local=dict(globals(), **locals()))
@xslim
xslim / Gemfile
Created October 19, 2012 14:09
RSpec to test remote API
source :rubygems
group :test do
gem "rspec"
gem "remote_http_testing"
# Beautifying
gem 'awesome_print'
end
東京大学心青会 ホームカミングデイ企画
日時:2012 年 10 月 20 日(土)17:00 ~ 19:00
会場:東京大学 理学部 7 号館 地階 007 講義室
次第
17:00~ぐらい(それとなくスタート)
懇談会
※お飲物,おつまみを準備します
@mala
mala / gist:3128358
Created July 17, 2012 09:40
利用者の使っているフィルタリングソフトの基準に合わせて表示される広告にゾーニングを適用する法、及びその問題点について
https://twitter.com/bulkneets/status/224725678833147904
ってのを書いたわけだけど
元ネタは覚えてる人居ないかもしれないけど、ココらへんの話ねー
http://internet.watch.impress.co.jp/docs/news/20090728_305316.html
http://mixi.co.jp/press/2009/0727/1691/
で、後々、携帯電話会社とちゃんと連携して、契約者の年齢わかるようにした。
http://mixi.co.jp/press/2011/0119/4179/
module Maybe
class NullObject
def initialize
@origin = caller.first
end
def __null_origin__
@origin
end