Skip to content

Instantly share code, notes, and snippets.

View M4cs's full-sized avatar

Max Bridgland M4cs

View GitHub Profile
@veritas06
veritas06 / Rabbit_r1-Android_Guide.md
Last active September 16, 2024 00:19
Instructions to get stock Android or LineageOS21 on the Rabbit r1 (July 2024)

Android on Rabbit r1

Created: July 01, 2024

Last Edited: August 01, 2024

NOTICE: Should go without saying, but I am not responsible for your device. Below are the notes I've used to get my own Rabbit r1 running with the r1_escape image & LineageOS. You should have a vague idea of what you're doing before jumping into any of this, & make sure you have a stock backup before changing anything.

System Backup

  • Before making any changes, make sure you backup your stock partitions with MTKClient
  • ./mtk rl --skip userdata "path/to/backup"
@M4cs
M4cs / ETHScriptions.js
Last active June 19, 2023 15:37
Create an ETHScription
const ethers = require('ethers');
const privatekey = '0X_PRIVATE_KEY';
const provider = new ethers.JsonRpcProvider('ALCHEMY_OR_INFURA_KEY');
const wallet = new ethers.Wallet(privatekey, provider);
// ETHScript an Image
const file = 'IMAGE_PATH.png';
const image = new Buffer(fs.readFileSync(file)).toString('base64');
const formatted = `data:image/png;base64,${b64}`
@M4cs
M4cs / Installing Mods-Maps from Mod.io.md
Last active July 6, 2020 18:58
Installing Mods/Maps from Mod.io

Installing Mods/Maps from Mod.io

For Maps/Gear/Non-Mods:

  1. Download the .zip file from Releases:

  1. Unzip the file and drag into respective directory.