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
using System; | |
using MCGalaxy; | |
namespace Core { | |
public class Announce: Plugin { | |
public override string MCGalaxy_Version { get { return "1.8.0.0"; } } | |
public override string name { get { return "Announce"; } } | |
public override void Load(bool startup) { | |
Command.Register(new CmdAnnounce()); |
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
>>>>>>>>>+>>++[>>+<<-]>>[<+<+>>-]<-<->>>>+<<<<<<[>>]>>>>+[-]<<+[<<+>>-]< | |
<->>>>+<<<<<<[>>]>>>>+[-]<<+[<<+>>-]<<->>>>+<<<<<<[>>]>>>>+[-]<<+[<<+>>- | |
]<<->>>>+<<<<<<[>>]>>>>+[-]<<+[<<+>>-]<<->>>>+<<<<<<[>>]>>>>+[-]<<+[<<+> | |
>-]<<->>>>+<<<<<<[>>]>>>>+[-]<<+[<<+>>-]<<->>>>+<<<<<<[>>]>>>>+[-]<<+[<< | |
+>>-]<<-+[>>+<<-]>>[>>+<<<<<<[<<]<+>>>[>>]>>-]>>-<<<+[>+[<<+>>-]>>+[<<+> | |
>-]>>+<<<<-<<->-]>+[-]>>>>[<<<<<+>>>>>-]<<<<<-<[+[>>+<<-]>+>[<-<+>>-]<<- | |
+[>>>>+<<<<-]>>>>-<<<+[>+[<<+>>-]>>+[<<+>>-]>>+<<<<-<<->-]>+[-]>>>>[<<<< | |
<+>>>>>-]<<<<<-<]+[<<]<[>>>[>>]<<+[<<]<-]>>>[>>]<<-->>>>++++++++++[-<<<< | |
+[>>+<<-]>>[<+<+>>-]<-<->>>>]<<<<+[>>+<<-]>>[>>+<<<<<<[<<]<+>>>[>>]>>-]> | |
>-<<<+[>+[<<+>>-]>>+[<<+>>-]>>+<<<<-<<->-]>+[-]>>>>[<<<<<+>>>>>-]<<<<<-< |
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
/* See: https://stackoverflow.com/questions/16124127/improvement-to-my-mandelbrot-set-code */ | |
#include <math.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <stdio.h> | |
unsigned char palette[48] = { | |
66, 30, 15, | |
25, 7, 26, |
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
This interpreter has 64bit cells. | |
This interpreter has 11bit cells. | |
This interpreter has 64bit cells. |
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
xtKNFoLDKoPKNsoABKyzoMKUoKcNomEKPoKDoXmgKoKozKoKqoFKUiFoKxBcuVdkBMgyOKus | |
VsdaiRFzhKDotKoKQjPbtsPTuXFdahtcKBuTngfYHWfbdaZYhKuGdAQVDWahjyxEKoGVqKoK | |
oMGKsqoHFXURRKoqKucdjNPaJxhwKowKBoKudYUahKocLGBZNvLkWnXwudiIahcBBMnnklRT | |
MfIXsuUdytahkudahxkmDBudahEkxgudabqhIWbDbVfRkuQmmzdahfkfBuidGxKbuRdDGBpv | |
aIzhGHKEudsBahKCuZLnvgVdavAChKudHIEQTazfhKiEudECVpjqaMUHIEhKoKWzcxHlJoxC | |
yKoKoKYztoxcKzSMCoswzlGKGVfzTmuLMTQdaESZqhGHwIELLTPkgNZClAROJbBvYkqOkIOK | |
udXjlajhZZYbqSLKFudUaEhAsKAuTdvyqHaShyUIfztKtjuPRyjgcxzldGRahQBBsJtKuqda | |
vhvKuUdYBRaDVchfKMguAdADahKQjulZidahsjWMWKvIuEHRdaiqjhvNKVujRQHdtahKmoKf | |
oUzKcilXwoKoKoKoKlwMbofKoLKRotJKUNoZKZSoJXKJLofKoEKFgoiMxUyGZJyRKoKyQEzJ | |
uGdKWDGugdKuizcdgahqPSKudahTDRzpKuNZXLEDzdahpJXgNyCKSmStutXRdaZwRhPypjjK |
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
eval 'm=Hash.new(p=0);'+ARGF.read.gsub( | |
/./, | |
'>' => 'p+=1;', | |
'<' => 'p-=1;', | |
'+' => 'm[p]+=1;', | |
'-' => 'm[p]-=1;', | |
'[' => '(', | |
']' => ')while((m[p]&=255)!=0);', | |
'.' => 'putc m[p];', | |
',' => 'm[p]=STDIN.getbyte if !STDIN.eof;') |
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
This archive contains the following programs: | |
bfc The compiler for the 'brainfuck' language (240 bytes!) | |
bfc.asm Source for the compiler | |
bfi The interpreter for the 'brainfuck' language | |
bfi.c Source for the interpreter (portable) | |
src/ Some example programs in 'brainfuck' | |
src/atoi.b Reads a number from stdin | |
src/div10.b Divides the number under the pointer by 10 | |
src/hello.b The ubiquitous "Hello World!" |
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/sh | |
# CVS is a PITA (Useful, yes, but no I never did like it that much) | |
# It has obviously been specified by idiots who think THEY are in control. | |
# Make us run under nohup & fakeroot so it looks like we're a daemon. | |
# The 'cat' command allows up to see the output without being directly | |
# connected to the terminal (and so we have no ctty). | |
[ "`id -u`" -ne 0 ] && { | |
nohup fakeroot sh "$0" "$@" 2>&1 </dev/null | cat | |
exit |
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
/* | |
* To compile: | |
* gcc -O3 -std=c99 -Wall -Wextra -Wshadow -fopenmp joust.c -o joust | |
* | |
* | |
* TODO | |
* Allow for (...)*0 comments. | |
* Allow (...{...}...}%3 format as alias for (...)*3...(...)*3 | |
* Table like the proper joust versions. | |
* Full dump of match results |
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
%c=qw(XX $p++ XZ $p-- XY D++ YX D-- ZY D&=255;while(D){ YZ D&=255;} YY print+chrD ZZ D=ord(getc) ZX print+join(",",@b),"\n"); | |
$/=$,;$_=<>;s/[XYZ]//g;s/\(\.\)/X/g;s/\[\.\]/Y/g;s/{\.}/Z/g;s/[^XYZ]//g;s/../$c{$&}; /g;s[D]'$b[$p]'g;eval; | |
=begin comment | |
/* From: https://gist.github.com/ELLIOTTCABLE/402586 */ | |
/* I wrote “Hello, world!” for whatever mad, mad genius wrote this version of Brainfuck: | |
http://pastie.org/private/siw6uoan1cd6shuao7r8hw (dead link) | |
*/ | |
(.)[.] (.)[.] (.)[.] (.)[.] (.)[.] (.)[.] (.)[.] (.)[.] (.)[.] (.)[.] {.}[.] (.)(.) (.)[.] (.)[.] (.)[.] (.)[.] |
NewerOlder