Skip to content

Instantly share code, notes, and snippets.

View kirbysayshi's full-sized avatar

Drew Petersen kirbysayshi

View GitHub Profile
@kirbysayshi
kirbysayshi / gist:133260
Created June 20, 2009 20:03
Structured data describing the attributes and physical characteristics of a Colonial Viper MKII from BSG.
<?xml version="1.0" encoding="iso-8859-1"?>
<ship name="Colonial Viper MkII" short="Viper MkII">
<comments>
physical values are in Meters
firerate is ms between shots per cannon
the number of firepods must match the count
order is the order in which the pods will fire if set to alternate-single fire mode
offsets are where the actual shot is created from, ie: the end of the barre
offsets are from the center middle back of the craft, facing forward, in meters
-x is left, +x is right, -y is up, +y is down, -z is behind, +z is into the screen
<?php
$_SERVER['REMOTE_USER'] = 'yournetidhere';
package com.kirbySaysHi.collisions
{
import org.papervision3d.core.math.AxisAlignedBoundingBox;
import org.papervision3d.core.math.Number3D;
import org.papervision3d.core.math.Plane3D;
public class PV3DSegmentIntersectDetector
{
private static var _lastIntersect:Number3D = new Number3D();
private static const EPSILON:Number = 0.000001;
(bespinclient)RadioFree:bespinclient drew$ paver start
---> pavement.start
---> pavement.start
/Users/drew/HG/bespinclient/lib/python2.6/site-packages/path.py:32: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import sys, warnings, os, fnmatch, glob, shutil, codecs, md5
/Users/drew/HG/bespinclient/lib/python2.6/site-packages/httplib2/__init__.py:44: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
serving on http://127.0.0.1:8080
SproutCore v1.0.1038 Development Server
Starting server at http://0.0.0.0:4020 in debug mode
(bespinclient)RadioFree:bespinclient drew$ paver start
---> pavement.start
---> pavement.start
/Users/drew/HG/bespinclient/lib/python2.6/site-packages/path.py:32: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import sys, warnings, os, fnmatch, glob, shutil, codecs, md5
/Users/drew/HG/bespinclient/lib/python2.6/site-packages/httplib2/__init__.py:44: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
SproutCore v1.0.1038 Development Server
Starting server at http://0.0.0.0:4020 in debug mode
To quit sc-server, press Control-C
mockid:
path: /cygdrive/c/dev/walmart/fm/web/sandbox/mockid/css/compressed
custom_css:
ie.css:
# - custom-ie.css
print.css:
# - .css
screen.css:
- ../FMGridControls.css
- ../FMStyles.css
jQuery(function(){
var ds_loaded = false, top = jQuery("h1:contains(Comments)").offset().top;
function check(){
if ( !ds_loaded && jQuery(window).scrollTop() + jQuery(window).height() > top ) {
jQuery.getScript("http://jquery.disqus.com/disqus.js?v=2.0&slug=add&pname=wordpress&pver=2.12");
ds_loaded = true;
}
}
<?xml version="1.0" encoding="UTF-8"?>
<categories>
<category>
<fullpathname>Arts &amp; Entertainment</fullpathname>
<nodename>Arts &amp; Entertainment</nodename>
<iconurl>http://foursquare.com/img/categories/arts_entertainment.png</iconurl>
<categories>
<category>
<id>78959</id>
<fullpathname>Arts &amp; Entertainment:Arcade</fullpathname>
new Rga.GraphAnimate({
container: "#graphContainer0"
, animateOnInit: true
, votes: [ 125644, 10000, 183744, 28900, 12000 ]
, voteMaximum: 200000
});
.selector {
#filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='filename.png');
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='filename.png')";
}