Skip to content

Instantly share code, notes, and snippets.

View voidlynx's full-sized avatar
🎸
i listen to prog metal

Niko Shens voidlynx

🎸
i listen to prog metal
View GitHub Profile
@LukeZGD
LukeZGD / amogufy.sh
Last active May 12, 2023 01:32
Script for QuadtreeAmogufier
#!/bin/bash
# Script for QuadtreeAmogufier
# https://github.com/snailcon/QuadtreeAmogufier
cd "$(dirname $0)"
if [[ $1 == clean ]]; then
rm -f audio.ogg in/*.png out/*.png
exit
@voidlynx
voidlynx / PyHasher24.py
Last active May 1, 2020 17:04
The text/file hasher on Python 3
import hashlib # Import the hashlib
htype = input("FILE or TEXT? ").upper()
if htype == "FILE":
filepath = input("Filepath: ") # Asking user for the path to the file
with open(filepath, 'rb') as file:
message = file.read() # Reading the contents to 'me'
file.close() # CLosing the reading
hashtype = input("Hashing? (SHA256, MD5) ").upper() # Ask user for hashing algorythm
elif htype == "TEXT":
#!/usr/bin/env python
import sys, os, time
import tweepy
keys = dict(
consumer_key='_YOUR_CONSUMER_KEY',
consumer_secret='_YOUR_SECRET_KEY',
access_token='_YOUR_ACCESS_TOKEN',
access_token_secret='_YOUR_ACCESS_TOKEN_SECRET'
)