Skip to content

Instantly share code, notes, and snippets.

@ql-owo-lp
Last active September 12, 2016 07:35
Show Gist options
  • Save ql-owo-lp/86d9a20d1f5f132e14f0c49398a6756c to your computer and use it in GitHub Desktop.
Save ql-owo-lp/86d9a20d1f5f132e14f0c49398a6756c to your computer and use it in GitHub Desktop.
ODL environment setup
[push]
default = simple
[alias]
ci = commit
co = checkout
cp = cherry-pick
st = status
ps = push
pl = pull
br = branch
mg = merge
rw = review
rb = rebase
[core]
editor = vim
#!/bin/bash
# this file should be put in /etc/profile.d
alias ide='/home/vyatta/idea-IC/bin/idea.sh >/tmp/idea.err 2>&1 &'
alias chrome='google-chrome >/tmp/google-chrome.err 2>&1 &'
alias ps_aux_karaf='ps aux | grep karaf'
alias g="git"
alias mvn_skip_tests="mvn clean install -DskipTests"
alias mvn_skip_tests_checkstyle="mvn clean install -DskipTests -Dcheckstyle.skip"
alias odl_start='/opt/odl/bin/start'
alias odl_stop='/opt/odl/bin/stop'
alias odl_client='/opt/odl/bin/client -u karaf'
alias odl_karaf='/opt/odl/bin/karaf'
alias odl_log='tail -f /opt/odl/data/log/karaf.log'
alias odl_log_clean='rm /opt/odl/data/log/karaf.log.* && echo > /opt/odl/data/log/karaf.log'
alias odl_log_edit='vi /opt/odl/data/log/karaf.log'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment