Skip to content

Instantly share code, notes, and snippets.

@frozenpandaman
frozenpandaman / widevine-decryption.md
Last active March 3, 2026 23:14
download videos protected with widevine DRM
@lunalucadou
lunalucadou / ProtonLaunch.sh
Last active December 21, 2024 19:00 — forked from smo0z/ProtonLaunch.sh
Proton Launch Script for Games in any Steam Library Folder
#!/bin/sh
# This is a script that allows you to easily launch Steam apps via Proton
# without going through Steam.
# It also allows you to specify specific libraries, for those who utilize
# multiple Steam library folders.
# Finally, it also makes use of curly braces for variable expansion,
# which is best-practice: https://stackoverflow.com/a/8748880
#
# To use this script:
# 1. Save it somewhere (e.g. ~/Desktop/LaunchMyGame.sh)
@roblav96
roblav96 / flash-all.sh
Last active October 21, 2023 15:00
Skip reboot while flashing Android Factory Images to dual slot Google Pixel devices
#!/bin/sh
echo "🌕 Flashing -> SLOT B"
fastboot --set-active=b
sleep 1
fastboot reboot-bootloader
sleep 10
fastboot flash bootloader bootloader-*.img
fastboot reboot-bootloader
sleep 10
@kylemanna
kylemanna / README-python-service-on-systemd-activated-socket.md
Last active January 10, 2026 01:29 — forked from drmalex07/README-python-service-on-systemd-activated-socket.md
An example network service with systemd-activated socket in Python. #systemd #python #socket #socket-activation

README

The example below creates a TCP server listening on a stream (i.e. SOCK_STREAM) socket. A similar approach can be followed to create a UDP server on a datagram (i.e. SOCK_DGRAM) socket. See man systemd.socket for details.

An example server

Create an simple echo server at ~/tmp/foo/serve.py.

// ==UserScript==
// @name test
// @author esperia
// @namespace http://d.hatena.ne.jp/esperia/
// @description テスト用のuserjs
// @include http://localhost:8080/
// @version 0.01
// ==/UserScript==
//