This file contains hidden or 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/python | |
| import random | |
| import copy | |
| import sys | |
| import pprint | |
| def _thesame(items): | |
| return len(set(items)) == 1 |
This file contains hidden or 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
| class A(object): | |
| def foo(self, onearg): | |
| print "foo onearg" | |
| class B(object): | |
| def foo(self, onearg, twoarg): | |
| print "foo onearg twoarg" | |
| b = B() |
This file contains hidden or 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
| (NRG > 6000) # if have over 6000 nrg | |
| [reproduce 50] # reproduce giving 50% to child | |
| [turn -15] # turn 15 degrees after spawning | |
| (EYE.5 > 0) # there is something directly in front of us | |
| shoot(-1) | |
| # follow something | |
| (EYE.4 > 0) |
This file contains hidden or 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
| Website allows users to create and manage accounts. | |
| - user manages pubkey | |
| - user is assigned a Git Repo | |
| - can review Stats and Hand Histories | |
| - can refill an empty account with credits 1/day. | |
| User creates Code and pushes to Git Repo. | |
| - using their pubkey to remote: [email protected]:username.git |
This file contains hidden or 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
| Each player needs $4.50 in the following change: | |
| 10 x Quarters | |
| 2 x Dollars | |
| To make a move, you must roll 2 4-sided dice. | |
| You may make 0, 1 or 2 moves based on the dice rolls shown: | |
| 1 - Boat | |
| 2 - Knight | |
| 3 - Rook |
This file contains hidden or 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 python | |
| import sys | |
| import os | |
| import optparse | |
| class ExpandTemplateCommand(object): | |
| def run(self, *args): | |
| parser = optparse.OptionParser() |
This file contains hidden or 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
| body { | |
| background: beige; | |
| } | |
| #display_container { | |
| float: left; | |
| } | |
| #turn_container { | |
| float: left; |
This file contains hidden or 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($) { | |
| var PLUGIN = "" //TODO: The name of the plugin | |
| var methods = { | |
| init: function (config) { | |
| var options = { | |
| //TODO: Default Options |
This file contains hidden or 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
| Dashboard Gadget Ideas | |
| - twitter feed | |
| - github activity feed | |
| - activecollab activity graphs | |
| - rss feed | |
| - graphs of commits/checkouts | |
| - upcoming beer vote | |
| - bus schedules |
This file contains hidden or 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
| Abstract | |
| A 54" TV sits blank in a room full of programmers who would happily script up visualizations and demos. A device is needed to provide video source for the display, that can be installed easily on the wall near the TV, either surreptisously, or perhaps artfully. | |
| Fullscreen webkit browser, displaying HTML5/JS visualizations. |