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
application = { | |
content = { | |
width = 320, | |
height = 480, | |
scale = "letterBox", | |
fps = 30, | |
}, | |
notification = { | |
iphone = { |
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
-r turnip/rspec |
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
$ bundle outdated | |
Updating git://github.com/byroot/rails3_acts_as_paranoid | |
Fetching gem metadata from https://rubygems.org/....... | |
Resolving dependencies... | |
Outdated gems included in the bundle: | |
* acts_as_paranoid (0.4.2 > 0.4.1 4265d9f) | |
* aws-sdk (1.29.0 > 1.11.1) | |
* devise (3.2.2 > 3.2.0) | |
* geokit (1.7.1 > 1.6.7) |
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
group :development do | |
gem 'rails-footnotes', git: 'git://github.com/tommireinikainen/rails-footnotes.git' | |
end |
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
require 'open-uri' | |
auth_token = 'AUTH_TOKEN' | |
room_id = 'ROOM_ID' | |
from = 'Engine Yard' | |
color = 'purple' | |
notify = 1 | |
message = "#{deployed_by} deployed a new version of #{app}: #{environment_name} (#{revision[0...6]})." | |
`curl -d "auth_token=#{auth_token}&room_id=#{room_id}&from=#{from}&color=#{color}¬ify=#{notify}&message=#{message}" https://api.hipchat.com/v1/rooms/message` |
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
-- 0〜1 | |
math.random() | |
---> 0.61073766677209 | |
-- 0〜10 | |
math.random() * 10 | |
---> 8.1230520494855 | |
-- 1〜10 | |
math.random(1, 9) + math.random() |
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
class PiyoPiyo | |
end |
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
# ----------------------- # | |
# 3rd Party Settings # | |
# ----------------------- # | |
# Disqus Comments | |
disqus_short_name: scrabblenote | |
disqus_show_comment_count: false |
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
$ rake new_post[test] | |
Creating new post: source/_posts/2012-03-29-test.markdown |
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
$ rake generate | |
## Generating Site with Jekyll | |
unchanged sass/screen.scss | |
Configuration from /Users/y-hirasawa/Projects/rails/fakestarbaby.github.com/_config.yml | |
Building site: source -> public | |
Successfully generated site: source -> public |