Skip to content

Instantly share code, notes, and snippets.

Avatar

Terence Lee hone

View GitHub Profile
@unak
unak / history.txt
Last active Sep 25, 2019
The History of Ruby
View history.txt
* Only the releases of the stable versions are listed in principle. The releases of the unstable versions especially considered to be important are indicated as "not stable."
* The branches used as the source of each releases are specified, and the branching timing of them are also shown. BTW, before subversionizing of the repository, the term called "trunk" was not used, but this list uses it in order to avoid confusion.
* In order to show a historical backdrop, big conferences (RubyKaigi, RubyConf and Euruko) are also listed. About the venues of such conferences, general English notations are adopted, in my hope.
* ruby_1_8_7 branch was recut from v1_8_7 tag after the 1.8.7 release because of an accident.
* 1.2.1 release was canceled once, and the 2nd release called "repack" was performed. Although there were other examples similar to this, since the re-releases were performed during the same day, it does not write clearly in particular.
* Since 1.0 was released with the date in large quantities, the mi
@hone
hone / gist:1228013
Created Sep 20, 2011
Bundler 1.2 Roadmap
View gist:1228013
1. Remove Index#use
2. Separate Definition/DSL concerns
3. Move Source#run_hooks into RubyGemsIntegration
4. bundle issues command (posts a gist of the stuff in ISSUES)
5. Get specs passing on JRuby and RBX
6. ruby version check
7. git clone --shallow 1 in bundler, during autoclean mode
8. allow git/path for the same gem: http://www.cowboycoded.com/2010/08/10/using-2-sources-for-a-gem-in-different-environments-with-bundler/
@hone
hone / gist:1228009
Created Sep 20, 2011
Bundle Install Flow Path
View gist:1228009
bundle install
CLI#install
Bundler.root
SharedHelpers#default_gemfile
Bundler.definition
Bundler.default_gemfile
Bundler.default_lockfile
Definition.build
DSL.evaluate
Definition.new
@hone
hone / newrelic.yml
Created Jun 1, 2011
New Relic config for Cedar
View newrelic.yml
---
<%= ENV["RAILS_ENV"] %>:
error_collector:
capture_source: true
enabled: true
ignore_errors: ActionController::RoutingError
apdex_t: 0.5
ssl: false
monitor_mode: true
license_key: <%= ENV["NEW_RELIC_LICENSE_KEY"] %>
View screenshot.sh
#!/bin/sh
scrot $@ /tmp/screenshot.jpg
imgur2 < /tmp/screenshot.jpg
rm /tmp/screenshot.jpg
@hone
hone / gist:731249
Created Dec 7, 2010
heroku_status_irc_bot.rb
View gist:731249
require 'rubygems'
require 'bundler'
Bundler.setup
require 'cinch'
require 'feedzirra'
bot = Cinch::Bot.new do
configure do |c|
c.server = "irc.freenode.org"
c.channels = ["#norbauer"]
View for hassox
➜ ~ bundle gem hassox
create hassox/Gemfile
create hassox/Rakefile
create hassox/.gitignore
create hassox/hassox.gemspec
create hassox/lib/hassox.rb
create hassox/lib/hassox/version.rb
Initializating git repo in /Users/atmos/hassox
➜ ~ cd hassox
➜ hassox git:(master) ✗ git add .
View Gemfile
source "http://rubygems.org"
gem "sinatra"
unless ENV.has_key?('SSH_CLIENT')
group :development do
gem "mongrel"
end
end
You can’t perform that action at this time.