This file contains 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
➜ Desktop (master) ✗ cat tld.py | |
import pytesseract | |
import opcodes | |
import subprocess | |
from PIL import Image | |
CONFIG="-c tessedit_char_whitelist=ABCDEFGHIJKLMNOPQRSTUVWXYZ" | |
if __name__ == "__main__": | |
image = Image.open('EdhXlaiWAAEiElZ.png') |
This file contains 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
import sys | |
from elftools.elf.elffile import ELFFile | |
PAGE_SIZE = 0x1000 | |
if __name__ == '__main__': | |
flags2str = ['---', '--x', '-w-', '-wx', 'r--', 'r-x', 'rw-', 'rwx'] | |
if len(sys.argv) != 2: | |
sys.exit(1) |
This file contains 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
from matplotlib import pyplot as plt | |
from matplotlib import style | |
from scipy import signal | |
import numpy as np | |
FREQUENCY = 440 # A3 | |
RATE = 44100 | |
DURATION = 2 # seconds | |
NR_SAMPLES = DURATION * RATE |
This file contains 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/bash | |
git clean -f -d -x | |
make tinyconfig && cat >> .config <<EOF | |
CONFIG_64BIT=y | |
CONFIG_CRYPTO=y | |
CONFIG_CRYPTO_SHA256=y | |
CONFIG_X86_SGX=y | |
CONFIG_DEBUG_INFO=y |
This file contains 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 | |
SOUND_CARD=$1 | |
SAMPLE_RATE=$2 | |
FRAMES_PER_INT=$3 | |
FRAME_SIZE=$4 | |
# Use the ALSA backend. | |
jack_control ds alsa |
This file contains 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
kr:x509_check_for_self_signed | |
{ | |
printf("%d\n", retval); | |
} |
This file contains 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
# 0x01 view | |
# Ox02 read | |
# 0x04 write | |
# 0x08 search | |
# 0x10 link | |
# 0x20 setattr | |
# | |
# A key default permissions: 0x3f010000 | |
# A keyring default permissions: 0x3f3f0000 |
This file contains 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/bash | |
find $HOME -perm /o=rwx -type f -not -path "$HOME/pCloudDrive/*" -print0 | xargs -0 chmod o-rwx | |
find $HOME -perm /o=rwx -type d -not -path "$HOME/pCloudDrive/*" -print0 | xargs -0 chmod o-rwx |
This file contains 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
# Audient EVO4 | |
ATTRS{idVendor}=="2708", ATTRS{idProduct}=="0006", ENV{PULSE_IGNORE}="1" | |
# Intel Corporation Comet Lake PCH cAVS | |
ATTRS{vendor}=="0x8086", ATTRS{device}=="0x06c8", ENV{PULSE_IGNORE}="1" | |
# NVIDIA Corporation TU106 High Definition Audio Controller | |
ATTRS{vendor}=="0x10de", ATTRS{device}=="0x10f9", ENV{PULSE_IGNORE}="1" |
This file contains 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
date +"%Y%m%d_%k" |
OlderNewer