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 bash | |
### Ghidra project bulk file import with DLL library resolution | |
### Warning, this file takes bloody ages to run! (40 minutes for 140 files) | |
### ... but it's still faster than using the GUI! | |
### Leigh Oliver 23rd September 2024 | |
### | |
### EXAMPLE USAGE | |
# Import one file... | |
# ./import.sh ./MyProject.gpr ./coredll.dll | |
# Import a list of files... |
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 bash | |
### svgbob live preview ### | |
# DESCRIPTION | |
# Runs svgbob_cli whenever a file is changed (specified at launch) | |
# and open it with eog (eye of gnome) | |
# AUTHOR | |
# Leigh Oliver, 18/12/2022 | |
# USAGE |
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/bash | |
# Auto rotate screen based on device orientation | |
# based on https://linuxappfinder.com/blog/auto_screen_rotation_in_ubuntu | |
# install | |
# 1. apt-get install iio-sensor-proxy inotify-tools | |
# 2. add script to autostart | |
# Receives input from monitor-sensor (part of iio-sensor-proxy package) | |
# Screen orientation and launcher location is set based upon accelerometer position |
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/python3 | |
import dbus, dbus.mainloop.glib, sys | |
from gi.repository import GLib | |
import datetime | |
from math import floor | |
track_dur = 0 | |
def on_property_changed(interface, changed, invalidated): | |
global track_dur |
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
// Our super ultra fast input register | |
#define GPIO_IN READ_PERI_REG(0x60000318) | |
#define CHAN0 D1 | |
#define CHAN1 D2 | |
#define CHAN2 D3 | |
#define CHAN3 D4 | |
#define CHAN4 D5 | |
void setup() |
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
# **************************************************************************** | |
# TRASHY LITTLE SUBROUTINES | |
# **************************************************************************** | |
# ASTRONAUT: PLEASE CRANK THE | |
# SILLY THING AROUND | |
# OFF TO SEE THE WIZARD ... | |
# PROCEED SEE IF HE'S LYING |