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 id="scoreboard"> | |
<div class="title"> | |
<?php= $numhosts ?> | |
</div> | |
<div class="subtitle"> | |
DHCP Addresses<br> | |
Are Still Left<br> | |
ON BOCOUP-EVENTS | |
</div> | |
</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
#! /bin/bash | |
# description: search a directory for a string, output filenames and context | |
# usage: fstring /tmp/whatever mysearch | |
# example: fstring ./ hello (search current directory for string "hello" | |
# better example: | |
# sfitchet@crunchbang:/tmp/myapp$ fstring ./ array_slice |
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
.message { | |
margin-bottom:10px; | |
padding:10px; | |
font-size:12px; | |
background-color:#eee; | |
border:1px solid #ccc; | |
} | |
.bad { | |
background-color:#fcc; |
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
<p type="B" id="911" x="93.56" y="117.43" des="Ball" sv_id="100511_231400" | |
start_speed="93.0" end_speed="87.1" sz_top="3.33" sz_bot="1.61" pfx_x="-3.34" | |
pfx_z="8.35" px="0.272" pz="3.667" x0="-1.472" y0="50.0" z0="6.497" vx0="5.906" | |
vy0="-136.155" vz0="-4.703" ax="-6.39" ay="24.181" az="-16.104" break_y="23.9" | |
break_angle="17.6" break_length="3.7" pitch_type="FF" type_confidence=".828" | |
zone="12" nasty="59" spin_dir="201.683" spin_rate="1842.723" cc=""/> |
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
// hi ben | |
function start() { | |
var Hf, | |
i, | |
start, | |
If, | |
Jf; | |
if (!Gf()) { | |
aa.writeln(""); | |
aa.writeln("Your browser does not support the W3C Typed Arrays and this version of JS/Linux needs them.\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
#/bin/sh | |
# quick hack to automate local user bleeding-edge chromium build installs | |
# how do you like to call this program? (chrome-linux, chrome, chromium, google-chrome?) | |
APPNAME="chromium" | |
# get the latest build number (JSON) | |
VERSION=$(wget -qO- http://build.chromium.org/f/chromium/snapshots/Linux/LATEST) | |
# get some extra metadata to display on the command line | |
LOGURL="http://build.chromium.org/f/chromium/snapshots/Linux/"$VERSION"/REVISIONS" |
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 | |
# I use this (optional) file to make the font larger for presentations - Cowboy | |
echo -n "Modifying fonts..." | |
find "$1" \( -name devTools.css \) \ | |
-exec sh -c 'cat >> $1 <<EOF | |
/* Added on `date` */ | |
body.platform-mac.platform-mac-snowleopard .monospace, |
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
The American lobster urinates not from some posterior region of | |
its body, but directly out the front of its face. Two bladders | |
inside the head hold copious amounts of urine, which the lobster | |
squirts through a pair of muscular nozzles beneath its antennae. | |
These powerful streams mix with the gill outflow and are carried | |
some five feet ahead of the lobster in its plume ... What the | |
researchers discovered during the ensuing fights was that dueling | |
lobsters accompanied their most punishing blows during combat by | |
intense squirts of piss at the opponent's face. What was more, in | |
scenes akin to a showdown at the OK Corral, the winner of the |
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
// cfdump.js demo | |
var http = require('http'); | |
var dump = require('cfdump').dump; | |
var port = 1337; | |
var host = "localhost"; | |
var defaultMimeType = "text/html"; | |
function listener(request, response) { | |
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
// An attempt to simplify the basic node starter script. | |
// USAGE: node demo.js | |
var http = require('http'); | |
function listener(request, response) { | |
console.log('URI: ' + request.url); | |
response.writeHead(200, {'Content-Type': 'text/plain'}); | |
response.end('Hello, World\n'); | |
} |