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
<?php | |
/* | |
@author: Andrew Horsman | |
@description: Grabs new content from Information Leak | |
@prerequisites: | |
Ubuntu 9.04+ (Notification Systray) | |
libnotify-bin (install via sudo apt-get install libnotify-bin) | |
Firefox (with an binary or symlink in /usr/bin) | |
PHP 5+ |
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 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<!-- The `DOCTYPE` is used to tell the browser what version of HTML it should use. --> | |
<!-- The `html` tag defines the root of the document, and various attributes. --> | |
<!-- Since HTML is based off XML markup, xml:lang and xmlns tell the browser certain things to follow. --> | |
<html lang="en-us" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> | |
<!-- The `head` tag contains meta-data about the page, information that helps the browser render our markup. --> | |
<head> | |
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
<html> - Tag. | |
lang="en-us" - attribute = value | |
Attributes and values go inside a tag right before the ending bracket (>) | |
<html lang="en-us"> |
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
# Conky Configuration File - Andrew Horsman - 08/09/2010 | |
alignment top_right | |
background yes | |
border_width 0 | |
cpu_avg_samples 2 | |
default_color #666 | |
default_outline_color #666 | |
default_shade_color #666 | |
draw_borders no |
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
#!/usr/bin/env ruby | |
require 'find' | |
require 'yaml' | |
formats = [ '.jpg' ] | |
current_iteration = 0 | |
print "Searching" |
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
<?php | |
/* | |
* @author: Andrew Horsman | |
* @description: Humans vs. Zombies Extractor | |
*/ | |
// Configuration, meh at a second config file. | |
$grabPage = 'http://www.hvzgatech.com/?page=killboard'; | |
$sqlServ = 'localhost'; |
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
#!/usr/bin/env ruby | |
# Tetris Planning | |
# Namespace container for the seven standard Tetrominoes. | |
module Tetrominoes | |
# Keep track of an X and Y value for a relative cartesian plane. | |
class Position < Struct.new(:x, :y) | |
end |
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
require 'sinatra' | |
get '/start/:vm' | |
`vboxmanage startvm #{params[:vm]}` | |
end |
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
" Vim configuration - Andrew Horsman [basicxman] | |
" Reference | |
" Surround Plugin: | |
" <Normal> cst - Change surrounding tag | |
" <Normal> dst - Delete surrounding tag | |
" Operating system dependent options | |
if has("win32") |
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
Andrew-Horsmans-iMac:wpilib basicxman$ diff WPILibNew/Relay.cpp WPILibOld/Relay.cpp | |
Andrew-Horsmans-iMac:wpilib basicxman$ diff WPILibNew/Relay.h WPILibOld/Relay.h | |
Andrew-Horsmans-iMac:wpilib basicxman$ | |
Andrew-Horsmans-iMac:wpilib basicxman$ diff WPILibNew/DigitalModule.cpp WPILibOld/DigitalModule.cpp | |
56c56 | |
< Resource::CreateResourceObject(&DO_PWMGenerators[SlotToIndex(m_slot)], tDIO::kNumDO_PWMDutyCycleElements); | |
--- | |
> Resource::CreateResourceObject(&DO_PWMGenerators[SlotToIndex(m_slot)], tDIO::kNumSystems * tDIO::kNumDO_PWMDutyCycleElements); |
OlderNewer