-*- org -*-
This file contains 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
lsbom /var/db/receipts/com.apple.pkg.DeveloperToolsCLI.bom | awk '{print $1}' | xargs -s 2048 tar cvf /tmp/hoge.tar |
This file contains 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
[alias] | |
l = log --date=short --pretty=format:\"%h\t%an\t%ai %s\" | |
s = status | |
d = diff | |
a = add | |
b = branch | |
c = commit | |
co = checkout |
This file contains 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
# Yosemite 用 MacPorts をインストール | |
MacPorts-2.3.3-10.10-Yosemite.pkg | |
# Yosemite 用 command line tools をインストール | |
xcode-select --install | |
port outdated | |
# ... | |
# => zlib 1.2.8_0 < 1.2.8_0 (platform darwin 12 != darwin 14) |
This file contains 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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title>date picker</title> | |
<link rel="stylesheet" href="pikaday.css"> | |
<link rel="stylesheet" href="site.css"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css"> |
This file contains 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
def fizzbuzz | |
Enumerator.new do |y| | |
i = 1 | |
loop do | |
y << case | |
when i % 15 == 0 then "FizzBuzz" | |
when i % 5 == 0 then "Buzz" | |
when i % 3 == 0 then "Fizz" | |
else i | |
end |
This file contains 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
kintsuba_sweets: | |
hosted_by_en: 'Kintsuba Sweets (#kintsuba)' | |
hosted_by_ja: 'きんつばスイーツの会 (#kintsuba)' | |
name_en: 'Kintsuba Sweets' | |
name_ja: 'きんつばスイーツの会' | |
dtstart: '2011-07-02 13:30' | |
dtend: '2011-07-02 17:30' | |
url: 'https://gist.github.com/1043321' | |
location: 'Seika-cho, Kyoto, JAPAN' |
This file contains 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
# -*- ruby -*- | |
require 'rubygems' | |
require 'irb/completion' | |
IRB.conf[:SAVE_HISTORY] = 65535 | |
IRB.conf[:AUTO_INDENT] = true | |
def ri(keywd = '') | |
print `ri #{keywd}` | |
end |
This file contains 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
(setq skk-rom-kana-rule-list | |
'(("hh" "h" ("ッ" . "っ")) | |
("mm" "m" ("ン" . "ん")) | |
(";" nil (";" . ";")) | |
(":" nil (":" . ":")) | |
("?" nil ("?" . "?")))) |
OlderNewer