Skip to content

Instantly share code, notes, and snippets.

View kakutani's full-sized avatar

Kakutani Shintaro kakutani

View GitHub Profile
@amatsuda
amatsuda / gist:942211
Last active September 25, 2015 15:18
KeyRemap4MacBookで右Shiftとか右Cmdを単発で叩いたらアンスコにするやつ
<?xml version="1.0"?>
<root>
<list>
<item>
<name>Handy Underscore</name>
<list>
<item>
<name>Command_R to Command_R</name>
<appendix>(+ When you type Command_R only, send Underscore)</appendix>
<identifier>remap.commandR2commandR_underscore</identifier>
@schacon
schacon / classy_git.md
Created November 12, 2010 20:48
RubyConf Talk
@mixin all-reset {
azimuth: center;
background: #fff;
border: none;
bottom: auto;
caption-side: top;
clear: none;
clip: auto;
color: #000;
content: '';

Jeremy Kemper's bio, as interpreted by me:

Jeremy Kemper is a former member of a regionally acclaimed dance group called "Sparkle Motion". After his ballet techniques were deemed to be "too controversial" for mainstream ballet, he joined a company called 37 signals. Now, when he isn't pirouetting through Rails internals or building web applications, you can find him doing extreme ballet in the streets of Brooklyn under the name "Periwinkle Thunderhorse".

# power_assert.rb
#
# Copyright (C) 2014 Kazuki Tsujimoto, All rights reserved.
# License: BSDL
#
# $ ruby power_assert.rb
# "0".class == "3".to_i.times.map {|i| i + 1 }.class
# | | | | |
# | | | | Array
# | | | [1, 2, 3]