Skip to content

Instantly share code, notes, and snippets.

View colehocking's full-sized avatar

Cole Hocking colehocking

  • Colorado
View GitHub Profile
@colehocking
colehocking / tuxwtf
Created December 10, 2017 13:52
Make a penguin say weird things
#!/bin/bash
# This tiny script outputs Github commit messages into the speech bubble of Tux ascii art
# The commit messages are curl'd from whatthecommit.com
# You need the cowsay application
# Check with: `which cowsay`
# Install with: `sudo apt-get install cowsay`
MSG=$(curl -s whatthecommit.com/index.txt)
@colehocking
colehocking / .bash_aliases
Last active December 19, 2019 20:02
Some good bash aliases
alias c='clear'
alias f='thunar' #or applicable file manager
alias tlist='tmux list-sessions'
alias sbrc='source ~/.bashrc'
alias s='sudo'
@colehocking
colehocking / .bash_profile
Last active October 5, 2018 17:54
Bash profile for OSX
# CCH - Bash Profile Settings #
# user@hostname:where<ex.~>$
export PS1="\e[1;33m\u@\h:\e[1;36m\w\e[0m\$ "
# colors
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
alias c='clear'