- Scott Chacon on the Interwebs(リンク切れ)
- Scott Chacon on the Interwebs
- GitHub Flow - The best way to use Git and GitHub
31 Aug 2011
// See comments below. | |
// This code sample and justification brought to you by | |
// Isaac Z. Schlueter, aka isaacs | |
// standard style | |
var a = "ape", | |
b = "bat", | |
c = "cat", | |
d = "dog", |
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
// a ? b : c | |
if (typeof a !== "undefined" && a !== null) { | |
a; | |
} else { | |
({b: c}); | |
} | |
// if a then b else c | |
if (a) { | |
b; |
require "open3" | |
watch('(.*)\.coffee') do |md| | |
stdin, stdout, stderr = Open3.popen3("coffee -o dist/js/ -c #{md[0]}") | |
error_message = '' | |
unless stderr.eof? | |
error_message << stderr.to_a.join | |
end |
require "open3" | |
watch('(.*)\.haml') do |md| | |
stdin, stdout, stderr = Open3.popen3("haml #{md[0]}") | |
error_message = '' | |
unless stderr.eof? | |
error_message << stderr.to_a.join | |
end |
// © 2011 Artem Sapegin http://sapegin.ru | |
// Simple CSS3 properties with vendor prefixes | |
box-sizing() | |
-moz-box-sizing arguments | |
box-sizing arguments | |
box-shadow() | |
-webkit-box-shadow arguments |
みなさまRubyKaigiお疲れ様でしたー。素敵なKaigiに再会できてうれしかったです。 | |
RubyKaigiまわりで、同じ分野の問題提起が二つありましたねぇ。 | |
一つはKaigi中での、「台湾の女の子はKawaii、だからRubyKaigi Taiwanに来るべき」という発言、 | |
それを笑いで迎えた場内に対して、女性への配慮が足りないだろうという意見。 | |
https://gist.github.com/kyanny/5694201 | |
もう一つは、続くRubyHirobaでの、ポルノに関しての情報処理技術についてのLTがあったこと。 | |
(そして、実際にそれを聞いて傷ついた女性が存在し、問題が提起されました) | |
RubyhirobaはRubyKaigiとは独立した、せっかく東京にRubyistがたくさん居るんだから交流しよう!という、 | |
LTとWorkshopと交流の場を提供するイベントです。 |