I hereby claim:
- I am boxmein on github.
- I am boxmein (https://keybase.io/boxmein) on keybase.
- I have a public key whose fingerprint is B87E 6037 955C 154E FEAB E0E6 F66E D382 3078 540B
To claim this, I am signing this object:
| -- Procedural Save Generator | |
| -- ------------------------- | |
| -- | |
| -- A script that lets you create other scripts that create saves procedurally! | |
| -- If you've ever done vertex shaders, this is kinda like it. | |
| -- A few examples are in the bottom that you can uncomment to try. | |
| -- | |
| -- NOTE: this script alone does seemingly nothing. It creates a function named | |
| -- "runner" that can be called with another function that's described below. | |
| -- |
| // ==UserScript== | |
| // @name TPT Syntax Highlighted Code Boxes | |
| // @version 1.3.0 | |
| // @description Syntax highlights <code> boxes on the powder toy forums. | |
| // @author boxmein | |
| // @match *://powdertoy.co.uk/Discussions/Thread/* | |
| // ==/UserScript== | |
| // last updated: Tue Dec 02 2014 21:16:57 GMT+0200 (FLE Standard Time) | |
| /* |
| // ==UserScript== | |
| // @name New Conversation Notifier (Beta!) | |
| // @version 1.0.0 | |
| // @description Notifies you about new conversations live on powdertoy.co.uk | |
| // @author boxmein | |
| // @match *://powdertoy.co.uk/* | |
| // ==/UserScript== | |
| /* | |
| 1.0.0 : Sun Nov 30 2014 17:39:06 GMT+0200 (FLE Standard Time) |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>quiz</title> | |
| </head> | |
| <body> | |
| <!-- Something like this --> | |
| <select class="question" data-id="1"> | |
| <option value="1">Wrong</option> |
| #!/usr/bin/env ruby | |
| # usage: ruby generate.rb -d <directory for src/simulation/elements/*> | |
| require 'json' | |
| require 'optparse' | |
| # Descriptive method name award 2014 | |
| # dir :: String -- directory to look for element source code in | |
| # outfile :: IO -- output to this writable object (.puts needs to exist) | |
| # opts[:clean] :: Boolean -- clean up mismatches? defaults to true | |
| # opts[:post_process] :: Boolean -- decorate some values to prettier versions? def true |
I hereby claim:
To claim this, I am signing this object:
| # | |
| # Tiny task system | |
| # ~boxmein 2014 | |
| # free to use | |
| # | |
| # {'name': callback, ...} | |
| tasks = {} | |
| # Add a task |
| // A Twitter bot! Experimental! | |
| // Reverses words of text sent to it. | |
| //# node {{f}} # don't forget to add environment vars! | |
| // npm install twit | |
| var Twit = require('twit'); | |
| // how many @mentions from the top to fetch, to look for | |
| // TODO: go through many pages of @mentions | |
| // TODO: add since_id for the last tweet this fetched |
| /* | |
| Sadistic Russian Roulette and Random Banning IRC bot, codename ruletka. | |
| Requires ops in the channel. | |
| Commands: | |
| 1. \r : roulette. | |
| 2. \b : randomban. | |
| 3. \k : chance kick. |
| (lambda s, t, u: | |
| print('Hello, ' + u + '-year-old ' + s + ' ' + t + '. Good luck on the course!'))( | |
| input('First name? :: '), | |
| input('Last name? :: '), | |
| input('Age? :: ')) |