Skip to content

Instantly share code, notes, and snippets.

@kky
kky / makeapp.sh
Created June 25, 2015 19:41
Make OSX app from url
#!/bin/sh
echo "What should the Application be called (no spaces allowed e.g. GCal)?"
read inputline
name=$inputline
echo "What is the url (e.g. https://www.google.com/calendar/render)?"
read inputline
url=$inputline
@kky
kky / .bash_profile.mortar
Created October 31, 2013 19:48
Mortar-branded and easy-to-read terminal settings. Suitable for demos, screencasts, and everyday use!
# prompts adapted from:
# http://beckism.com/2009/02/better_bash_prompt/
# http://www.ibm.com/developerworks/linux/library/l-tip-prompt/
############# GREEN;BLACK;BOLD <UNDERSCORES> NEWLINE GRAY;BLACK,BOLD USER HOST DIR NEWLINE WHITE BLACK BOLD MAGIC-END
export PS1="\[\e[32;40;1m\]________________________________________________________________________________\n\[\e[30;40;1m\]\u@\h:\w\n => \[\e[37;40;1m\]\[\e[0m\]"
# FOR WRAPPING LINES
export PS2="\[\e[37;40;1m\] => \[\e[0m\]"