i18n_backend_database
Database Backend for Rails I18n
i18n_db_admin
Demo application including admin interface for Rails translations using i18n_db
| #!/usr/bin/env ruby | |
| #actually I just wanted to try forking a gist :D | |
| exit unless ARGV.size == 1 | |
| pids = %x[ps ax|grep #{ARGV[0]}|grep -v grep].split("\n").map{|line| line.strip.scan(/^\d+/).first.to_i} - [Process.pid] | |
| if pids.any? | |
| system "kill #{pids.join(' ')}" | |
| puts "killed #{pids.size} #{ARGV[0]} instance(s)" |
i18n_backend_database
Database Backend for Rails I18n
i18n_db_admin
Demo application including admin interface for Rails translations using i18n_db
| class MagickIdentify | |
| attr_reader :data | |
| def initialize(image_path) | |
| @image_path = image_path | |
| @data = {} | |
| execute_and_parse | |
| end | |
| def method_missing(method, *args) |
| # USAGE: | |
| # ruby -e "$(curl -fsSL https://raw.github.com/gist/1011972/2e6ac978bc06905f60e380b5fe5abbf898b3af0a)" <directory> | |
| # for example: | |
| # ruby -e "$(curl -fsSL https://raw.github.com/gist/1011972/2e6ac978bc06905f60e380b5fe5abbf898b3af0a)" . | |
| require 'rubygems' | |
| require 'yaml' | |
| YAML::ENGINE.yamler = 'psych' | |
| directory = ARGV[0] |
We've made some great progress in the past two weeks, thanks y'all!