Skip to content

Instantly share code, notes, and snippets.

View Rafailong's full-sized avatar
🤠

ravila Rafailong

🤠
  • Mexico
View GitHub Profile
@Rafailong
Rafailong / gist:7812836
Created December 5, 2013 20:00
uninstall rvm in Mac OS X
rm -rf .rvm*
#Next you’ll want to remove the following line from your .bash_profile
[text]
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
[/text]
#You’ll then want to remove the /etc/rvmrc file as this has some information about the RVM install in your /home folder
[bash]
@Rafailong
Rafailong / gist:7698565
Created November 28, 2013 21:48
Nginx Config: Front-End Reverse Proxy to Another Port
# NGINX configuration
# System configuration ##################
worker_processes 3;
events {
worker_connections 1024;
}
user nobody;
# Web configuration #####################
@Rafailong
Rafailong / Pods
Created July 4, 2013 21:42
iOS Pods file Bolierplate
platform :ios, "6.0"
pod 'JSONKit'
pod 'AFAbstractRESTClient'
pod 'SDWebImage'
pod 'SWRevealViewController'
@Rafailong
Rafailong / jquery.plugin.template.js
Created December 6, 2012 05:37
jQuery plugin template.
(function ($) {
$.fn.pluginName = function (options) {
if (this.length > 1) {
this.each(function () { $(this).pluginName(options); });
return this;
}
/*
private variables
var x = ...