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
namespace xofz.Root.Commands | |
{ | |
using System; | |
using System.Threading; | |
using xofz.Framework; | |
public class SampleActionActionCommand | |
: Command | |
{ | |
public SampleActionActionCommand( |
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
String>>asUrl | |
^ String streamContents: [ :stream | | |
self do: [ :char | | |
char isSeparator ifTrue: [ stream nextPut: $- ]. | |
char isAlphaNumeric ifTrue: [ stream nextPut: char asLowercase ] ] ] |
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
var quotes = [ | |
"A deadline a day keeps the programmers at bay." | |
, "The horn on the bus goes beep beep beep." | |
, "Words are filthy." | |
, "Silly hats only." | |
, "This is a quote." | |
, "Meow do you know how fast you were going?" | |
]; | |
function changeQuote() { |
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
var quotes = new Array(); | |
quotes[0]="A good one man"; | |
quotes[1]="Different stuffz"; | |
quotes[2]="1119999"; | |
quotes[3]="ALL CAPS IS FREE"; | |
quotes[4]="no reali"; | |
quotes[5]="KeKBeePrz"; | |
function changeQuote() { | |
var newQuote = quotes[Math.round(Math.random() * quotes.length - 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
namespace xofz.Playground.Tests | |
{ | |
using System; | |
using Xunit; | |
public class RedundantFactories | |
{ | |
[Fact] | |
public void Are_used_like_this() | |
{ |