Skip to content

Instantly share code, notes, and snippets.

View coderkan's full-sized avatar
🏠
Working from home

Erkan Güzeler coderkan

🏠
Working from home
View GitHub Profile
@coderkan
coderkan / db2commons.sql
Last active April 3, 2018 08:43
DB2 Common Commands
--Connect a database
db2 connect to SRCDB user username using password
--Copy a schema(_area_) from db1 to db2
db2move db1 COPY -sn _area_ -co TARGET_DB db2 USER username USING password
--Copy a schmea(SCHM1) to another db --> DSTDB and different name SCHM2
db2move SRCDB COPY -sn SCHM1 -co target_db DSTDB schema_map "((SCHM1,SCHM2))" -u userid -p password
db2move <dbname> COPY -co <COPY- options> -u <userid> -p <password>
@coderkan
coderkan / jekyll-installation.sh
Created December 19, 2017 07:50 — forked from bast/jekyll-installation-arch.sh
Jekyll installation on Arch Linux.
sudo pacman -S ruby
gem update --user-install
gem install jekyll --user-install
gem install jekyll-paginate --user-install
gem install pygments.rb --user-install
echo "export PATH=/home/bast/.gem/ruby/2.3.0/bin:\$PATH" >> ~/.localrc