Skip to content

Instantly share code, notes, and snippets.

Rodrigo R Aquino Rodrigora

Block or report user

Report or block Rodrigora

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
@zentetsukenz
zentetsukenz / ruby_on_rails_deployment.md
Last active Nov 12, 2019
Deploy Ruby on Rails application with Docker Compose and Capistrano with ease
View ruby_on_rails_deployment.md

Docker

Files and Folders.

|
|\_ app
|...
|\_ docker
| |
@frewcat
frewcat / nginx
Created Aug 26, 2014
nginx - init.d
View nginx
#!/bin/sh
#
# nginx - this script starts and stops the nginx daemon
#
# chkconfig: - 85 15
# description: Nginx is an HTTP(S) server, HTTP(S) reverse \
# proxy and IMAP/POP3 proxy server
# processname: nginx
# config: /usr/local/nginx/conf/nginx.conf
# pidfile: /var/run/nginx.pid
@staltz
staltz / introrx.md
Last active Nov 13, 2019
The introduction to Reactive Programming you've been missing
View introrx.md
@sponomarev
sponomarev / command.sh
Created Nov 9, 2013
Remove iTerm2 icon from Dock
View command.sh
# remove
/usr/libexec/PlistBuddy -c 'Add :LSUIElement bool true' /Applications/iTerm.app/Contents/Info.plist
# restore
/usr/libexec/PlistBuddy -c 'Delete :LSUIElement' /Applications/iTerm.app/Contents/Info.plist
@trcarden
trcarden / gist:3295935
Created Aug 8, 2012
Rails 3.2.7 SSL Localhost (no red warnings, no apache config)
View gist:3295935
# SSL self signed localhost for rails start to finish, no red warnings.
# 1) Create your private key (any password will do, we remove it below)
$ openssl genrsa -des3 -out server.orig.key 2048
# 2) Remove the password
$ openssl rsa -in server.orig.key -out server.key
View 1.eloquent_ruby_basics.markdown

Chapter 1. Basics

Ruby style programming was built on two simple ideas:

  1. Code must be crystal clear
  2. Code must be concise

Example:

You can’t perform that action at this time.