=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
BrainFuck Programming Tutorial by: Katie
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#!/usr/bin/env bash | |
if [ -z $(which retire) ]; then | |
echo "retire not found. try npm install -g retire" | |
exit 1 | |
fi | |
if [ -z $(which parallel) ]; then | |
echo "parallel not found. try 'apt install -y parallel'" | |
exit 1 | |
fi |
/* The world's smallest Brainfuck interpreter in C, by Kang Seonghoon | |
* http://j.mearie.org/post/1181041789/brainfuck-interpreter-in-2-lines-of-c */ | |
s[99],*r=s,*d,c;main(a,b){char*v=1[d=b];for(;c=*v++%93;)for(b=c&2,b=c%7?a&&(c&17 | |
?c&1?(*r+=b-1):(r+=b-1):syscall(4-!b,b,r,1),0):v;b&&c|a**r;v=d)main(!c,&a);d=v;} |
❗️ Opened issue #8 in Basl-Language/Basl-Compiler ❗️ Opened issue #1 in DaOnlyOwner/Hyc ❗️ Opened issue #1 in ScriptQuest/repo 🗣 Commented on #5 in Fuechs/Fux ❗️ Opened issue #5 in Fuechs/Fux
# Import the random module | |
# for array shuffle | |
import random | |
# This is an array of available | |
# random words. | |
words = [ | |
"dog", "cat", "fish", "giraffe", | |
"moo", "spider", "lion", "apple", |
#!/usr/bin/env python3 | |
# Don't edit this. | |
all_insults = [ | |
b"Just what do you think you're doing Dave?", | |
b"It can only be attributed to human error.", | |
b"That's something I cannot allow to happen.", | |
b"My mind is going. I can feel it.", | |
b"Sorry about this I know it's a bit silly.", | |
b"Take a stress pill and think things over.", |
from itertools import count as crash | |
list(crash(0)) |
/* Not the nicest code we ever wrote... */ | |
<?php | |
require_once 'HTTP/Request.php'; | |
require_once 'Text/Wiki/Mediawiki.php'; | |
class Wikipedia | |
{ |
references = {} | |
dictionary = [] | |
def randomized(x, y): | |
from random import randint | |
return randint(x, y) | |
def cracker_per_digit(x): |
""" | |
Password brute-force algorithm. | |
List of most probable passwords and english names can be found, respectively, at: | |
- https://github.com/danielmiessler/SecLists/blob/master/Passwords/probable-v2-top12000.txt | |
- https://github.com/dominictarr/random-name/blob/master/middle-names.txt | |
Author: Raphael Vallat | |
Date: May 2018 | |
Python 3 |