Skip to content

Instantly share code, notes, and snippets.

View rrodrigu3z's full-sized avatar

Ricardo David Rodríguez rrodrigu3z

  • Sunlight
  • Santiago, Chile
View GitHub Profile
@rrodrigu3z
rrodrigu3z / 01_sidekiq_upstart.config
Last active December 18, 2019 14:56 — forked from ctrlaltdylan/01_sidekiq_upstart.config
EBextension for starting Sidekiq Process on Elasticbeanstalk
files:
"/opt/elasticbeanstalk/support/conf/sidekiq.conf":
mode: "000755"
content: |
description "Elastic Beanstalk Sidekiq Upstart Manager"
start on runlevel [2345]
stop on runlevel [06]
# explained above
respawn
respawn limit 3 30
@rrodrigu3z
rrodrigu3z / jenikns_ci_on_osx.md
Created May 15, 2016 22:24 — forked from ostinelli/jenkins_ci_on_osx.md
Setup Jenkins CI on OSX.

Jenkins CI on OSX

Instructions on how to setup a secured Jenkins CI on a Mac.

Download & Install dependencies

All of these operations are done with your admin user.

Developer tools

Install the command line developer tools.

@rrodrigu3z
rrodrigu3z / gist:1486441
Created December 16, 2011 15:24 — forked from retr0h/gist:68809
ActionMailer Timeouts
### lib/ruby_ext.rb
Net::SMTP.class_eval do
def initialize_with_timeouts(*args)
initialize_without_timeouts(*args)
@open_timeout = Emailer::OpenTimeout
@read_timeout = Emailer::ReadTimeout
end
alias_method_chain :initialize, :timeouts
end