This is now an actual repo:
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
| // UPDATE: For latest code, see https://github.com/cstrahan/Showdown.as | |
| // | |
| // Showdown.as -- An ActionScript port of showdown.js | |
| // | |
| // Copyright (c) 2010 Charles Strahan. | |
| // | |
| // Original Showdown Copyright (c) 2007 John Fraser. | |
| // <http://attacklab.net/showdown/> | |
| // | |
| // Original Markdown Copyright (c) 2004-2005 John Gruber |
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/sh | |
| # have submodules been added? | |
| MODS=0 | |
| # Github base URL | |
| GITHUB="https://github.com" | |
| # Default branch | |
| DEFAULT_BRANCH="3.0/master" |
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
| // Load the TCP Library | |
| net = require('net'); | |
| // Keep track of the chat clients | |
| var clients = []; | |
| // Start a TCP Server | |
| net.createServer(function (socket) { | |
| // Identify this client |
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
| /** | |
| * Simple string replacement inspired by Mustache | |
| * @param template String to be parsed | |
| * @param data Object containing Key -> Value pairs. | |
| * @return Formated string | |
| */ | |
| function parseTemplate(template : String, data : Object): String { | |
| function replaceFn() : String{ | |
| var prop : String = arguments[1]; | |
| return (prop in data)? data[prop] : ''; |
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
| /* | |
| * Copyright (c) 2005, The haXe Project Contributors | |
| * All rights reserved. | |
| * Redistribution and use in source and binary forms, with or without | |
| * modification, are permitted provided that the following conditions are met: | |
| * | |
| * - Redistributions of source code must retain the above copyright | |
| * notice, this list of conditions and the following disclaimer. | |
| * - Redistributions in binary form must reproduce the above copyright | |
| * notice, this list of conditions and the following disclaimer in the |
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
| /* | |
| Load Sinon.JS in the SpecRunner: | |
| <script type="text/javascript" src="lib/jasmine-1.0.1/jasmine.js"></script> | |
| <script type="text/javascript" src="lib/jasmine-1.0.1/jasmine-html.js"></script> | |
| <script type="text/javascript" src="sinon-1.0.0.js"></script> | |
| <script type="text/javascript" src="sinon-ie-1.0.0.js"></script> | |
| http://cjohansen.no/sinon/ | |
| */ |
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
| include $(GOROOT)/src/Make.inc | |
| GOFMT=gofmt -spaces=true -tabindent=false -tabwidth=4 | |
| all: | |
| $(GC) jsontest.go | |
| $(LD) -o jsontest.out jsontest.$O | |
| format: | |
| $(GOFMT) -w jsontest.go |
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
| package com.visfleet.robotlegs.bootstrap { | |
| import org.robotlegs.core.ICommandMap; | |
| import org.robotlegs.core.IReflector; | |
| import org.robotlegs.mvcs.Actor; | |
| public class AbstractSequencer extends Actor { | |
| private var steps:Array = new Array(); | |
| [Inject] | |
| public var reflector:IReflector; |