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
#!/bin/bash | |
USERNAME="yourusername" | |
PASSWORD="yourpass" | |
TARGET=$1 | |
repeat() { | |
# repeat <n> <command> | |
n=$1 | |
shift |
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
// ==UserScript== | |
// @name Spotify album links to youfm.org links | |
// @namespace http://omgmog.net | |
// @description Turns spotify:album: links into youfm.org links | |
// @include * | |
// @version 1.0 | |
// ==/UserScript== | |
function get_anchors(){ | |
var anchors = new Array(); |
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
#!/bin/sh | |
if [ $UID -ne 0 ]; then | |
echo "Script must run as root" | |
exit 1 | |
fi | |
/Library/Application\ Support/Blackberry/BBLaunchAgent.app -ndefault /Applications/BlackBerry\ Desktop\ Manager.app >> /dev/null | |
rm -fr "/Applications/BlackBerry Desktop Manager.app" | |
rm -fr "/Library/Receipts/blackberrydesktopmanager.pkg" | |
rm -fr /Users/*"/Library/Application Support/BlackBerryDesktop/" | |
rm -f /Users/*"/Library/Preferences/com.rim.blackberrydesktopmanager.plist" |
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
https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/Linux/IE8_Win7/IE8.Win7.For.LinuxVirtualBox.part1.sfx | |
https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/Linux/IE8_Win7/IE8.Win7.For.LinuxVirtualBox.part2.rar | |
https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/Linux/IE8_Win7/IE8.Win7.For.LinuxVirtualBox.part3.rar | |
https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/Linux/IE8_Win7/IE8.Win7.For.LinuxVirtualBox.part4.rar | |
https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/Linux/IE8_Win7/IE8.Win7.For.LinuxVirtualBox.part5.rar | |
https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/Linux/IE8_Win7/IE8.Win7.For.LinuxVirtualBox.part6.rar | |
https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/Linux/IE9_Win7/IE9.Win7.For.LinuxVirtualBox.part1.sfx | |
https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/Linux/IE9_Win7/IE9.Win7.For.LinuxVirtualBox.part2.rar | |
https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/Linux/IE9_Win7/IE9.Win7.For.LinuxVirtualBox.part3.ra |
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
<div class="stackify"> | |
<img src="http://placehold.it/200x200" /> | |
</div> |
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
RewriteEngine On | |
RewriteCond %{HTTP_HOST} !^www\. | |
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] |
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 makeconf { | |
primary=${1} | |
conffile="${conf}/${primary}.conf" | |
echo "<VirtualHost *:80>" >> "${conffile}" | |
echo " Servername ${primary}" >> "${conffile}" | |
echo " ServerAlias www.${primary}" >> "${conffile}" | |
shift | |
for i; do | |
cat >> "${conffile}" <<EOL | |
ServerAlias ${i} |
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
www=/srv/www | |
conf=/etc/apache2/sites-enabled | |
alias ra='/etc/init.d/apache2 restart' | |
alias ownit='chown -R www-data:www-data .' | |
function makeconf { | |
primary=${1} | |
conffile="${conf}/${primary}.conf" | |
site_path="/srv/www/${primary}" | |
mkdir -p ${site_path} |
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() { | |
var $el = $('.parallax-background'); | |
$(window).on('scroll', function () { | |
var scroll = $(document).scrollTop(); | |
$el.css({ | |
'background-position':'50% '+(-.4*scroll)+'px' | |
}); | |
}); | |
}); |
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
{ | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Monokai Extended/Monokai Extended.tmTheme", | |
"fade_fold_buttons": false, | |
"fold_buttons": false, | |
"folder_exclude_patterns": | |
[ | |
".git", | |
".bundle", | |
".sass-cache", |