Skip to content

Instantly share code, notes, and snippets.

View cole-h's full-sized avatar
🦀
+ ❄ = ❤

Cole Helbling cole-h

🦀
+ ❄ = ❤
View GitHub Profile
@sinceohsix
sinceohsix / Installing LiveContainer+Sidestore.md
Last active October 23, 2025 08:06
Installing LiveContainer+SideStore from start to finish.

A Guide to Setting up Sidestore + LiveContainer

Works on the latest iOS versions, including iOS 26 db8.

Hello r/sideloaded!

After the mass revocation wave I decided to make this guide to help people sideload apps using an alternative method. A method that is 100% revoke free, costs nothing, and requires a computer only one time (for initial setup)!

After following this guide you will not need to worry about the 3 app limit OR refreshing every 7 days. You will be able to install as many apps as you want and they should not ever expire. This is a completely free method.

Here is what we will go over in this guide:

@thoughtpolice
thoughtpolice / jjconfig.toml
Last active October 10, 2025 12:14
my jujutsu config
## ------------------------------------------------------------------------------------------------
# Schema published automatically on the website. This allows TOML language
# servers to autocomplete and show documentation for the entries below.
#
# I use the prerelease version as my builds on my machines are often from trunk.
"$schema" = "https://jj-vcs.github.io/jj/prerelease/config-schema.json"
## ------------------------------------------------------------------------------------------------
## ---- Basic settings
@LnL7
LnL7 / config.json
Created June 17, 2020 20:54
OfBorg Configuration
{
"runner": {
"identity": "test-builder"
},
"checkout": {
"root": "/tmp/ofborg"
},
"nix": {
"system": "x86_64-linux",
"remote": "daemon",
@LnL7
LnL7 / update
Last active July 13, 2020 12:33
Git deploy hook
#!/usr/bin/env bash
set -e
BRANCH=master
TARGET=/etc/nixos
ref="$1"
oldrev="$2"
newrev="$3"
{
# FIXME: do this properly and contribute
systemd.services.zfs-mount.requires = [ "zfs-import.target" ];
systemd.services.zfs-mount.wantedBy = [ "local-fs.target" ];
}
{
services.nginx.virtualHosts."hostname".locations."/prometheus".proxyPass = "http://127.0.0.1:9090";
services.prometheus.enable = true;
services.prometheus.stateDir = "prometheus2";
services.prometheus.extraFlags = [ "--web.external-url=http://hostname/prometheus/" "--storage.tsdb.retention.time=3d" ];
services.prometheus.scrapeConfigs = [
{
job_name = "node";
static_configs = [{ targets = ["hostname:9100"]; labels.distro = "nixos"; }];
@lheckemann
lheckemann / 0-nixos-tmpfs.md
Last active July 11, 2023 11:58
NixOS: switch-root to tmpfs

Build a NixOS config, copy it to a tmpfs, and enter it, shutting the running userspace (but not the kernel) down. This can be useful e.g. for repartitioning the system or switching it to a new zfs pool, without the need for extra installation media, and is a little faster than most other volatile system methods (e.g. kexec, classic USB or CD installer), since the store is in RAM and uncompressed right from the get-go. It also copies the SSH host keys from the building system to maintain the chain of trust in a remote system.

# The following is adapted from https://github.com/reswitched/loaders/blob/master/nxo64.py
#
# ===========================================================================================
#
# Copyright 2017 Reswitched Team
#
# Permission to use, copy, modify, and/or distribute this software for any purpose with or
# without fee is hereby granted, provided that the above copyright notice and this permission
# notice appear in all copies.
#
###############################################
# TX SX OS unpacker - by hexkyz and naehrwert #
###############################################
from Crypto.Cipher import AES
from Crypto.Util import Counter
import os
import struct
"""