This file contains hidden or 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
sudo apt-get update | |
# General development essentials | |
sudo apt-get install -y build-essential ssh git gitk | |
# Databases: You may not need all of these; | |
# none are explicit dependencies of other items in this script. | |
# SQLite and MySQL are pretty generally used for web development, | |
# and ODBC is just something we use at work. | |
sudo apt-get install -y sqlite |
This file contains hidden or 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
######################################### | |
## Prompt stylization and history sync ## | |
######################################### | |
bash_prompt_command() { | |
# Grab exit status of previous command | |
RTN=$? | |
prevCmd=$(prevCmd $RTN) | |
# Save and reload the history after each command finishes |
This file contains hidden or 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 | |
# INSTALL ORACLE INSTANT CLIENT # | |
################################# | |
# NOTE: Oracle requires at least 1176 MB of swap (or something around there). | |
# If you are using CentOS in a VMWare VM, there's a good chance that you don't have enough by default. | |
# If this describes you and you need to add more swap, see the | |
# "Adding a Swap File to a CentOS System" section, here: | |
# http://www.techotopia.com/index.php/Adding_and_Managing_CentOS_Swap_Space |
This file contains hidden or 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 | |
# Source: http://toomuchdata.com/2012/06/25/how-to-install-python-2-7-3-on-centos-6-2/ | |
# Install stuff # | |
################# | |
# Install development tools and some misc. necessary packages | |
yum -y groupinstall "Development tools" | |
yum -y install zlib-devel # gen'l reqs |
This file contains hidden or 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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
# This script walks all images in current directory and all of its subdirectories | |
# (and so on). Two copies of each image are made, one of the size specified | |
# by --large and one of the size specified by --thumb. The copies are saved in | |
# a subdirectory named according to size, adjacent to the original file. | |
# For example, given the following structure: | |
# | |
# my_images/ |
This file contains hidden or 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/sh | |
# install cabal-install if necessary | |
sudo pacman -S cabal-install | |
# preparing to install xmobar with all extensions | |
sudo pacman -S alex | |
yaourt haskell-language-c-03 | |
sudo cabal install --global c2hs | |
sudo cabal install --global alsa-mixer |
NewerOlder