Skip to content

Instantly share code, notes, and snippets.

View JakeTrock's full-sized avatar

Jacob Trock JakeTrock

View GitHub Profile
@JakeTrock
JakeTrock / start.html
Created May 30, 2024 17:11
my start page
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jake's StartPage</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 20px;
@JakeTrock
JakeTrock / dvdumpr.sh
Last active November 16, 2022 04:42
automatic DV tape dumper(UNTESTED)
dvgrab --autosplit --format dv2 dvgrab-
touch dvg-files.txt
find -name "dvgrab-*" -exec echo {} >> dvg-files.txt \;
ffmpeg -f concat -safe 0 -i dvg-files.txt -c copy dvg-out-lossless.avi
ffmpeg -i dvg-out-lossless.avi -deinterlace -vcodec h264 -acodec mp3 dvg-compressed-out.mp4
rm dvgrab-*
rm dvg-files.txt
find -name "*" -exec fontforge -lang=ff -c 'Open($1); Generate($2); Close();' {} {}.bdf \;
@JakeTrock
JakeTrock / main.py
Last active September 19, 2022 02:20
Slimmed down vnc scanner
#!/usr/bin/env python
# By Jonathan F.
import curses
import sys
import getopt
import netaddr
import threading
import time
import ping3
import socket
@JakeTrock
JakeTrock / salvagedv.py
Created September 14, 2022 14:26
NOT MY SCRIPT(just saving it from being lost on kinodv.org) This utility will search any file and look for what appears to be a DV video frames and copy them into a new Raw DV file.
#!/usr/bin/env python
"""
This utility will search *any* file and look for what *appears* to be a DV
video frames and copy them into a new Raw DV file.
Written by Dan Dennedy <dan@dennedy.org>
"""
import sys
def is_dv_1(s):\
1. magisk monkey biznizz
1.5 sometimez ya need to run adb kill-server && sudo adb start-server to unjam adb
2. adb reboot bootloader
3. sudo fastboot devices
3.5 ya mite needa run sudo fastboot flashing unlock
4. sudo fastboot flash boot ./magisk_patched-24300_XJUtv.img
5. KERBANG(reboot ya fone)
find -name "*" -exec convert {} -strip -quality 86 {}.webp \;
@JakeTrock
JakeTrock / potatofier.sh
Last active June 17, 2023 17:01
video potatofier
for f in *.mp4 ; do ffmpeg -i "$f" -crf 28 -preset veryslow -ab 128k -vf fps=12 -vn -map 0:0 -codec:a copy -map_metadata -1 "./out/${f%.*}.mkv"; done
#/bin/bash
curl https://boot.netboot.xyz/ipxe/netboot.xyz.efi
sudo mkdir /boot/efi/EFI/rescue
sudo cp ./netboot.xyz.efi /boot/efi/EFI/rescue/
efibootmgr --create --disk /dev/sdx --part [EFI_PARTITION_NUMBER] --loader /EFI/rescue/netboot.xyz.efi --label "Netboot.xyz"
@JakeTrock
JakeTrock / mp3strip.sh
Last active January 1, 2022 22:13
makes an mp3 as small as possible with ffmpeg
mkdir filtered && for f in *.mp3 ; do ffmpeg -i "$f" -ab 128k -map_metadata -1 "./filtered/${f%.}.opus"; done