Skip to content

Instantly share code, notes, and snippets.

@veritas06
veritas06 / Rabbit_r1-Android_Guide.md
Last active November 2, 2024 06:45
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"
@krtschmr
krtschmr / gist:9e7b297763901efbe6cf02b4cb13ae5f
Last active August 29, 2024 16:43
qrcode with css helper
module QrCodeHelper
def qr_code(string, options={})
base_size = options.fetch(:width, 200)
@qr_logo = options.fetch(:logo, "qr_code_logo.png")
@qr_logo_size = options.fetch(:logo_size, 48)
level = options.fetch(:level, :l)
@qr_data = RQRCode::QRCode.new(string, level: level).to_s.split("\n").collect(&:chars)
@qr_size = @qr_data.size
@johnmegahan
johnmegahan / functions.php
Created January 12, 2012 01:50
Extended Walker class for use with the Twitter Bootstrap toolkit Dropdown menus in Wordpress.
<?php
add_action( 'after_setup_theme', 'bootstrap_setup' );
if ( ! function_exists( 'bootstrap_setup' ) ):
function bootstrap_setup(){
add_action( 'init', 'register_menu' );