- An Enumerable of Rubyists @raganwald
- An Indentation of Pythonistas @raganwald
- A fold of Haskellers! @ReinH
- A Din of Twitterers @raganwald
- A callback of JavaScripters @irvingreid
- An NCC-1701 of Java Programmers @raganwald
- A relation of SQLers @raganwald
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
import java.util._ | |
import java.io._ | |
object Mystery { | |
// It's a mystery. | |
val LUT: Array[String] = Array("\u3042", "\u3044", "\u3046", "\u3048", "\u304a", | |
"\u304b", "\u304d", "\u304f", "\u3051", "\u3053", | |
"\u3055", "\u3057", "\u3059", "\u305b", "\u305d", |
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
import java.util.UUID | |
import scala.io.Source | |
object SteveOrAlex { | |
def main(args: Array[String]) { | |
val name = args(0) | |
println(s"Stats for $name") | |
val theID = uuid(name) | |
println(s"UUID: $theID") | |
val hash = theID.hashCode |
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
import argparse, re, io | |
template_pattern = re.compile("<%%(.*?)%%>") | |
def autogen(template, config): | |
exec(config) | |
loc = locals() | |
def replace(match): | |
nonlocal loc | |
expression = match.group(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
/* | |
Circular Healthbar Library by Fluffy8x | |
The code in this source file is in public domain. | |
createHealthbar(enemy, maxLife, innerR, outerR) - Creates a healthbar for a non-boss. | |
createBossHealthbar(bossScene, innerR, outerR) - Creates a healthbar for a boss scene. | |
boss() - Gets the boss set for drawing the healthbar. | |
setBoss(boss) - Sets the boss to use as the center for drawing a boss healthbar. | |
delBoss() - Same as setBoss(ID_INVALID). |
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
// temp workaround till pre7 | |
let CHR_NULL = " " - " "; | |
let CHR_1 = "!" - " "; | |
let CHR_2 = CHR_1 + CHR_1; | |
let CHR_4 = CHR_2 + CHR_2; | |
let CHR_8 = CHR_4 + CHR_4; | |
let CHR_16 = CHR_8 + CHR_8; | |
let CHR_32 = " "; | |
let CHR_64 = "@"; |
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
** SEARCHING FOR COLLABORATORS FOR THP2.0 ** | |
- Get involved in some delicious web development | |
- Be part of a close community of geeks | |
- Most of all, have fun! | |
To get involved, contact the person who posted this announcement. |
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
// because mkm was a dumbo at word wrapping | |
// THAT'S IT, FUCK MANUAL WORD WRAPPING | |
function ObjText_SetTextWW(text, string, maxWidth) { | |
let right = 0; | |
let lastSpace = -1; | |
ObjText_SetText(text, "d"); // Great. Now you just barred all chance of supporting proportional fonts. | |
let charWidth = ObjText_GetTotalWidth(text); | |
let maxStrLen = maxWidth / charWidth; | |
WriteLog(maxStrLen); | |
let len = length(string); |
From 2015 June 3 to July 3, I will be out of the country -- that is, in South Korea. Of course I don't want to go; in fact, doing so would make me miss three days of school and the graduation ceremony, but my parents did, without accounting for snow days.
What does this mean to you?
First off, I will not be on Skype for that period. We will bring only my brother's computer, and while I hope he allows me to, Skype is completely out of question because my mom uses it on that machine.
For my fellow translator: When I am finished with all of the translatables, I will give you a link via MoTK's PM. NTP is now hosted on Github. You may send back the translated material or ask questions through PM as well.
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
#!/bin/python3 | |
#TouhouDanmakufu[Package] | |
#ScriptVersion[3] | |
#Title["Nice Game!"] | |
#Text["Actually a Python script. (Yay! I'm free now!)"] | |
from pathlib import * | |
from io import * | |
from sys import * |
OlderNewer