Skip to content

Instantly share code, notes, and snippets.

@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)
@0xdevalias
0xdevalias / reverse-engineering-webpack-apps.md
Last active March 7, 2026 02:53
Some notes and techniques for reverse engineering Webpack (and a little bit about React/Vue/Angular) apps
@DavidBuchanan314
DavidBuchanan314 / widevine_fixup.py
Last active December 24, 2025 21:09
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
@maxwellmlin
maxwellmlin / LPX-Trial-Reset.sh
Created April 14, 2021 03:46
Logic Pro X Trial Reset
mv -v ~/Library/Application\ Support/.lpxuserdata ~/.Trash
@akihikodaki
akihikodaki / README.en.md
Last active March 11, 2026 03:20
Linux Desktop on Apple Silicon in Practice

Linux Desktop on Apple Silicon in Practice

NOTE: Time flies, and it's been almost five years(!) since I wrote this. Beaware the text below is now outdated (e.g., now Asahi Linux has graphics acceleration even better than this). The commands listed are up-to-date.

I bought M1 MacBook Air. It is the fastest computer I have, and I have been a GNOME/GNU/Linux user for long time. It is obvious conclusion that I need practical Linux desktop environment on Apple Silicon.

@zserge
zserge / guest.S
Created May 10, 2020 08:41
A tiny KVM host to run a 16-bit real mode "kernel"
# A tiny 16-bit guest "kernel" that infinitely prints an incremented number to the debug port
#
# Build it:
#
# as -32 guest.S -o guest.o
# ld -m elf_i386 --oformat binary -N -e _start -Ttext 0x10000 -o guest guest.o
#
.globl _start
@m4dEngi
m4dEngi / uBootstrap.cpp
Last active December 7, 2022 10:43
Bare minimum steam client bootstrapper. Can be used as drop-in replacement for steam main executable. (windows only)
#include <iostream>
#include <Windows.h>
#define export extern "C" __declspec(dllexport)
typedef void (*SteamUIMainFn) (int, char**);
typedef enum ELauncherType
{
k_ELauncherTypeDefault, // default
@smo0z
smo0z / ProtonLaunch.sh
Last active June 12, 2025 09:55
Proton Launch Script
#!/bin/sh
# Application path
APP_PATH="$(dirname "${BASH_SOURCE[0]}")"
cd "$APP_PATH"
# Executable file
APP_EXEC="$APP_PATH/.exe"
# Steam / IDs
@awork911
awork911 / autoplay.js
Created February 15, 2018 00:09
Autoplay openload videos
// ==UserScript==
// @name [KissAnime] AutoPlay & Auto Next Episode
// @namespace https://greasyfork.org/users/152412
// @version 0.11
// @description AutoPlay & Automatically move to the next episode. (all servers)
// @author Skqnder
// @license MIT
// @match *://kissanime.ru/Anime/*/*
// @match *://openload.co/embed/*/*
// @match *://www.rapidvideo.com/e/*
@douglasmiranda
douglasmiranda / pdf-to-svg.md
Last active March 14, 2026 22:06
About PDF to SVG converters

Update in 2024

In 2024 I'm actually having a good time using mupdf.

About my experience with mupdf:

It's written in C, but you can use it in many ways. Command line, python lib (pymupdf), js, and others.

I still coundn't find issues that I had with other tools and weird broken PDFs, so I'd say pretty good.