Skip to content

Instantly share code, notes, and snippets.

View GregGallant's full-sized avatar
🌎
Building...

Greg Gallant GregGallant

🌎
Building...
View GitHub Profile
@joshfinley
joshfinley / ubuntu-15.04-customized-setup.sh
Last active November 17, 2023 20:55
Since I frequently break my Linux installs by poking and prodding at different things, I've decided it's time to create a script that can take an out-of-the-box Ubuntu installation and set it up to my liking. Currently, if I run this script on a fresh install of ubuntu, it works, and the memory usage comes out at an average of 105 mb.
#!/bin/bash
# !WARNING! This script does extreme things to Unity. In fact it annihilates it. If you wish to
# run this script, please just give it a once over before you do so. This way, you'll understand
# what it is actually doing and may be prepared for the results.
# A script to setup Ubuntu the way I like it.
# Also its advisable to start this from a seperate tty. Ya know, because this script breaks things :)
# Update Repositories and install new versions of current packages
@magoon
magoon / gist:6258317
Created August 17, 2013 19:11
Bash alias to change dir to a subdirectory containing a known file
#
# Usage: cdf style.css
#
# Add to your ~/.bash_profile and then source ~/.bash_profile
#
# If you were in ~/somedir, this could cd ~/somedir/docroot/styles/ if it contained style.css
#
alias cdf=cdfilefunc