- Java jre and jdk should be installed.
wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
# TODO: understand the differnce between using the -e and -x commands, both seem exchangeable till now | |
gnome-terminal -e 'firefox' | |
#TODO: add a way for multilines |
#my experience working with cmake errors | |
If a package wasn't found .. yet its installed | |
-open synaptic | |
-search for the package | |
-right-click and choose properties | |
-in installed directory or files section figure out where the libraries are | |
-u'll find some /*/*/*.so.## files, u'll need to copy them to their respective cmake options | |
-notes: | |
- some options may available only in the advanced window of ccmake . |
use one of the following ways | |
(1) make install DESTDIR="/some/absolute/path" | |
(2) make DESTDIR="/some/absolute/path" install | |
(3) DESTDIR="/some/absolute/path" make install | |
(4) export DESTDIR="/some/absolute/path | |
make install | |
till now i've discovered 2 ways, either changing the CMAKE_INSTALL_PREFIX or making/changing the DESTDIR env var |
#!/bin/bash | |
# --- | |
# @author newlido | |
# @version 0.1 | |
# | |
# HOWTO: | |
# ./myps.sh | |
# No options yet | |
# | |
# Notes: |
# add to ~/.bashrc | |
# add the bash function "gk" to act as a git and kompare | |
# Usage: gk COMMIT_HASH | |
# for the reference check: http://denis.tumblr.com/post/50507027/using-kompare-for-git-diffs | |
gk () { git diff $* | kompare - ; } |
# knowledge needed | |
# for looping check: http://www.cyberciti.biz/faq/bash-for-loop/ | |
# print format: http://linuxconfig.org/bash-printf-syntax-basics-with-examples | |
# operand pipelining: http://unix.stackexchange.com/questions/9597/giving-grep-output-to-rm | |
# uses this if formatting isn't important | |
# for V in {1..13}; do mkdir "my_num_folder_${V}"; done | |
# note $V_ is different from ${V}_ |
Dependencies | |
------------ | |
sudo apt-get update | |
## was requested but I already had it | |
sudo apt-get install build-essential | |
# installing node | |
sudo add-apt-repository -m ppa:chris-lea/node.js | |
# in case add-apt-repository wasn't found use $ sudo apt-get update |
[user] | |
email = MYEMAIL | |
name = My Name | |
[alias] | |
co = checkout | |
ci = commit | |
st = status | |
di = diff | |
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all |