This file contains hidden or 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
sudo apt-get install python-software-properties python g++ make | |
sudo add-apt-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get install nodejs nodejs-dev npm |
This file contains hidden or 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
* 861866e (HEAD, tag: v1.2.0, origin/master, origin/HEAD, master) feature-d merged into master; resolves #5 | |
|\ | |
| * bb5a0c1 adding Feature D | |
|/ | |
* e43c9f0 bug-a merged into master; resolves #4 | |
|\ | |
| * 8f782bd fixing bug A | |
|/ | |
* c2f9fe1 feature-c merged into master; resolves #3 | |
|\ |
This file contains hidden or 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
curl -L https://get.rvm.io | sudo bash -s stable | |
sudo usermod -a -G rvm lukea | |
# Terminal > Edit > Profile Preferences > Title and Command > Run command as a login shell | |
# logout | |
# login | |
rvm list known | |
rvm install 1.9.3 | |
rvm use 1.9.3 --default |
This file contains hidden or 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
git co -b feature-forwardport bugs | |
git rebase -p --onto minor $HASH feature-forwardport | |
git close -d -r $PULL_REQUEST_ID minor | |
git push origin minor |
This file contains hidden or 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
<MrAlanSir> right what whealer says seems portable | |
<MrAlanSir> so you 1) git co -b feature-forwardport bugs | |
<MrAlanSir> This makes the feature-forwardport branch at the end of the bugs branch | |
<MrAlanSir> Then you 2) git rebase --onto minor $hash feature-forwardport | |
<MrAlanSir> And to find $hash you look at git lg and find the start of what you consider to be the stuff you want | |
<MrAlanSir> which is probably going to be the last-tagged minor version since that's where bugs branches are based | |
<MrAlanSir> but you might already have some bugs forward-ported so that's not universally true | |
<MrAlanSir> Then you'll have a feature-forwardport branch containing all the bugfix commits | |
<MrAlanSir> and it'll be based on minor | |
<MrAlanSir> throw a -p into that rebase to keep the lumps |
This file contains hidden or 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
21000! | |
Fuel\Core\Database_Exception [ 21000 ]: SQLSTATE[21000]: Cardinality violation: 1241 Operand should contain 1 column(s) with query: "SELECT * FROM `sessions` WHERE `session_id` = ('c63d2f600257e36a254875f39b67b566', '02b361970430331152f27f0aae1785f3', '7bffeaaadb74ac6dc719b47cffd7ac32', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95 Safari/537.11', 1354730073, 1354730248)" | |
COREPATH/classes/database/pdo/connection.php @ line 175 |
This file contains hidden or 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
# lol redhat | |
su | |
# Install deps | |
yum install libyaml libyaml-devel openssl libxml2-devel bison libxslt-devel openssl-devel tcl tk libffi tcl-devel tk-devel libffi-devel | |
# Download Ruby | |
cd /usr/local/src/ | |
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz | |
tar -xvzf ruby-1.9.3-p392.tar.gz |
This file contains hidden or 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
<?xml version="1.0" ?> | |
<project default="default" basedir="."> | |
<target name="default" depends="load.properties, sass" /> | |
<target name="load.properties"> | |
<echo>-- Initialize Variables</echo> | |
<!-- Hopefully the line below is the only one you need to change --> | |
<property name="template.path" value="public/assets/templates/PUT-YOUR-TEMPLATE-FOLDER-NAME-HERE" /> |
This file contains hidden or 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
mysqldump -h server -u user -p database_name --single-transaction | pv | mysql -h other_server other_database |
This file contains hidden or 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
yum install gcc-c++ make openssl-devel python26 | |
cd /usr/local/src/ | |
wget http://nodejs.org/dist/v0.10.28/node-v0.10.28.tar.gz | |
tar zxvf node-v0.10.28.tar.gz | |
cd node-v0.10.28/ | |
export PYTHON=/usr/bin/python26 | |
$PYTHON ./configure | |
make | |
make install |