miyagawa naoyaさん、最近は結構ブログが活発になってきている感じですね。
naoya はいはい、そうですよね。
miyagawa なんか、心境の変化があったんですか。
naoya 心境の変化(笑)
miyagawa (笑)
naoya いやずっとドラクエしかしてなかったんですけど(笑)
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
#!/usr/bin/env ruby | |
# This script will take a look at the output from your rails application and print | |
# info about the number of selects, updates and inserts, as well as the slowest partials | |
# to render and the slowest selects. | |
# | |
# Usage... just pipe the output of your rails app or log to it: | |
# | |
# script/server | log_analyzer.rb | |
# or.. |
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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use Pod::Usage; | |
use Text::Markdown 'markdown'; | |
use HTML::TreeBuilder; | |
use List::Util 'max'; |
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
#!/usr/bin/env macruby | |
# | |
# MacRubyで画面グリッチをフルスクリーン表示する | |
# | |
# http://twitter.com/negipo/status/67572370247913473 | |
# | |
# ## Usage | |
# | |
# ./glitch.rb | |
# |
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
#!ruby | |
require 'rubygems' | |
require 'rbosa' | |
target_playlist = 'rounzi night' | |
OSA.utf8_strings = true | |
OSA::ObjectSpecifierList.extend Enumerable | |
itunes = OSA.app('iTunes') |
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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'sinatra/base' | |
require 'ruby-growl' | |
require 'launchy' | |
class GrowlServer < Sinatra::Base | |
set :port, 5678 |
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
// ==UserScript== | |
// @match *://theinterviews.jp/* | |
// ==/UserScript== | |
(function() { | |
var count = document.querySelector("#global_menu .count"); | |
if (count.innerText === "0") { | |
count.style.cssText = "background-color: gray;"; | |
} | |
})(); |
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 FooController < ApplicationController | |
caches_action :index | |
def index | |
render :text => Time.now | |
end | |
end |
RubyKaigi 2013 – great conference, but I probably wouldn’t go next year if I was a woman の内容の概略です。認識間違ってたら訂正するので @kyanny までご連絡ください。
It is a Japanese outline text of RubyKaigi 2013 – great conference, but I probably wouldn’t go next year if I was a woman. If you find any issues, please mention to @kyanny.
- RubyKaigi 2013 のあるプレゼン中に、発表者が「おまえらが来年台湾に来るべき理由: 女の子がかわいい」という発言をした (あくまで冗談、というニュアンスで)
- その発言に対する聴衆の反応は、拍手喝采・オオウケ、という感じだった。けどこれってまずくない?というのが元ブログの趣旨
- ブログの著者は、この発表者の発言そのものを問題視しているのではない (全く問題が無いと思っているわけでもないが、個人攻撃は望んでいないのであえて名指ししていない / 訳者も同感です)
- 聴衆はざっと見た感じ 95% くらいは男性で、ブログ著者は、「そういう男性ばかりの場で、女性の容姿に関する冗談に対し、そのような反応をしているのをその場に居合わせた女性が見たら、来年もまた来たいと思うのだろうか?」と言っている
storyboard上で、initial view controllerから他のview controllerに対してrelationshipを確立します。同様に、それらのview controllerから他のview controllerにrelationshipを確立します。最終的に、storyboard上のほとんど、あるいは全てのview controllerを一つのグラフに接続します。接続されたview controllerが、iOSによっていつインスタンス化されるかは、relationshipのタイプによって決まります。
OlderNewer