Instance | Branch |
---|
Installs ruby-2.0.0-p0 on ubuntu via checkinstall so it's in your package manager and you can remove it.
Quick install:
curl -L https://gist.github.com/ngauthier/5039249/raw/1868bf4714052b40e2bb7fdf3f40fbeb5d730bca/ruby-2-install-ubuntu.sh | bash -s
This is a list of useful commands for git for fast search and ops developers, enjoy and comments for suggest all welcomes :D
Public repo .tar for download versions: https://www.kernel.org/pub/software/scm/git/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LOCK FILE +, UNLOCK - chattr -i /etc/httpd/conf/httpd.conf | |
NETWORKING | |
ifconfig eth0 up | |
history | grep ifconfig | |
ifconfig eth0:1 <ip> | |
tracert <domain> | |
watch "echo stats | nc 127.0.0.1 11211" | |
dig <domain> ANY +noall +answer | |
netstat -a [listening ports] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* * ** | |
* | |
* This script converts an existing MySQL database to migrations in Laravel 4. | |
* | |
* 1. Place this file inside app/controllers/ | |
* | |
* 2. In this file, edit the index() method to customize this script to your needs. | |
* - inside $migrate->ignore(), you pass in an array of table |