This file contains hidden or 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
| { | |
| name: "EVENT NAME", | |
| date: "2013-10-27", | |
| description: "this is event", | |
| place: { | |
| name: "Tokyo Ryutsu Center", | |
| latlng: "35,135", | |
| url: "url", | |
| map: "url", | |
| 4sq: "url" |
This file contains hidden or 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
| % brew install qt | |
| ==> Downloading http://download.qt-project.org/official_releases/qt/4.8/4.8.5/qt-everywhere-opensource-src-4.8.5.tar.gz | |
| ######################################################################## 100.0% | |
| ==> ./configure -prefix /usr/local/Cellar/qt/4.8.5 -system-zlib -confirm-license -opensource -nomake demos -nomake examples -cocoa | |
| ==> make | |
| clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
| make[3]: *** [../../../../../../lib/QtWebKit.framework/QtWebKit] Error 1 | |
| make[2]: *** [release] Error 2 | |
| make[1]: *** [sub-WebKit-qt-QtWebKit-pro-make_default-ordered] Error 2 | |
| make: *** [sub-webkit-make_default-ordered] Error 2 |
This file contains hidden or 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
| <%= link_to push_path, remote: true, method: :post, class: "btn" %> |
This file contains hidden or 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
| after "deploy", "deploy:notify_revision" | |
| namespace :deploy do | |
| task :notify_revision do | |
| user_name = `git config --global user.name`.gsub("\n", '') | |
| github_path = "https://github.com/asonas/asonas.jp/commit/#{current_revision}" | |
| body = "#{user_name} deployed a new version of plife (#{current_revision[0...8]}) #{github_path}" | |
| idobata_hook_url = "https://idobata.io/hook/xxxxx-xxxxx-xxxxx" # Room Settings > Manage hooks | |
| run "curl #{idobata_hook_url} -d 'body=#{body}'" | |
| end | |
| end |
This file contains hidden or 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
| #変態仮面 { | |
| position: relative; | |
| .pants { | |
| poaition: absolute; | |
| top: 0; | |
| left: 50%; | |
| } | |
| } |
This file contains hidden or 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
| class Arranger | |
| def initialize(capacity, file_path) | |
| @capacity = capacity | |
| @members = parse_members_text(file_path) | |
| @members.shuffle! | |
| end | |
| def decision | |
| @members.first(@capacity) |
This file contains hidden or 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
| オイーッス!俺もちろん | |
| いつでもどこだれでも瀕死 | |
| 生きてるだけで精一杯 | |
| ホントに人生いっぱいいっぱい | |
| いや〜しかしね〜 | |
| 眠いんだよ ほんとやれんよ | |
| チクチクタクタク時計が回って3時だ!2時だよ!もう朝だ〜! | |
| ドタバタ起きて 食パン咥えて玄関出たら、ワッ遅刻 | |
| このまま帰るか逃げよっか | |
| それでも追い続けてくる人生に少し疲れて一休みしたら出発 |
This file contains hidden or 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
| require 'digest/md5' | |
| (374403672525910000..374403672525910100).each do |i| | |
| if Digest::MD5.hexdigest(i.to_s) == "0d1a04da59c9f20f90808a37a8f56d6e" | |
| puts i | |
| end | |
| end |
This file contains hidden or 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
| 君とつくった僕の心にある異常 | |
| ドキドキするワクワクする | |
| あなたにだけわかるの | |
| 君に送った穴の空いた胸の電子を | |
| 心から引き出せる | |
| ???ストーリー |
This file contains hidden or 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
| <?php | |
| function empty?($ary) { | |
| var_dump(empty($ary)); | |
| } | |
| $ary = array(1,2,3); | |
| empty?($ary); // false |