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
./enemy.js:Game.Entity.Enemy = Game.Entity.extend({ | |
./enemy.js: this.x += Game.unit; | |
./enemy.js: this.x -= Game.unit; | |
./enemy.js:Game.Entity.Enemy.Monster = Game.Entity.Enemy.extend({ | |
./entity.js:Game.Entity = Class.extend({ | |
./entity.js: init: function( x, y ) { | |
./entity.js: tempCanvas, tempContext, | |
./entity.js: if ( x !== null && y !== null ) { | |
./entity.js: this.x = x; | |
./entity.js: tempContext = tempCanvas.getContext( '2d' ); |
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 | |
echo "Generating URL..." | |
FULL_PATH="/Users/tbenzige/Projects/aws" | |
#Count is kept based on a list.txt file | |
#list.txt is a plain text file meant to show relationships between URLs | |
#Instead of a running count, we just count the lines in list.txt | |
INITIAL=`echo -n $(cat $FULL_PATH/list.txt | wc -l)` | |
NUM="$INITIAL/4" |
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
# Description: | |
# Listens for "hangout" keyword and sends Google Hangout url. Saves a couple minutes in our office. | |
# | |
# Configuration: | |
# HUBOT_HANGOUT_URL | |
# | |
# Commands: | |
# hubot hangout - sends hangout url | |
# | |
# Notes: |
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
WebPro.Widget.ContentSlideShow.swipePlugin = { | |
initialize: function( slideshow, options ) { | |
this.swipeTracker = new WebPro.SwipeTracker( slideshow.$element, { | |
angleThreshold: 20, | |
swipeEvents: { | |
'wp-swipe-ss-prev': { | |
xThreshold: 60 | |
}, | |
'wp-swipe-ss-next': { |
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
config.assets.debug = true |
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
$.ajax('/annotations', {type:'post', contentType: 'application/json', dataType:'json', data: JSON.stringify({"annotations":[{"data_type":"tag","x":420,"y":157,"angle":-6,"text_data":"","user_id":1}]}) }); |
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 charset="UTF-8"> | |
<!-- IF PEN IS PRIVATE --> | |
<!-- <meta name="robots" content="noindex"> --> | |
<!-- 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<!-- IF PEN IS PRIVATE --> | |
<!-- <meta name="robots" content="noindex"> --> | |
<!-- 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
color: #b94a48; | |
} | |
.alert-info { | |
background-color: #d9edf7; | |
border-color: #bce8f1; | |
color: #3a87ad; | |
} | |
.alert-block { | |
padding-top |
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 attachReviewerListBehavior() | |
{ | |
var $links = $( '#reviewer-list a' ), | |
$panels = $( '#reviewer-list .feedback-panel' ); | |
if ( $links.length === 0 ) { | |
return; | |
} | |
$links.click( function() { |