This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
====== DESCRIPTION ======== | |
Early Feburary 2022 Thingiverse requires ad-blockers to be disabled to | |
download their files. | |
This is very very annoying so I wrote this script to pull them directly | |
Side note: I am blocking ads a network level, so even "Disabling" my local | |
ad-blocker still causes their checks to fail. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
SWAPSIZE=3 # IN GB | |
SYSTEM_NAME=aerozine # Hostname and used in ZFS structure (zroot/sys/${SYSTEM_NAME}/ROOT/default) | |
USER=xunil # Initial admin user for the system | |
# Archlinux on ZFS Root on LUKS setup script (v1.0) | |
# | |
# USAGE: ./ArchLinux_ZFS_LUKS_Setup.sh /dev/sda | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=BITLSHIFT(INT(MID($I2,1,FIND(".",$I2,1)-1)),24)+BITLSHIFT(INT(MID($I2,FIND(".",$I2)+1,FIND(".",$I2,FIND(".",$I2)+1)-FIND(".",$I2)-1)),16)+BITLSHIFT(INT(MID($I2,FIND(".",$I2,FIND(".",$I2)+1)+1,FIND(".",$I2,FIND(".",$I2,FIND(".",$I2)+1)+1)-FIND(".",$I2,FIND(".",$I2)+1)-1)),8)+INT(MID($I2,FIND(".",$I2,FIND(".",$I2,FIND(".",$I2)+1)+1)+1,LEN($I2)-FIND(".",$I2,FIND(".",$I2,FIND(".",$I2)+1)+1)-1)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2.7 | |
""" | |
Dependencies: | |
* Python Image Library (PIL) | |
* Xlib | |
* feh (system command) | |
This script crawls recursivly through the directory provided as the first | |
argument and looks for any files matching the extensions: jpg, png, jpeg, tiff |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2.7 | |
import sys | |
import re | |
single_gram = {} | |
bigram = {} | |
trigram = {} | |
def filter_line(line): |