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
math.randomseed(os.time()) | |
local keys = { "A", "B", "start", "select", "up", "down", "left", "right" } | |
function randkey() | |
local key = keys[math.random(1,8)] | |
local input = joypad.get(1) | |
input[key] = true | |
joypad.set(1, input) | |
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
12:04:19 <timstellmach> It's quiet. Almost ... too quiet. | |
12:04:40 --> timstellmach (timstellmach@timstellmach.tmi.twitch.tv) has joined #algorithmancy | |
12:05:36 <-- timstellmach (timstellmach@timstellmach.tmi.twitch.tv) has left #algorithmancy | |
12:06:02 <chuckfiniey> They mostly come out at night... mostly | |
12:08:21 <ranavin> Wow, the IRC interface to this has some issues | |
12:09:26 <koshirro> Game over man! Game over! | |
12:10:00 <algorithmancy> gonna do a test soon. | |
12:10:15 <valet2> cool, i'm gonna record this video as well | |
12:10:27 <chuckfiniey> THEY'RE COMING OUT OF THE WALLS, THEY'RE COMING OUT OF THE GODDAMN WALLS (appologies for the caps lock, it was necessary to express the correct message) | |
12:10:36 <valet2> here's the last session, with comments: http://www.youtube.com/watch?v=-LDiTZ89j-Q |
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
12:04:19 <timstellmach> It's quiet. Almost ... too quiet. | |
12:06:02 <chuckfiniey> They mostly come out at night... mostly | |
12:08:21 <ranavin> Wow, the IRC interface to this has some issues | |
12:09:26 <koshirro> Game over man! Game over! | |
12:10:00 <algorithmancy> gonna do a test soon. | |
12:10:15 <valet2> cool, i'm gonna record this video as well | |
12:10:27 <chuckfiniey> THEY'RE COMING OUT OF THE WALLS, THEY'RE COMING OUT OF THE GODDAMN WALLS (appologies for the caps lock, it was necessary to express the correct message) | |
12:10:36 <valet2> here's the last session, with comments: http://www.youtube.com/watch?v=-LDiTZ89j-Q | |
12:11:26 <valet2> "i may be synthetic, but i'm not stupid" | |
12:14:27 <valet2> oh, that voice again! nice to hear you! |
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
$ lein run | |
Exception in thread "main" java.lang.NullPointerException, compiling:(/tmp/form-init1237425758983172879.clj:1:90) | |
at clojure.lang.Compiler.load(Compiler.java:7142) | |
at clojure.lang.Compiler.loadFile(Compiler.java:7086) | |
at clojure.main$load_script.invoke(main.clj:274) | |
at clojure.main$init_opt.invoke(main.clj:279) | |
at clojure.main$initialize.invoke(main.clj:307) | |
at clojure.main$null_opt.invoke(main.clj:342) | |
at clojure.main$main.doInvoke(main.clj:420) | |
at clojure.lang.RestFn.invoke(RestFn.java:421) |
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
-------------------------------------------------------------- | |
DoomRL (0.9.9.7) roguelike post-mortem character dump | |
-------------------------------------------------------------- | |
ToxicFrog, level 11 Cacodemon Sergeant Major Scout, | |
defeated the Mastermind at the City of Dis. | |
He survived 95827 turns and scored 98972 points. | |
He played for 7 hours, 17 minutes and 41 seconds. | |
He didn't like it too rough. |
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
$ lein run -- --help | |
Registering action hot-reload with 1 triggers. | |
-s, --server HOST irc.freenode.net IRC server to connect to | |
-p, --port PORT 6667 Port number of IRC server | |
-n, --nick NICKS ["SharkyMcJaws" "sharky"] Comma separated list of names to recognize; first will be used as IRC nick | |
-j, --join CHANNEL #gbchat IRC channel to join | |
-a, --admin USER,... #{"ToxicFrog"} Names of users to recognize as administrators | |
-P, --persistence FILE sharky.edn Save bot state in this file | |
-m, --modules Comma-separated list of modules to load | |
-h, --help Display help |
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
local buf = {} | |
for i=#out_number,1,-1 do | |
table.insert(buf, out_number:sub(1, i)) | |
end | |
fsLog("MY VARIABLE", table.concat(buf, ", ")) |
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
class Foo(_name: String) { | |
def name = _name | |
def equals(other: Foo) = { | |
println(this, other, name, other.name, name equals other.name) | |
_name equals other.name | |
} | |
} | |
val (one,two,three) = (new Foo("one"), new Foo("two"), new Foo("three")) | |
val s = Seq[Foo](one, two, three) |
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 f() return foo.bar[1] end | |
function <stdin:1,1> (5 instructions, 20 bytes at 0x1e19410) | |
0 params, 2 slots, 0 upvalues, 0 locals, 3 constants, 0 functions | |
1 [1] GETGLOBAL 0 -1 ; foo | |
2 [1] GETTABLE 0 0 -2 ; "bar" | |
3 [1] GETTABLE 0 0 -3 ; 1 | |
4 [1] RETURN 0 2 | |
5 [1] RETURN 0 1 | |
-- function g() return foo[1] 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
@ECHO OFF | |
MODE CON: COLS=120 | |
TITLE KSP SFSEdit | |
CALL :FindJRE | |
:RunEditor | |
"%JAVAPATH%\bin\java.exe" -jar kessler/sfsedit.jar saves/default/persistent.sfs | |
PAUSE |
OlderNewer