Skip to content

Instantly share code, notes, and snippets.

@cryptrr
cryptrr / autopie-deb
Last active October 11, 2026 05:24
Termux deb installer for AutoPie. Rewrites termux debs to be compatible with the AutoPie app.
#!/system/bin/env python
import os
import sys
import tarfile
import tempfile
import shutil
import subprocess
import lzma
def rewrite_tar_paths_xz(input_xz_path, output_xz_path, old_prefix, new_prefix):
@ganeshan
ganeshan / OpenSourceBaas.md
Created January 10, 2025 11:40 — forked from PARC6502/OpenSourceBaas.md
List of open source, self hosted BaaS - Backend as a service

Backend as a Service

Supabase - ~52K stars

  • Designed explicitly as an open source firebase alternative
  • Typescript based
  • Docker support

Appwrite - ~32K stars

  • Written in JavaScript and PHP
  • Docker based
  • Realtime support across all services
@scyto
scyto / proxmox-backup.md
Last active August 24, 2026 01:47
setup promox backup server and synology as data store over SMB

📖 This guide has moved

The maintained version now lives at Proxmox Backup, part of scyto/homelab-docs — searchable, cross-linked, and easier to keep current.

This gist stays put so the comments below remain readable — there is a lot of useful troubleshooting in them. For corrections, please open a PR or issue on the repo.


@papes1ns
papes1ns / dexec.sh
Created May 17, 2023 02:15
dexec.sh
#!/usr/bin/env bash
set -eu # do not proceed on error
if [ $# -lt 1 ] || [ "$1" = "--help" ] || [ "$1" = "-h" ]; then
cat <<EOF
Quick command to get a shell inside a running docker container.
Usage: dexec [container_name] [command]
#!/bin/bash
curl -s -H "Authorization: Bearer $(curl -s --json '{"identifier": "aliceisjustplaying.bsky.social", "password": "letmein"}' https://bsky.social/xrpc/com.atproto.server.createSession | jq -j ".accessJwt")" "https://bsky.social/xrpc/com.atproto.server.getAccountInviteCodes" | jq -r '.codes[].uses[].usedBy' | xargs -I{} -P10 curl -s 'https://plc.directory/{}' | jq -r '.alsoKnownAs[0]' | sed -e 's#at://#@#'
@nhobson99
nhobson99 / box86 and box64 on Snapdragon Chromebooks.md
Last active July 22, 2026 18:42
Installing box86/box64 and wine on Snapdragon Chromebooks

This will be a step by step guide on exactly how I installed box86 on my Acer Spin 513 equipped with a Snapdragon 7C. This guide should work for several other Snapdragon Chromebooks, though YMMV. Mediatek devices will follow a similar setup, but you will compile the Rockchip (RK3399 or similar) version instead of SD845. Now on with the show:

Step 1 - Setting up Crostini

I've tried this on Crouton, but unfortunately it just doesn't seem to work on my ARM based Chromebook. If you have Crouton installed on an Intel Chromebook, it should work, but I'm not sure about AMD based Chromebooks, as their graphics drivers are different.

It's tempting to immediately create a new Crostini container, but that's actually not what we need here just yet. You see, box86 relies on something called binfmt-support in order to work. Inside Crostini, this means creating a "privileged" lxc container. You may want to have a separate container just for running x86 applications in; for this guide, I'll be using one called "x86" for

@kaywoz
kaywoz / GoogleDorking.md
Created June 29, 2022 10:30 — forked from sundowndev/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@MakiseKurisu
MakiseKurisu / pimox.sh
Last active December 24, 2023 06:10
Install Pimox on Rock Pi 4B+
# You will need a real Debian machine to perform cross debootstrap
# Debian on WSL does not work
# Enter root mode
sudo -i
# Define variables
TARGET=/dev/mmcblk0
MOUNT_POINT=/mnt
IP_ADDRESS=192.168.0.2