Skip to content

Instantly share code, notes, and snippets.

View majestrate's full-sized avatar
👀
my favorite web3 project is mTvare6/hello-world.rs

jeff majestrate

👀
my favorite web3 project is mTvare6/hello-world.rs
  • Boston, MA
  • 19:20 (UTC -04:00)
View GitHub Profile
@majestrate
majestrate / emojifier.py
Created September 26, 2021 01:38
emojifier script
#!/usr/bin/python3
#
# emojifier.py
#
# !!!! DANGER !!!!
#
# keep out of reach from children
# may cause permanent mental retardation
#
# !!!! DANGER !!!!
@majestrate
majestrate / docker-compose.yml
Created September 12, 2021 15:38
lokinet exit docker-compose.yml
version: '2'
services:
lokinet:
image: registry.oxen.rocks/lokinet-exit:latest
privileged: true
tty: true
tmpfs:
- /run
- /tmp
volumes:
@majestrate
majestrate / CODE_OF_CONDUCT.md
Last active October 22, 2018 12:52
Thy Holy Code of Conduct

First of all, love the Lord ${project_name} with your whole heart, your whole soul, and your whole strength.

Then, love your neighbor as yourself.

Do not murder.

Do not commit adultery.

Do not steal.

@majestrate
majestrate / userstyle.css
Last active July 4, 2018 13:25
fix github css
@-moz-document domain("github.com") {
.dashboard-sidebar {
float: right;
}
}
@majestrate
majestrate / pleroma-onion.sh
Last active September 2, 2021 14:52
debian stretch auto pleroma onion script
#!/usr/bin/env bash
#
# automated onion installer
set -e
set -x
test $(id -u) = 0 || ( echo "not root" ; exit 1 );
mkdir -p /etc/apt/sources.list.d
_ensure_gpg()
{
// ==UserScript==
// @name el ebin bitchute downloader
// @namespace http://tampermonkey.net/
// @version 0.1
// @description no homo
// @author jeff@i2p.rocks
// @match https://www.bitchute.com/video/*
// @grant none
// ==/UserScript==
@majestrate
majestrate / js_svg.py
Last active April 18, 2017 02:58
script to modify an svg to have js in it
#!/usr/bin/env python3
#
# tool to backdoor svg with js
#
# usage: ./js_svg.py input.svg payload.js > output.svg
#
from bs4 import BeautifulSoup as BS
from bs4 import CData
@majestrate
majestrate / svghell.py
Last active April 11, 2022 23:45
Generate SVG XML Bomb
#!/usr/bin/env python3
# svg hell -- xml bomb generator for svg
#
# stop using SVGs
#
# usage: python3 svghell.py > evil.svg
import random
import string
@majestrate
majestrate / keybase.md
Created March 20, 2015 19:11
keybase.md

Keybase proof

I hereby claim:

  • I am majestrate on github.
  • I am ampernand (https://keybase.io/ampernand) on keybase.
  • I have a public key whose fingerprint is FFE5 E8C0 D6C6 D7FA C098 C6EA AB95 0234 D6EA 286B

To claim this, I am signing this object:

BEWARE: THIS GUIDE IS OUTDATED
#
# this is a howto for an i2p inproxy from the best of my recollection
# you will need: nginx, squid3, polipo, i2p and a good vps provider that doesn't suck ass
#
# this setup uses nginx as load balancer + logger, squid for transparent proxy and polipo for interfacing with i2p socks proxy
#
# client => nginx -> squid -> polipo -> i2p socks -> i2p => eepsite
#