Skip to content

Instantly share code, notes, and snippets.

View eepymeowers's full-sized avatar
:octocat:
Octocat

eepymeowers System eepymeowers

:octocat:
Octocat
  • none
View GitHub Profile
@eepymeowers
eepymeowers / Make a Android ROM.md
Last active September 20, 2025 19:01
A (hopefully) comprehensive guide on how to build Android for a device (WIP!!!!!)

How to build Android for a device

Pre-requisites

Make sure the machine you'll be building on has the recommended requirements; the bare minimum is 32GB RAM, if you are going to use zram during the build. Decreasing the job count will help with RAM usage, and could even possibly get it to build on 8GB RAM, but I recommend 48GB or more of RAM.

Create the directory you'll do your build in with mkdir crDroid && cd crDroid (substitute crDroid for whatever you want the folder to be called, it doesn't need to be called anything specific)

For Debian 12 and newer (as of Feb 2025) (or any distro based on Debian 12 or newer, with these packages in the repos) run this: sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git git-lfs gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev After this is install

@aishenreemo
aishenreemo / ascii-bad-apple.md
Last active October 14, 2025 22:50
ascii-bad-apple

ASCII Art Bad Apple

Here is a step-by-step procedure on how to play Bad Apple on your Linux terminal (could also work with any video you want if you use your common sense).

  1. Install these tools.
  • ffmpeg: Processes the Video into series of images/frames.
  • jp2a: Image to ASCII Art converter.
  • python: ASCII Art video player.
  • python-pygame: Just to play sound asynchronously.
  • yt-dlp: Download videos from Youtube.
@macshome
macshome / defang.md
Last active November 13, 2025 10:20
How to defang system protections on macOS

How to Defang macOS System Protections

If you want to change things on the root drive of a Mac you will need to take some steps to disable the built in security of the system. Most of these steps are the same regardless if you are on Intel or Apple Silicon. If there is a difference it is noted.

Note that all of these things put a Mac into an unsupported and less secure state.

Make sure you either perform these steps in a VM or that you reset the protections after you are done poking around

Protections and Terms

(This list is not exahustive on the details of each. Check the links at the end for more info.)

@mvaisakh
mvaisakh / Bringup.md
Last active November 25, 2025 06:47
An Android Device Tree Bringup Guide

A small Device Tree Bringup Guide

Introduction

So, you guys might be wondering, how do these "Developers" get your favourite Custom roms, such as LineageOS, Paranoid Android etc., to their own devices. Well I'm here to Guide you on how to do it, specifically on how to bringup or make your own device tree from scratch or adapting.

Gist of this Guide: This is for people with genuine interest in Android OS porting/development. After going through this guide, you should be able to do a total device tree bringup on your own.

Prerequisite: Certain requirements are to be met before you start with this amazing journey.

@andresbott
andresbott / gist:6e48d4f2bfb70767319d
Created November 3, 2015 17:37
64bit GNU/Linux and Webcams (Logitech Quickcam Express)
Copied from here: https://www.martineve.com/2011/09/25/64bit-gnulinux-and-webcams-logitech-quickcam-express/
```
I've just been playing around with my webcam, which I haven't hooked up in ages, and was unable to get it working under my 64bit Fedora installation. Having done a bit of reading, and having found that some applications can use the camera, I worked out the solution.
32bit applications need to have the 32bit library put into their LD_PRELOAD environment variable.
This will work only if your camera is being correctly detected, but doesn't seem to work in certain apps. To check, run dmesg and look for the following output:
[ 2.878055] usb 2-4: New USB device found, idVendor=046d, idProduct=0928
[ 2.878261] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
http://dl.airserver.com/mac/AirServer-5.3.2.dmg
Your Activation Code is:
4MVPDGD68GRRCC8VJ4