-
左のエリアのアレ切り替え
Cmd + [0-7] -
右のエリアのアレ切り替え
Cmd + Option + [0-2] -
右のエリアのアレ切り替えその二
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
#!/bin/bash | |
# place this shell script to | |
# ./ | |
# ├── bin/ | |
# │ └── ibdesignable-workaround.sh | |
# └── YourGreatApp.xcodeproj | |
set -euo pipefail |
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
#!/usr/bin/env ruby | |
require 'Twitter' | |
require 'yaml' | |
class Ofuton | |
def self.load_yaml(yaml_path) | |
base_directory = File.dirname(File.expand_path(__FILE__)) | |
YAML.load_file(base_directory + '/' + yaml_path) | |
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
#!/usr/bin/env bash | |
set -x # tell sh to display commands before execution | |
test -s "$HOME/.gemrc" && cat "$HOME/.gemrc" | |
test -s "$HOME/.bundle/config" && cat "$HOME/.bundle/config" | |
VERSIONS=("2.3.0" "2.3.3" "2.5.0" "2.5.1" "2.5.2" "2.5.3" "2.5.4" "2.5.5" "2.6.0" "2.6.1" "2.6.2") |
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
メンテナンス性の高い iOS アプリを書こう | |
下書きの殴り書き | |
あとで清書してタイトル釣り気味にしつつ、書き出しの序文で「これ読んで「知らなかった!」「勉強になる」とかコメント付けたりはてブする人間とは一緒に仕事出来る気がしない」みたいな煽り文句付けたい | |
--- | |
ググれ | |
でも情報にノイズが多い | |
日本語のブログ記事みたいなの、はてブ系や自分のハンドルネームのドメインで運用してるもの以外、アメブロとかそういうのに書いてるのは信用しない方がいい場合が多い |
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
#!/bin/bash | |
SJIS_HTMLS=`find . -type f -name "*.htm*"` | |
for SJIS_HTML in $SJIS_HTMLS; do | |
echo $SJIS_HTML | |
mv $SJIS_HTML "${SJIS_HTML}_bak" | |
nkf -w8 "${SJIS_HTML}_bak" >> $SJIS_HTML | |
done |
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
2013-06-17 03:39:58.199 isEqualTest[42330:c07] arr1 -> 0x75899c0 | |
2013-06-17 03:39:58.200 isEqualTest[42330:c07] arr2 -> 0x7589a40 | |
2013-06-17 03:39:58.200 isEqualTest[42330:c07] == -> 0 | |
2013-06-17 03:39:58.201 isEqualTest[42330:c07] isEqual -> 1 | |
2013-06-17 03:39:58.201 isEqualTest[42330:c07] isEqualToArray -> 1 |
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
#!/bin/bash | |
curl -s "http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=$1&page=1&count=20" | xmllint --format - | grep "<text>" | sed -e 's/<[^>]*>//g' | tr -d ' ' |
Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
NewerOlder