Skip to content

Instantly share code, notes, and snippets.

/* This is the deobfuscated version of the optimized donut.c code by
* Andy Sloane (@a1k0n).
*
* Taken from:
* https://www.a1k0n.net/2021/01/13/optimizing-donut.html
*
* Additionally, I have fixed warnings raised by the compiler.
*/
#include <string.h>
@Danct12
Danct12 / ili9341-bitbang.dts
Created May 11, 2023 10:43
SPI bitbanging and ILI9384 LCD on Sipeed M1s (and Pine64 0x64)
// SPDX-License-Identifier: (GPL-2.0+ or MIT)
/*
* Copyright (c) 2023 Danct12 <danct12/on/openbouffalo chatroom>
*
* This device tree overlay sets up spi-gpio (SPI bitbanging) and a ILI9384 LCD screen.
*/
/dts-v1/;
/plugin/;
@Danct12
Danct12 / PKGBUILD
Created November 15, 2022 11:13
jesusfuckingchristhowmanyofthesefetchscriptsdoyouneedfetch
pkgname=jfchmotfsdynfetch
pkgver=0.0
pkgrel=1
pkgdesc="Another fetch program that is absolutely minimal and doesn't get any information about your system."
arch=(any)
depends=(coreutils)
source=("$pkgname::https://pastebin.com/raw/TfDWriSm")
package() {
install -Dm755 $pkgname "$pkgdir/usr/bin/jesusfuckingchristhowmanyofthesefetchscriptsdoyouneedfetch"
@Danct12
Danct12 / halium-7-recovery.txt.exe
Created February 7, 2020 23:29
UBports Recovery on Halium 7.1
# Copyright (C) 2020 Dreemurrs Embedded Labs <github.com/dreemurrs-embedded>
HOW TO SETUP RECOVERY FOR HALIUM 7 PORTS
--------------------------
Add this to your manifest
<!-- Remotes -->
<remote name="beidl" fetch="https://github.com/fredldotme" />
<!-- Recovery -->
@Danct12
Danct12 / how_using_linux_deploy.txt
Last active August 30, 2018 07:21
How it is be to use Linux Deploy everyday
This is way all before I start doing this mainstream, feel free to read, it's stupid but yeah.
Please read the new log as it's more better and covering more stuffs:
https://github.com/Danct12/linux-deploy-in-daily-use
------------------------------------------------------
Hardware: Redmi 4X
OS: Android Nougat7.1.2, using RR ROM
Connected via VNC, now using XServer XDSL by pelya (get it on google play dammit)