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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyq42m6txbfjiOh85J3UMpwuDw8X7LLeoT8zKM4bugAcZd9cxRf4wOBukRbmNg4y793QbzrRuhNeohMj4EmpCiHzVcqN9wrAG96AMWINbC9z417PBNJN0A8LCE23RGLpMW5qyKcuklGr8n0l9DxLRulZSCBGpXKxdGRzPs07q+A+MTQ/1Gh6rd3UgHPlH/Gp6TuFSxsZSNK14wpb2bnUQPv6UzsHL3IFQsDNrQ55VrR8KC0Xx7T5NVH16a+XXia67hSZnq79II5BJHUbPi0cSUK1iuTFjIM9yfn5pNPi8Q5BgU1DHn6dVRMBjLYvprxHDF5dPm2xA5URZYAf0nyGbj farleyknight@Farleys-MacBook-Air.local |
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
license: gpl-3.0 |
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
# Usage: | |
# ruby latex_server.rb | |
# | |
# Try: <img src="http://localhost:4567/\cos \frac{\pi}{2} = 0"> | |
# Get: A nice looking png of: cos(pi/2) = 0 | |
# | |
# Bug1: Ellipses (...) don't work. Probably the way urls are parsed | |
# b |
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
source 'https://rubygems.org' | |
gem 'rails', '3.2.9' | |
# Postgres Database | |
gem 'pg' | |
# Twitter API | |
gem 'twitter' |
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
# | |
# First install Java 7 from Oracle | |
# | |
apt-get update | |
apt-get install python-software-properties | |
add-apt-repository ppa:webupd8team/java | |
apt-get update | |
apt-get install oracle-java7-installer |
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
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h\[\033[35m\][$(uname)]\[\033[33;1m\]\w\[\033[m\]\n$ " |
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
# Includes Operating System name from `uname` | |
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h\[\033[35m\][$(uname)]\[\033[33;1m\]\w\[\033[m\]\n$ " |
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
;;;; Add a reasonable load path | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
(add-to-list 'load-path "~/.emacs.d/lisp") | |
;;;; Save desktop session | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; (desktop-save-mode 1) | |
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
$(document).ready(function() { | |
$.fn.carousel.defaults = { | |
interval: false, | |
pause: 'hover' | |
}; | |
}); |
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
(function($){ | |
$.support.selectstart = "onselectstart" in document.createElement( "div" ); | |
$.fn.disableSelection = function(){ | |
return this.bind( ( $.support.selectstart ? "selectstart" : "mousedown" ) + | |
".disableSelection", function( event ) { | |
event.preventDefault(); | |
}); | |
}; | |
$.fn.enableSelection = function(){ |
NewerOlder