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 branch -d obsolete_branch | |
git push origin --delete obsolete_branch |
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 push origin previous_name:new_name | |
git branch new_name origin/new_name | |
# http://stackoverflow.com/a/3790682/341929 |
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
[IMCloud (hotfix_<id>)]$ git checkout develop | |
[IMCloud (develop)]$ git pull origin develop | |
[IMCloud (develop)]$ git pull origin hotfix_<id> | |
< If there are any conflicts, solve them and: > | |
[IMCloud (develop|MERGING)]$ git add <files to be committed> | |
< Commit changes introduced by solving conflicts > | |
[IMCloud (develop|MERGING)]$ git commit -m "Pulling from branch hotfix_<id>" | |
[IMCloud (develop)]$ git push origin develop | |
[IMCloud (develop)]$ git checkout test |
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
#! /bin/sh | |
# vim /etc/init.d/db2.sh | |
# chmod 744 /etc/init.d/db2.sh | |
# ln /etc/init.d/db2.sh /etc/rc3.d/db2.sh | |
for i in `/opt/ibm/db2/V10.1/bin/db2ilist`; | |
do | |
su - $i -c "db2start" | |
su - $i -c 'db2ts "START FOR TEXT"' |
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
have_library: checking for SQLConnect() in -ldb2... -------------------- no | |
"gcc -o conftest -I/Users/marius/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/x86_64-darwin11.2.0 -I/Users/marius/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward -I/Users/marius/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I. -I/opt/IBM/db2/V9.5/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long -fno-common -pipe conftest.c -L. -L/Users/marius/.rvm/rubies/ruby-1.9.2-p290/lib -L/opt/IBM/db2/V9.5/lib32 -L. -lruby.1.9.1-static -lpthread -ldl -lobjc " | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: int main() {return 0;} | |
/* end */ |
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
Installing ibm_db (2.5.9) with native extensions | |
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. | |
/Users/marius/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb | |
creating gil_release_version | |
creating unicode_support_version | |
checking for SQLConnect() in -ldb2... no | |
checking for SQLConnect() in -ldb2... no | |
*** extconf.rb failed *** | |
Could not create Makefile due to some reason, probably lack of |
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
rvm --rvmrc --create use 1.9.2-p290@uxolo |
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
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) |
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
[Suiram (master)]$ gem uninstall rake -v 0.9 | |
ERROR: While executing gem ... (Gem::InstallError) | |
cannot uninstall, check `gem list -d rake` | |
[Suiram (master)]$ which rake | |
/home/marius/.rvm/gems/ruby-1.9.2-p180@global/bin/rake | |
[Suiram (master)]$ rvm use 1.9.2-p180@suiram --default | |
Using /home/marius/.rvm/gems/ruby-1.9.2-p180 with gemset suiram | |
[Suiram (master)]$ which rake | |
/home/marius/.rvm/gems/ruby-1.9.2-p180@global/bin/rake | |
[Suiram (master)]$ which rails |
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
#!/bin/sh | |
export JDK_HOME=/usr/lib/jvm/java-6-sun | |
cd /home/marius/.RubyMine31/bin | |
exec ./rubymine.sh |