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
implementation console trace[] Hi @#two; | |
infrastructure affix[] [ foo[] a b c d [two: implementation console explode[] Yo!] ]; |
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
foo bar (widget dongle) | |
baz mud | |
wibble wobble | |
spaz | |
-- or -- | |
{foo bar (widget dongle); baz mud} {wibble wobble}; spaz |
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
abc | |
foo bar (widget dongle) | |
def | |
baz mud | |
wibble wobble | |
spaz |
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
// ------------------------------------------------------------------------------------------------------------- | |
// simpleStarTrekSK - The program skeleton for a simple star trek game. The student must complete the game | |
// according to the lab instructions. The bulk of the game must be defined in the function | |
// starTrek(), to be defined by the student including any necessary other functions. As students | |
// implement the required code, they should add their attributions to the change log below, | |
// as well as add comment headers explaining each function they write and include attributions | |
// for any new code and functions they add. | |
// | |
// Written: E. Basiachvili, Langara College, 2011 used with permission by below | |
// Changes: P. Baker, Langara College, October 2013, comments added, minor modifications, starTrek() function |
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
<html> | |
<head> | |
<title>Game</title> | |
<script> | |
var g, lt = Date.now(); | |
var scene = []; | |
function step() { | |
var ot = lt; |
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
#ifdef WINDOWS | |
typedef SAL_Thread HANDLE; | |
#elif POSIX | |
typedef SAL_Thread pthread_t; | |
#endif | |
SAL_Thread SAL_Thread_Create(SAL_Thread_StartAddress startAddress, void* startParameter) { | |
#ifdef WINDOWS | |
return CreateThread(null, 0, startAddress, startParameter, null, null); | |
#elif POSIX |
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
example = ['banana', 'elephant', 'apple', 'friday', 'cocaine', 'damage'] | |
parray = example.map { |str| str.each_byte.to_a } | |
puts parray |
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
module.exports = function (hub, name) { | |
// We register ourself as darkf_dix and are returned a handle that | |
// allows us to subscribe to or unsubscribe from events. | |
hub.register (name || "darkf_dix", function (handle) { | |
// The first argument specifies what item to subscribe to events from. | |
// If null or undefined, the default is "*". The second argument | |
// specifies what kind of events to accept. If left null or undefined, | |
// it defaults to the special event kind "*", which matches any kind of | |
// event. | |
handle.subscribe ("irc/*", "message", function (e) { |
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
var darkf_dix = module.exports = function (hub) { | |
var self = this; | |
this.hub = hub; | |
// We register ourself as darkf_dix and are returned a handle that | |
// allows us to subscribe to or unsubscribe from events. | |
hub.register (this, "darkf_dix", function (handle) { | |
// The first argument specifies what item to subscribe to events from. | |
// If null or undefined, the default is "*". The second argument | |
// specifies what kind of events to accept. If left null or undefined, |
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
{ | |
"Core": { | |
"socket": "/tmp/diaptoval.sock" | |
}, | |
"IRC": { | |
"quit_message": "bbye!", | |
"profiles": [ | |
{ | |
"host": "irc.freenode.net", | |
"nick": ["devyn", "devyn_", "devyn__", "devyn___"], |
NewerOlder