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
// ==UserScript== | |
// @name thisandagain Summoner | |
// @namespace thisandagainPlsExplainThisPost | |
// @version 1.06 | |
// @description Adds a button to posts to magically summon thisandagain or thisandbatman | |
// @author Jonathan50 | |
// @match https://scratch.mit.edu/discuss/* | |
// @grant none | |
// ==/UserScript== |
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
#!/usr/bin/env python3 | |
# Jonathan50's Great Decompiler | |
# for Python 3 | |
# | |
# http://creativecommons.org/publicdomain/zero/1.0/ | |
# To the extent possible under law, the person | |
# who associated CC0 with Jonathan50's great decompiler has | |
# waived all copyright and related or neighboring | |
# rights to Jonathan50's great decompiler. |
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
// ==UserScript== | |
// @name Scratch tips browser | |
// @namespace scratchTipsBrowser | |
// @version 0.1.0 | |
// @description Tips Browser for MIT Scratch | |
// @author Jonathan50 | |
// @match https://cdn.scratch.mit.edu/scratchr2/static/*/help/en/home.html | |
// @grant none | |
// ==/UserScript== |
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 Words(...templates) { | |
this.templates = templates | |
} | |
Words.prototype.generate = function() { | |
return this.templates.map(generate).join(' ') | |
} | |
function generate(template) { | |
if(template instanceof Words) | |
return template.generate() |
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
;;;; Streams library | |
;;;; Copyright (c) 2016, Jeandre Kruger | |
;;;; All rights reserved. | |
;;;; Redistribution and use in source and binary forms, with or without modification, | |
;;;; are permitted provided that the following conditions are met: | |
;;;; 1. Redistributions of source code must retain the above copyright notice, this | |
;;;; list of conditions and the following disclaimer. |
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
;;;; Find-function -- Given some input/output pairs, find a general function that works with these. | |
;;;; Copyright (C) 2016 Jeandre Kruger | |
;;;; All rights reserved. | |
;;;; Redistribution and use in source and binary forms, with or without modification, | |
;;;; are permitted provided that the following conditions are met: | |
;;;; 1. Redistributions of source code must retain the above copyright notice, this | |
;;;; list of conditions and the following disclaimer. |
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
@0x00 | |
ORIGIN = 0xFF8D | |
==Start== | |
LDA #1 ; start counting at 1 | |
{ | |
PHA ; save A | |
JSR Fib | |
CMP 0x0200 ; if fib(A)>fib(A-1), stop |
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
--- ../Downloads/uudecode.c 1994-04-03 06:16:37 +1200 | |
+++ uudecode.c 2018-03-04 18:23:50 +1300 | |
@@ -50,8 +50,8 @@ | |
#include <sys/param.h> | |
#include <sys/stat.h> | |
-#include <pwd.h> | |
#include <stdio.h> | |
+#include <stdlib.h> | |
#include <string.h> |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#define SECTOR 512 | |
#define BOOTMAGIC 0xaa55 | |
char disk[SECTOR*2880]; | |
int | |
main(int argc, const char *argv[]) |
OlderNewer