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
<script src="console.js" runat="server"></script> | |
<script runat="server"> | |
console.log("Hello world!"); | |
console.info("And", "so", "on"); | |
</script> |
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
<!doctype html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> | |
<title>Form</title> | |
</head> | |
<body> | |
<div id="d"></div> | |
<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.1.0/prototype.js"></script> | |
<script src="http://markupfactory.com/includes/javascripts/src/mf/form.js"></script> |
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
" File: commonjs-package-json | |
" Author: Ash Berlin <ash.berlin@gmail.com> | |
" Last Change: 23-Feb-2010. | |
" Version: 1.1 | |
" Usage: | |
" | |
" Use by placing something like the following in your .vimrc: | |
" | |
" let g:maintainer='{ "name": "Ash Berlin", "web": "http://ashberlin.com" }' | |
" |
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 | |
# Make sure all components are using Kris Zyp's branches | |
APPS=~/apps | |
GCOKZ="git checkout kriszyp" | |
(cd $APPS/narwhal && echo -n `pwd`: && $GCOKZ) | |
(cd $APPS/jack && echo -n `pwd`: && $GCOKZ) |
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 | |
# Ping the Coralville router so the VPN tunnel stays up | |
ping -c 1 10.0.48.11 |
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 | |
~/Projects/diyseo/script/server -p 3000 & | |
~/Projects/diyseo/community_engine_silo/script/server -p 3001 & |
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
window.open(window.location.protocol+'//'+window.location.host+'/admin/'); |
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
size=`rsync --delete --delete-excluded -pthrv --exclude-from \ | |
/Users/paul/.backup/exclude /Users/paul/Documents/ \ | |
/Users/paul/Dropbox | egrep -o "total size is (.*)G" | egrep -o "[0-9\.]+"` | |
if [ "$size" = "" ]; then | |
size=0 | |
fi | |
if [ `echo "$size < 1.8" | bc` = 0 ]; then | |
echo "`date`: WARNING: Size is running out for Dropbox backups.\ | |
(Currently using ${size} GB.)" 1>&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
#! /bin/sh | |
# Author: Sean Garner <seanlgarner@gmail.com> | |
# | |
### BEGIN INIT INFO | |
# Provides: persevere | |
# Required-Start: $network $remote_fs | |
# Required-Stop: $network $remote_fs | |
# Default-Start: 3 5 | |
# Default-Stop: 0 1 2 6 | |
# Description: Start the live instance of Persevere |