- Scott Chacon on the Interwebs(リンク切れ)
- Scott Chacon on the Interwebs
- GitHub Flow - The best way to use Git and GitHub
31 Aug 2011
| int val = 0; | |
| void setup(){ | |
| //シリアル通信開始 | |
| Serial.begin(9600); | |
| pinMode(13,OUTPUT); | |
| } | |
| void loop(){ | |
| //データが0個より多いときの時 |
| Common subdirectories: elastic-mapreduce-ruby/amazon and elastic-mapreduce-ruby-multiple-jobconf/amazon | |
| diff -cN elastic-mapreduce-ruby/commands.rb elastic-mapreduce-ruby-multiple-jobconf/commands.rb | |
| *** elastic-mapreduce-ruby/commands.rb 2011-02-14 14:35:14.000000000 +0900 | |
| --- elastic-mapreduce-ruby-multiple-jobconf/commands.rb 2011-02-23 10:01:37.000000000 +0900 | |
| *************** | |
| *** 525,531 **** | |
| end | |
| for jc in get_field(:jobconf, []) do | |
| ! stream_options << "-jobconf" << jc |
| #!/usr/bin/env macruby | |
| # | |
| # MacRubyで画面グリッチをフルスクリーン表示する | |
| # | |
| # http://twitter.com/negipo/status/67572370247913473 | |
| # | |
| # ## Usage | |
| # | |
| # ./glitch.rb | |
| # |
| #!/usr/bin/env ruby | |
| require 'xmlrpc/client' | |
| require 'uri' | |
| require 'open-uri' | |
| require 'rubygems' | |
| require 'nokogiri' | |
| class MC | |
| def self.associate(wordlist) | |
| server = XMLRPC::Client.new('d.hatena.ne.jp', '/xmlrpc') |
| >-------------------------------------------------------------------------- | |
| >- | |
| >- http://blizzardkite.sakura.ne.jp/streamingplayer/ | |
| >- http://sites.google.com/site/scriptstuffstyle/download | |
| >- から作成 | |
| >- | |
| >- feezch.infoで使用. | |
| >- バグってるパターンがあれば直したりしてます. | |
| >- | |
| >------------------------------------------------------------------------- |
| <?xml version="1.0" encoding="UTF-8" ?> | |
| <rss xmlns:itunes="http://www.itunes.com/DTDs/Podcast-1.0.dtd" version="2.0"> | |
| <channel> | |
| <title>PodTest</title> | |
| <link>http://example.com/</link> | |
| <pubDate>{{ 'now' | date('r') }}</pubDate> | |
| <language>ja</language> | |
| <description>ぽどきゃすと</description> | |
| <itunes:author>さくせいしたひと</itunes:author> | |
| {% for feed in feeds %} |
| require 'mechanize' | |
| require 'pit' | |
| config = Pit.get("keiojp",:require => { | |
| "account" => "Your keio.jp account", | |
| "password" => "Your keio.jp password" | |
| }) | |
| @agent = Mechanize.new |
Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist.
Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).