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
#Step 1: Upgrade Packages | |
yum update | |
yum groupinstall "Development Tools" | |
#Step 2: Installing Recommended Packages | |
yum install gcc-c++ patch readline readline-devel zlib zlib-devel | |
yum install libyaml-devel libffi-devel openssl-devel make | |
yum install bzip2 autoconf automake libtool bison iconv-devel | |
#Step 3: Install RVM ( Ruby Version Manager ) |
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
sudo add-apt-repository ppa:jtaylor/keepass | |
sudo apt-get update | |
sudo apt-get install keepass2 |
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
# D-I config version 2.0 | |
default debian/7.4/amd64/boot-screens/vesamenu.c32 | |
prompt 1 | |
timeout 300 | |
menu title - Boop Menu - | |
label Debian-7.4 | |
menu label ^0 Debian 7.4 | |
#include debian/7.4/amd64/boot-screens/menu.cfg | |
kernel debian/7.4/amd64/linux |
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
# | |
#Generic Kickstart template for Ubuntu | |
#Platform: x86 and x86-64 | |
# | |
# Customized for Server 14.04 minimal vm install | |
# | |
# Usage: | |
# - Look through config for any changes you want to do. You may want to change | |
# the initial admin user. Currently username is ubuntu and password is | |
# ChangeMe. Also may want to change the list of installed packages. Tried to |
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
# Prompt | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
export PS1="\[\033[31;38m\]\u@\h\[\033[00m\]:\[\033[31;38m\]\w\[\033[1;31m\]\$(parse_git_branch)\[\033[00m\] " | |
# Editor | |
export GIT_EDITOR='nano -Y 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
var win = Ti.UI.createWindow({ backgroundColor: '#fff' }); | |
/** | |
* Adds "swipe" event support to Android, and adds swipe up and down to iOS. | |
* @param view The view that should be made swipeable. | |
* @param allowVertical Whether or not vertical swipes (up and down) are allowed; default is false. | |
* @param tolerance How much further you need to go in a particular direction before swipe is fired; default is 2. | |
*/ | |
function makeSwipeable(view, allowVertical, tolerance) { | |
tolerance = tolerance || 2; |
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
<?xml version='1.0' encoding='UTF-8'?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" | |
"http://www.apple.com/DTDs/PropertyList-1.0.dtd" > | |
<plist version='1.0'> | |
<dict> | |
<key>Label</key><string>org.macports.synergy</string> | |
<key>KeepAlive</key><true/> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/opt/local/bin/daemondo</string> |