- ぶつかり稽古
- 参加者のプロフィール
- http://www.cross-party.com/programs/butsukari/
- もずにおんくんがでる理由がわからないみたい
- ていうかPerlの会社集まりすぎだろ
- 公開されているソース
- もずにおんさんとyappoチーム
- はてな
- 参加者のプロフィール
- https://github.com/shibayu36/IdolVote
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 | |
# coding : utf-8 | |
require 'awesome_print' | |
require 'pry' | |
# このスクリプト以下のファイルを見つけたら、このディレクトリに配置する | |
# 重複を避けるためディレクトリの階層分の名前に変更してmvする | |
Dir.glob("./**/*").each do |fp| | |
next if FileTest.directory?(fp) |
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
# Created by https://www.gitignore.io/api/vim,ruby | |
### Vim ### | |
[._]*.s[a-w][a-z] | |
[._]s[a-w][a-z] | |
*.un~ | |
Session.vim | |
.netrwhist | |
*~ |
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 | |
# coding : utf-8 | |
# 参考 | |
# https://github.com/google/google-api-ruby-client | |
# https://github.com/google/google-api-ruby-client-samples/tree/master/adsense | |
# https://developers.google.com/api-client-library/ruby/guide/aaa_oauth | |
# http://blog.naberon.jp/post/2013/08/25/google-analytics-api/ | |
# こっちのモジュールも良さそう |
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
<div ng-repeat="(fIndex, f) in foos"> | |
<div> | |
<div ng-repeat="b in foos.bars"> | |
<a ng-click="addSomething(fIndex)">Add Something</a> | |
</div> | |
</div> | |
</div> |
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
<div ng-controller="myController"> | |
<div ng-repeat="f in forms"> | |
{{f}} | |
<input ng-model="data[f]" ng-keyup="doChange(f)"> | |
{{dataTimes[f]}} | |
</div> | |
</div> |
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
desc "Reserve a virgin in heaven", { | |
:notes => <<-NOTE | |
Virgins in heaven | |
----------------- | |
> A virgin doesn't come for free | |
If you want to reserve a virgin in heaven, you have to do | |
some crazy stuff on earth. |
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 -eu | |
DIR=$1 | |
echo "${DIR}を圧縮します。" | |
cp -rp ${DIR} ${DIR}_org | |
convmv -f utf8 --nfd -t utf8 --nfc -r --notest ${DIR}/* | |
convmv -f utf8 -t cp932 -r --notest ${DIR}/* | |
zip -9 -r ${DIR}.zip ${DIR} | |
zipcloak ${DIR} |
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
Host vagrant | |
HostName 127.0.0.1 | |
User vagrant | |
Port 2222 # ← これは変わる可能性がある |
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
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Attempt to mutate immutable object with insertString:atIndex:' |