Skip to content

Instantly share code, notes, and snippets.

/*
A simple little editor extension to copy and paste all components
Help from http://answers.unity3d.com/questions/541045/copy-all-components-from-one-character-to-another.html
license: WTFPL (http://www.wtfpl.net/)
author: aeroson
advise: ChessMax
editor: frekons
*/
#if UNITY_EDITOR
@masemoel
masemoel / BuildGuide.txt
Last active November 9, 2025 12:07
How to build an A14+ ROM from scratch under Ubuntu 24.04 (or based)
To build a A14+ (AOSP/LOS based) on Ubuntu 24.04+ (or distros based on it), there are four main steps:
(This guide is applicable for recoveries as well (TWRP, OFRP...))
Working on Android 14 and upper
#################################################################
# Step 1: Setup your environment #
#################################################################
****Setup Linux to build Android****
@burasuk
burasuk / backup.sh
Created June 25, 2020 10:47
simple differential backup based on tar
#!/bin/sh
DATE=`date +%Y-%m-%d__%H-%M`
BACKUP_NAME=$DATE.tar.gz
DIR_TO_BACKUP='dir/to/backup'
# next differential backup
tar -czg snapshot.snar -f $BACKUP_NAME $DIR_TO_BACKUP
@BretFisher
BretFisher / docker-for-mac.md
Last active January 18, 2026 22:33
Getting a Shell in the Docker Desktop Mac VM

2021 Update: Easiest option is Justin's repo and image

Just run this from your Mac terminal and it'll drop you in a container with full permissions on the Docker VM. This also works for Docker for Windows for getting in Moby Linux VM (doesn't work for Windows Containers).

docker run -it --rm --privileged --pid=host justincormack/nsenter1

more info: https://github.com/justincormack/nsenter1