Skip to content

Instantly share code, notes, and snippets.

@maxrodrigo
maxrodrigo / git-split-and-push.sh
Last active August 28, 2024 08:29
Split a repository into batches to avoid `pack exceeds maximum allowed size` on push
# Split a repository into batches to avoid `pack exceeds maximum allowed size` on git push
REMOTE=origin
BRANCH=$(git rev-parse --abbrev-ref HEAD)
BATCH_SIZE=500
# check if the branch exists on the remote
if git show-ref --quiet --verify refs/remotes/$REMOTE/$BRANCH; then
# if so, only push the commits that are not on the remote already
range=$REMOTE/$BRANCH..HEAD
@XSystem252
XSystem252 / RaspberryPi4Archlinux64EncryptionUSBBootBtrfsGuide.md
Last active September 14, 2024 19:37
How To Set Up a Raspberry Pi 4 with Archlinux 64-bit (AArch64) and Full Disk Encryption (+SSH unlock), USB Boot (No SD-Card) and btrfs

How To Set Up a Raspberry Pi 4 with Archlinux 64-bit (AArch64) and Full Disk Encryption (+SSH unlock), USB Boot (No SD-Card) and btrfs

Written by: XSystem
First published on: 20 Dec 2020
Last updated on: 20 Dec 2020

[0] Introduction

Overview

@ndeadly
ndeadly / sysmodules.txt
Last active September 18, 2024 09:36
switch sysmodules
/* Nintendo sysmodules */
0100000000000000 fs
0100000000000001 ldr
0100000000000002 ncm
0100000000000003 pm
0100000000000004 sm
0100000000000005 boot
0100000000000006 usb
0100000000000007 tma.stub/htc.stub
0100000000000008 boot2
@SebaUbuntu
SebaUbuntu / README.md
Last active November 14, 2024 09:09
Generate framework compatibility matrix from fqnames

Generate framework compatibility matrix from fqnames

  • Download these 2 files
  • Compile AOSP without fcm from stock and wait for check_vintf to error out
  • Delete Python prefix from all lines (e.g. checkvintf E 06-24 00:30:22 49120 49120 check_vintf.cpp:554])
  • Paste the result in fqnames.txt
  • Launch the script
@JulyIghor
JulyIghor / firetv_firmware.md
Last active November 13, 2024 02:10
Amazon Fire TV Stick 4K Firmware and apps. Official Cloud Front direct links only

FireTV 2nd gen Cube Firmware
github.com/Pro-me3us/raven_firmware

Fire TV Stick 4K Firmware

Date Version Download MD5
2019-05-24 Fire OS 6.2.6.4 (NS6264/1995) update-kindle-mantis-NS6264_user_1995_0002449984388.bin bfd8358014e3d36e8fa6f06fbf9ec0e4
2019-08-20 Fire OS 6.2.6.5 (NS6265/2157) update-kindle-mantis-NS6265_user_2157_0002852679044.bin 09289b141c8339fe675cb0204689071f
2019-10-09 Fire OS 6.2.6.6 (NS6266/2292) [update-kindle-mantis-NS6266_user_2292_0003054040196.bin](https://d1s31zyz7dcc2d.cloudfront.net/0136f0aae52d9777b27399ed9ea7d13e/update-kindle-mantis-NS6266_use
@ZenithalHourlyRate
ZenithalHourlyRate / GUD.md
Last active July 19, 2024 19:43
Use old phone as a second display: USB GUD with postmarketOS

Demo

Xiaomi Redmi 2 with resolution 1280x720 (GUD RGB565 with compression)

9.mp4
10.mp4