Skip to content

Instantly share code, notes, and snippets.

View Property404's full-sized avatar

Dagan Martinez Property404

View GitHub Profile
uggcf://jjj.zvaqfuner.pbz/pbzcnal/ryrneavat5/nezi8/zbqhyr1.zc4
@Property404
Property404 / Netflix DeCC
Last active October 16, 2022 22:42
Remove
// ==UserScript==
// @name DeCC
// @version 1.2
// @grant none
// ==/UserScript==
// Removes [CC brakets] on Netflix subtitles (requires browser refresh)
function main()
{
console.log("Starting!");
@Property404
Property404 / thue.py
Created April 5, 2018 15:47
Thue interpreter in Python 3.6
#!/usr/bin/env python3
import random
import sys
class Program:
# Dic: string->list
rules = None
# String
state = None
@Property404
Property404 / stumble.py
Created June 17, 2016 18:33
Open random website based on command line arguments
#! /usr/bin/env python
from random import choice
import os
import webbrowser
if os.sys.version_info[0] < 3:
from urllib import urlopen
else:
from urllib.request import urlopen
#/*>>>>>>>[-][*/
#include <stdio.h>/*]
print("Python Code");"""
+>^^>V<<-[[-]++++++++++[->+++>++++>+++++++>++++++++++>+++++++++++>++++++++++++<<<<<<]>>>
++.>>>+.<++.<+.>++.<<<+++++.>----.>++++.>-----.<----.>+.+++++.<+++
+.>----.-.<--------.>--.<<<<++.[-]]>[[-]>]+++++ +++[- >++++ ++++< ]>++. <++++ ++[-> +++++
+<]>+ +++++ +++++ +.<++++[-> ----< ]>-.+ +++++ ++.++ +++.- ----- --.<+ ++[-> +++<] >++++
@Property404
Property404 / fizzbuzz.c
Last active April 8, 2016 15:36
Obfuscated version of FizzBuzz
#include <stdio.h>
main(_)
int
_
;{
int c=!!_;char a[]={(c<<c+c+c+c+c+c)+(c<<c+c)+c+
c,_,_};(c[a]=a[!c]+(c<<c+c+c+c+c)+(c<<c+c)-c),(*
(a+c+c)=c[a ]+c+(c<<c+c+c+c));return _<=(a[c]-(c
<<c+c)-c)?((!(_%((c<<c)+c))||!(_%((c<<c<<c)+c)))
?((c+=((!(_%((c+c)+c))))?(putchar(a[!c]),putchar
@Property404
Property404 / main.cpp
Last active March 24, 2016 01:43
Displays a sequence of factorials according to the number of arguments
#include <stdio.h>/*
main*/int
main(int
main){return
main=
main-!!
main?
main*::
main(
main-!!
@Property404
Property404 / beer.c
Last active December 3, 2023 06:18
Obfuscated 99 Bottles of Beer (compile with gcc -w --trigraphs beer.c). No semicolons, curly brackets, declarations of variable types, or numeric literals
// Are you there god??/
??=define _(please, help)
??=define _____(i,m, v,e,r,y) r%:%:m
??=define ____ _____(a,f,r,a,i,d)
main(__)<%____(!_(-~-??-((-~-??-!__<<-
??-!!__)<<-??-(!!__<<!!__))+-~-~-??--~-~
-~-~-~-~-??-(-~-~-~-~-??-!!__<<-~!!__),-
??-!__))<%??>%>_(__,___)??<____
(printf("please let me die??/r%d bottle%s"
" of bee%s""""??/n",(!(___
@Property404
Property404 / bf2c.bf
Last active March 18, 2016 14:14
Self-hosting Brainfuck to C translator
// Make Room
>>
// Take code as input
----------[++++++++++>,----------]
// New Section
>
// Prepare to print
@Property404
Property404 / bounded_flushing_input.bf
Created March 18, 2016 03:15
Bounded Flushing Input (Brainfuck)
[
# Bounded flushing input for string, (unoptimized for easy reading)
# Iterations are predetermined
# This example takes a max of four characters
# Precondition: Start at origin
# Array has empty cell before it
# Empty "array" series of cells
# Postcondition: End at origin
# All cells(except last) in "arrays" are filled with input from keyboard