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
steal.config({ | |
map: { | |
"*": { | |
"jquery/jquery.js" : "jquery" | |
} | |
}, | |
paths: { | |
"jquery": "jquery-1.10.2.min.js", | |
}, | |
shim : { |
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
(function(){ | |
'use strict'; | |
var digCounter = 0, | |
numberOfDigTries = 3, | |
bodyHeight = window.getComputedStyle(document.body).height; | |
var scroll = function(){ | |
window.scrollBy(0, 10000); |
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 - | |
############################################################################### | |
# | |
# About: Updates the crap out of an Ubuntu installation | |
# | |
############################################################################### | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
sudo apt-get dist-upgrade -y |
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
Show hidden characters
{ | |
"predef": [ | |
"_" | |
], | |
"bitwise" : true, | |
"camelcase" : true, | |
"curly": true, | |
"eqeqeq": true, | |
"forin": true, |
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 - | |
############################################################################### | |
# File: js-validation-git-pre-commit-hook.sh | |
# | |
# Description: Git pre-commit that checks your code for js errors before you commit it | |
# | |
# Prerequisites: jshint to install run: "npm install jshint -g" | |
# | |
# Instructions: Place this file in your project's .git/hooks renamed to "pre-commit" | |
# run: "chmod +x .git/hooks/pre-commit" |
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
#Initial setup | |
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm | |
yum -y update | |
yum -y install git-core | |
#Install Java Compiler | |
cd /tmp | |
echo "" | wget -O jdk-6u22-linux-x64.bin http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u22-linux-x64.bin?BundledLineItemUUID=XW6J_hCvhl0AAAEr0jwpG98G&OrderID=1HeJ_hCvMU4AAAErxzwpG98G&ProductID=w9aJ_hCw9PAAAAErNFJuIQy3&FileName=/jdk-6u22-linux-x64.bin | |
echo "" | /bin/sh jdk-6u22-linux-x64.bin | |
mv jdk1.6.0_22/ /opt |
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
(function() { | |
var loadScript = function(url){ | |
var script = document.createElement('script'); | |
script.src = url; | |
script.type = 'text/javascript'; | |
document.getElementsByTagName("HEAD")[0].appendChild(script); | |
}; |
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
##################################################################################################################################### | |
# Irssi template | |
# By: John Tregoning | |
# Note: Nothing fancy, just changed a few things I didn't that I didn't like from the default theme. | |
# | |
# **Initial Setup Tips:** | |
# | |
# /NETWORK ADD -nick tregoning -realname "John Tregoning" -autosendcmd "/^msg NickServ identify MY-PASSWORD-GOES-HERE;" Freenode | |
# | |
# /SERVER ADD -auto -network Freenode irc.freenode.net 6667 |
NewerOlder