Skip to content

Instantly share code, notes, and snippets.

View digitalcircuit's full-sized avatar

Shane Synan digitalcircuit

View GitHub Profile
@DavidBuchanan314
DavidBuchanan314 / widevine_fixup.py
Last active March 20, 2024 11:56
Patch aarch64 widevine blobs from ChromeOS to work on non-ChromeOS linux, including platforms with 16K page size like Apple Silicon / Asahi Linux
"""
MIT License
Copyright (c) 2023 David Buchanan
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@bramus
bramus / bookmarklet.md
Last active August 3, 2023 16:56
Mastodon User Page Bookmarklet
@ashleykleynhans
ashleykleynhans / README.md
Last active January 24, 2024 13:27 — forked from dlage/README.md
Namecheap DNS to zone file
@Will-Beninger
Will-Beninger / Still Alive.fmf
Last active June 12, 2023 23:18
Still Alive Music from the video game Portal formatted for the Flipper Zero
Filetype: Flipper Music Format
Version: 0
BPM: 120
Duration: 4
Octave: 6
Notes: 8G, 8F#, 8E, 8E, F#, 4P, 2P, 4P, 8P, 8A5, 8G, 8F#, 8E, E, 8F#, P, D, 8E, 8A5, 2P, P, 8P, 8A5, E, 8F#, 3G, 8E, C#, 3D, E, 8A5, A5, F#, 8P, 2P, 2P, 8G, 8F#, 8E, 8E, F#, 4P, 2P, 4P, 8P, 8A5, 8G, 8F#, 8E, 8E, 4P, 8F#, 8D, 4P, 8E, 8A5, 1P, E, 8F#, 3G, 8E, 4C#, 8D, 8E, 8P, 8A5, 8D, 8E, 8F, 8E, 8D, 8C, 4P, 8A5, 8A#5, C, F, 8E, 8D, 8D, 8C, 8D, 8C, C, C, 8A5, 8A#5, C, F, 8G, 8F, 8E, 8D, 8D, 8E, F, F, 8G, 8A, 8A#, 8A#, A, G, 8F, 8G, 8A, 8A, G, F, 8D, 8C, 8D, 8F, 8F, E, 8E, 8F#, 3F#, 8F#, 8D, 8B5, 8D, 8F#, 8D, 8A5, 8D, 8F#, 8D, 8B5, 8D, 8F#, 8D, 8A5, 8D, 8F#, 8D, 8B5, 8D, 8F#, 8D, 8A5, 8D, 8F#, 8A5, 8G, 8F#, 8E, 3E, F#, 8P, 2P, 2P, 8G, 8F#, 8E, 3E, 8F#, D, E, 3A5, 4P, 2P, E, 8F#, 3G, E, C#, 8D, 3E, 8A5, 3A5, F#, 8P, 2P, 4P, 8P, 8A5, 8G, 8F#, 8E, 8E, F#, 4P, 4P, 8P, 8P, 4P, 8P, 8A5, 8G, 8F#, 8E, 8E, 4P, 8F#, 8D, 4P, 8E, 8A5, 1P, E, 8F#, 3G, E, C#, 8D, 8E, 8P, 8A5, 8D, 8E, 8F, 8E, 8D, 8C, 4P, 8A5, 8A#5, C, F, 8E, 8D, 8D, 8C, 8D, 8C, C, C, 8A5,
#include <stdio.h>
#include <glib.h>
static char *imc_away_alias_list[8][5] =
{
{ "Away from computer", "Away", "Extended away", NULL },
{ "NA", "N/A", "Not available", NULL },
{ "Busy", "Do not disturb", "DND", "Occupied", NULL },
{ "Be right back", "BRB", NULL },
{ "On the phone", "Phone", "On phone", NULL },
@Systemad
Systemad / fastbootdrescue.txt
Last active November 4, 2023 21:35
FastbootD Rescue
FastbootD Rescue:
All commands: https://source.android.com/devices/bootloader/fastbootd
### Deleted logical partition
In case you "accidentally" delete a logical partition, you won't be able to flash anything on that slot
since the partition don't exist.
In order to restore the slot to be functional you need to manually create a the new deleted logcal parition
@TehPeGaSuS
TehPeGaSuS / quasselcert_manager.sh
Last active July 19, 2023 11:02
Automate Quassel Certificate Renew with Certbot
#!/usr/bin/env sh
# Shell script to manage Quassel certificates with Let's Encrypt and Certbot
##########
# Domain/subdomain of your Quassel installation
##########
qDomain=quassel.domain.tld
##########
# Quassel configdir (usually `/var/lib/quassel' when installed via apt)
@dlage
dlage / README.md
Last active June 2, 2023 20:46 — forked from andrew-nuwber/README.md
Namecheap DNS to zone file
@popey
popey / UbuntuPostInstall.md
Last active March 27, 2021 09:20
Steps done Post-Install
jail.d/quasselcore.conf:
[quasselcore]
enabled = true
port = 6697
findtime = 3600
filter = quasselcore
logpath = /var/log/messages
maxretry = 2
filter.d/quasselcore.conf: