This file contains hidden or 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
| <?php | |
| $fs = fopen("/dev/urandom","rb"); | |
| while (true) | |
| { | |
| if (fgets(STDIN) == "getrandom command\n") | |
| { | |
| echo "random set_text " . strval(ord(fgetc($fs))) . "\n"; | |
| } | |
| } |
This file contains hidden or 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
| parallel "gm convert -font /usr/local/share/fonts/EuropeanTeletext.ttf -pointsize 16 -background black -fill white -size 480x320 caption:@{.}.description {.}_desc.png && gm convert -font /usr/local/share/fonts/EuropeanTeletext.ttf -pointsize 16 -background white -fill black -size 480x16 caption:{.} {.}_title.png && gm convert -append {.}_title.png {.}_desc.png {.}_tt.png && ffmpeg_to_composite -tvstd pal -vhs -i {} -o {.}_vhs.avi && ffmpeg -y -i {.}_vhs.avi -loop 1 -i {.}_tt.png -vcodec copy -acodec copy -shortest -map 0:0 -map 0:1 -map 1:0 -f avi {.}_vhs_tt.avi" ::: {*.webm,*.mkv,*.mp4} | |
| ##Required :::: | |
| # GraphicsMagick | |
| # ffmpeg | |
| # https://github.com/joncampbell123/composite-video-simulator | |
| # https://www.dafont.com/european-teletext.font |
This file contains hidden or 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 sys | |
| url = str(sys.argv[1]) | |
| mode = str(sys.argv[2]) | |
| import hashlib | |
| import re | |
| syster_table = 1 | |
| tag_enable = False | |
| soundcrypt_enable = False | |
| hash = hashlib.sha256() | |
| hash.update(url) |
This file contains hidden or 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 sys | |
| n=0 | |
| fs = open(sys.argv[1],"r") | |
| sets = fs.read().split("\n") | |
| h = len(sets) | |
| for e in sys.stdin.read(): | |
| sys.stdout.write(sets[(ord(e)+(256*n)) % h] + "\n") | |
| n = n + 1 |
This file contains hidden or 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
| <?php | |
| // Donné De SoundBoard :::: Numero Du GPIO;Donnée Brute Audio | |
| // Debut De Config | |
| $gpiopathconfig = "/sys/kernel/vgpio"; | |
| // Fin De Config | |
| $gpio = array(); | |
| $data = array(); | |
| $n = 0; | |
| while ($o = fgets(STDIN)) | |
| { |
This file contains hidden or 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
| <?php | |
| echo "s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s s \n| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |I"; | |
| for ($l = 0;$l < intval($argv[1]);$l++) | |
| { | |
| echo "\n"; | |
| $mat = array_fill(0,32,null); | |
| for ($a = 0;$a < 32;$a++) | |
| { | |
| $mat[$a] = ord(fgetc(STDIN)); | |
| } |
This file contains hidden or 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 sys | |
| while True: | |
| o = ord(sys.stdin.read(1)) | |
| n = int(101*(o/256.0)) | |
| sys.stdout.write("%s\n" %(n)) |
This file contains hidden or 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 sys | |
| import time | |
| m = 0 | |
| rand = open("/dev/urandom","r") | |
| while True: | |
| for n in range(5): | |
| o = ord(rand.read(1)) | |
| print("Boum! %s%%" %(int(100*o/256))) | |
| time.sleep(1) | |
| if o > 256-m: |
This file contains hidden or 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 Minage | |
| // @version 0.1 | |
| // @author Newa | |
| // @include * | |
| // ==/UserScript== | |
| function sha256(ascii) { | |
| function rightRotate(value, amount) { | |
| return (value>>>amount) | (value<<(32 - amount)); | |
| }; |
This file contains hidden or 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
| input=$1 | |
| rate=$2 | |
| output=$3 | |
| size=$(wc -c "$input" | cut -f 1 -d " ") | |
| tmp=$(mktemp -d) | |
| a=1 | |
| v=$(expr $rate \/ 25) | |
| for n in $(seq 0 $v $size) | |
| do | |
| head -c $n "$input" | flif -d - $tmp/$a.png || convert -size $(flif -d "$input" - | identify -format %wx%h -) xc:gray $tmp/$a.png |