Skip to content

Instantly share code, notes, and snippets.

View themultiplexer's full-sized avatar

Joshua Rutschmann themultiplexer

View GitHub Profile
@jetfir3
jetfir3 / download_workstation.sh
Last active February 13, 2026 22:39
Download VMware Workstation for Linux without a Broadcom Account
#!/usr/bin/env bash
# Download VMware Workstation for Linux
# Handles legacy versions (12.x - 17.6.3) from Cloudflare CDN cache and
# newer versions (17.6.4+) from Archive.org.
#
# Use '-k' to keep the CDN download file compressed, exiting after download. (Ignored for v17.6.4+)
# Use '-v <Version>' to specify desired version directly.
BASE_URL="https://softwareupdate-prod.broadcom.com/cds/vmw-desktop/"
@ECiurleo
ECiurleo / install_vmware_workstation_pro_17.sh
Last active February 13, 2026 20:42
Install VMware Workstation Pro 17 on Ubuntu
#!/bin/bash
# Update package lists
echo "Updating package lists..."
sudo apt update
# Install build-essential, kernel headers, and dkms
echo "Installing build-essential, kernel headers, and dkms..."
sudo apt install -y build-essential linux-headers-$(uname -r) dkms
@xenogenesi
xenogenesi / Makefile
Last active September 21, 2025 11:38
Simple QOpenGLWidget (Qt6/Qt5) test, draw an rgb triangle, handle mouse events (press, move and wheel)
all: main
USE_QT = 5
ifeq ($(USE_QT), 6)
QT6_CXXFLAGS = -I/usr/include/x86_64-linux-gnu/qt6
QT_CXXFLAGS = $(QT6_CXXFLAGS)
@shepgoba
shepgoba / yeet.c
Last active July 13, 2023 14:06
actual battery health algorithm as of ios 13.3
//requires: com.apple.private.iokit.batterydata entitlement
extern "C"
CFArrayRef IOPSCopyPowerSourcesByType(int type);
int healthPercent;
NSArray *sources = (__bridge NSArray *)IOPSCopyPowerSourcesByType(1);
NSDictionary *batteryDict = sources[0];
if (sources && sources.count && batteryDict[@"Maximum Capacity Percent"]) {
@jankais3r
jankais3r / iOS 13 Entitlements
Created May 1, 2020 12:46
iOS 13 Entitlements
//Sourced from http://newosxbook.com/ent.jl?ent=&osVer=iOS13
abs-client
absinthe-client
adi-client
allow-obliterate-device
allow-softwareupdated
appData
application-identifier
aps-connection-initiate
aps-environment
@jakeajames
jakeajames / patch.sh
Last active November 6, 2025 16:41
Make h3lix work when installed not-via-Impactor. To be used with the latest h3lix.
if [ $# != 2 ]; then
echo "Usage: $0 /path/to/input_ipa /path/to/output_ipa"
exit 1
fi
if ! [ -f $1 ]; then
echo "'$1' does not exist"
exit 1
fi
@rabssm
rabssm / ffmpegtips.txt
Last active March 2, 2025 09:37
ffmpeg tips
# Interpolate video frames for a higher frame rate
ffmpeg -i source.mp4 -filter:v minterpolate -r 25 result.mp4
ffmpeg -i source.mp4 -vf minterpolate=50,tblend=all_mode=average,framestep=2 result.mp4
# Change the framerate (to 5 fps) of an input h264 raw video and convert to mkv
ffmpeg -r 5 -i input.h264 -vcodec copy output.mkv
# Crop a video to the bottom right quarter
ffmpeg -i in.mp4 -filter:v "crop=in_w/2:in_h/2:in_w/2:in_h/2" -c:a copy out.mp4
@yunazuno
yunazuno / ethtool.py
Last active December 18, 2025 07:15
ethtool -S in Python
#!/usr/bin/env python
import socket
import fcntl
import struct
import array
SIOCETHTOOL = 0x8946
ETHTOOL_GSTRINGS = 0x0000001b
ETHTOOL_GSSET_INFO = 0x00000037
ETHTOOL_GSTATS = 0x0000001d
@holzschu
holzschu / LLVM_for_iOS.sh
Last active December 19, 2024 20:17
Cross-compiling LLVM for iOS
#! /bin/bash
curl http://releases.llvm.org/6.0.0/llvm-6.0.0.src.tar.xz -O
tar xvzf llvm-6.0.0.src.tar.xz
rm llvm-6.0.0.src.tar.xz
cd llvm-6.0.0.src
# get clang
pushd tools
curl http://releases.llvm.org/6.0.0/cfe-6.0.0.src.tar.xz -O