Overview of common Java building bricks used in various corporate settings. (However, just because it is often used does not necessarily mean that it is useful or good!)
This file contains 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
[alias] | |
ll = log --reverse --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(dim cyan)<%an>%Creset' --date=relative --abbrev-commit | |
cmp = difftool HEAD^ HEAD | |
add-feature = merge --squash | |
update-branches = remote update origin --prune | |
[core] | |
editor = vim | |
pager = less -RS | |
[user] |
This file contains 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/bash | |
if [ $UID -ne 0 ]; then | |
echo "Root Permissons required!" | |
sudo $0 | |
exit $? | |
fi | |
TMP_DIR="/home/bt/tmp" | |
CURRENT_VERSION="$(atom --version | awk '/Atom/ { printf "%s", $3 }')" | |
wget -q https://github.com/atom/atom/releases/latest -O /tmp/latest |
This file contains 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
[Unit] | |
Description=SimpleMonitor Service see: https://jamesoff.github.io/simplemonitor | |
After=syslog.target | |
[Service] | |
Type=simple | |
User=monitoring | |
Group=monitoring | |
WorkingDirectory=/opt/simplemonitor/ | |
ExecStart=/opt/simplemonitor/monitor.py |
This file contains 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
# VARS | |
VIM_PATH="/usr/bin/vim" | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac | |
# BASH HISTORY |
This file contains 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
"--------------------------- | |
" Basic Settings | |
"--------------------------- | |
set nu | |
syntax on | |
colorscheme elflord | |
set mouse= | |
set ttymouse= |