Skip to content

Instantly share code, notes, and snippets.

Ruud Seydel ruuts

Block or report user

Report or block ruuts

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ruuts
ruuts / 051_worker_upstart.config
Created Nov 15, 2016
Shoryuken worker daemon for Elastic Beanstalk
View 051_worker_upstart.config
files:
"/opt/elasticbeanstalk/support/conf/shoryuken.conf":
mode: "000755"
content: |
description "Elastic Beanstalk Shoryuken Upstart Manager"
start on runlevel [2345]
stop on runlevel [06]
# explained above
respawn
respawn limit 3 30
@ruuts
ruuts / translator.rake
Created Oct 20, 2014
i18n missing keys to gengo export/import
View translator.rake
namespace :translator do
desc "Export missing translations for a specific locale"
task :export_keys => :environment do
from = ENV['FROM']
to = ENV['TO']
if from.present? and to.present?
translator = Translator.new(
from: from.to_sym,
to: to.to_sym
)
You can’t perform that action at this time.