Skip to content

Instantly share code, notes, and snippets.

View jakedolan443's full-sized avatar

jakedolan443

View GitHub Profile
@jakedolan443
jakedolan443 / Firejail_Firefox_KeePassXC_Solution.md
Created June 28, 2025 20:50
Firejail Firefox with KeepassXC solution

Using firejail with firefox-esr works nicely, but will cause issues if you try to host a local KeePassXC instance.

Solution

Continue to use the default firejail profile for firefox, but in the file /etc/firejail/firefox-common.profile, comment out this single line:

#include disable-common.inc
#!/bin/bash
#
# File: CallSignal.sh
# Author: Jake Dolan ([email protected])
#
# Purpose: Listen for incoming SIP signals on
# a specified address and send a
# TCP signal to another address when
# detected. (Optional) Can be disabled
# for specified time periods.

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
@jakedolan443
jakedolan443 / main.py
Created April 4, 2023 15:21
Laser module transmission script
import RPi.GPIO as GPIO
import time, random
import os, subprocess
from threading import Thread
GPIO.setmode(GPIO.BOARD)
GPIO.setwarnings(False)
import sys,tty,os,termios
from keypresses import getkey
@jakedolan443
jakedolan443 / peluno_systemd.service
Created July 22, 2022 09:39
Peluno Systemd File
[Unit]
Description=Peluno
After=network.target
[Service]
Type=simple
ExecStart=/bin/python3 /path/to/peluno.py
Restart=always
[Install]
@jakedolan443
jakedolan443 / install.txt
Created March 25, 2022 23:25
SwiperProxy install script
apt-get install build-essential cython python python-dev python-ipy
mkdir /opt/SwiperProxy
wget https://github.com/SwiperProxy/swiperproxy/archive/v1.1.tar.gz \
-O /usr/local/src/swiperproxy-v1.1.tar.gz
tar -zxvf /usr/local/src/swiperproxy-v1.1.tar.gz
mv /usr/local/src/swiperproxy-v1.1 /opt/SwiperProxy/swiperproxy
/opt/SwiperProxy/swiperproxy/include/streamhtmlparser/configure
## EXECUTE AS SELF