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
// morseCodes[asciiCode - 32] | |
// Non-existend codes are represented by "" | |
String morseCodes[65] = { | |
" ", // 32 - [SPACE] | |
"-.-.--", // 33 - ! | |
".-..-.", // 34 - " | |
"", // 35 - # | |
"...-..-",// 36 - $ | |
"", // 37 - % |
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 | |
set -e | |
cd `dirname ${0}`/.. | |
VERSION=${1} | |
if [[ ! "${1}" ]]; then | |
echo "Choose on of [patch|minor|major]" | |
read -r -p "Version bump [patch]: " VERSION | |
fi | |
VERSION=${VERSION:-patch} |
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
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]:\[\033[00;95m\]$(git rev-parse --abbrev-ref HEAD 2>/dev/null || echo -)\[\033[00m\]\$ ' | |
export PS1 | |
alias la="ls -lah" | |
# Put me in `.bash_aliases`, works like an alias. | |
# See https://stackoverflow.com/a/7131683 | |
export DEFAULT_DOCKER_SERVICE=web | |
_docker() { | |
case "${1}" in |