Skip to content

Instantly share code, notes, and snippets.

View chezsick's full-sized avatar
🐦
Bonjour GitHub Et Microsoft !

Newa chezsick

🐦
Bonjour GitHub Et Microsoft !
View GitHub Profile
@chezsick
chezsick / basicrandom.php
Last active October 20, 2019 22:53
This Is My First Very Basic For PipeGlade ;;;;;;;;; cmd1 ::: php basicrandom.php < in > out ;;;; pipeglade -i in -o out basicrandom.ui ;;;;;;;;;;;;;;;;;;;;;;;;; https://github.com/clicheinternetalias/pipeglade5
<?php
$fs = fopen("/dev/urandom","rb");
while (true)
{
if (fgets(STDIN) == "getrandom command\n")
{
echo "random set_text " . strval(ord(fgetc($fs))) . "\n";
}
}
@chezsick
chezsick / making_vhs_teletext.txt
Last active January 12, 2021 16:50
Making VHS With Teletext Using Parallel, Please Copy This And Paste Your Prompt
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
@chezsick
chezsick / iptv_cryptimage.py
Last active November 5, 2019 04:50
Get Your Setting For CryptImage Via IPTV URL Stream ;;;;;;;;;; args ::::: URL mode ;;;;;;;;; Collection ::::::::::::::::::: https://github.com/iptv-org/iptv ;;;;; mode :::: normal noclear discret11 syster videocrypt
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)
@chezsick
chezsick / byte2word.py
Created October 3, 2019 03:10
Convert Bytes To Words And Back
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
@chezsick
chezsick / soundboard_gpio.php
Last active August 14, 2019 05:58
A SoundBoard Controlled From GPIO Buttons, Stdin :::::: num_gpio;data ;;;; Stdout :::::: Audio
<?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))
{
@chezsick
chezsick / gendigipass.php
Last active August 13, 2019 14:39
Generate A DigiPass As Circuit For LogicEmu ;;;; Input :: Timestamp In Minutes ;; Output :::: Password Of The Minute ;;;; Stdin :::: Random Source ;;; Stdout ::: Circuit ;;;;; Args ::::: Length_XNOR_Area Length_XOR_Area
<?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));
}
@chezsick
chezsick / byte2grade.py
Created July 18, 2019 21:11
Convert Byte To Grade And Invert
import sys
while True:
o = ord(sys.stdin.read(1))
n = int(101*(o/256.0))
sys.stdout.write("%s\n" %(n))
@chezsick
chezsick / valeplusloin.py
Last active July 17, 2019 23:20
Aller Le Plus Loin Possible, Qui Va Vous Dépassé ?
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:
@chezsick
chezsick / minage.js
Created July 13, 2019 01:20
Simulate A Minage In Your Browser For Troll/Prank For TamperMonkey
// ==UserScript==
// @name Minage
// @version 0.1
// @author Newa
// @include *
// ==/UserScript==
function sha256(ascii) {
function rightRotate(value, amount) {
return (value>>>amount) | (value<<(32 - amount));
};
@chezsick
chezsick / loadingflif.bash
Last active July 2, 2019 21:18
Produce An Video Loading FLIF Image ;;;; args inputflif byterate outputvideo
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