Skip to content

Instantly share code, notes, and snippets.

View arminask's full-sized avatar
🐒

Arminas Keršys arminask

🐒
View GitHub Profile
from argparse import ArgumentParser
from typing import Any
def ParseArgs():
parser = ArgumentParser()
parser.add_argument('-i', dest="UefiPlatPath", required=True)
return parser.parse_args()
class MemoryDescriptor:
def __init__(self, name, space, base, size, hob_option, resource_attribute, arm_attribute, resource_type, cache_type):
#!/bin/bash
set -e -o errexit -o pipefail -o nounset
###################################
# This script can be used by itself, but it's recommended that you read
# a tutorial on Proxmox forum first: https://forum.proxmox.com/threads/hey-proxmox-community-lets-talk-about-resources-isolation.124256/
###################################
# Do not modify these variables (set by Proxmox when calling the script)
vmId="$1"
@mvaisakh
mvaisakh / Bringup.md
Last active November 14, 2024 14:22
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.

@FreddieOliveira
FreddieOliveira / docker.md
Last active November 15, 2024 06:39
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

#!/usr/bin/env python3
import gzip
import os
import shutil
import subprocess
import tarfile
import zipfile
from defusedxml import ElementTree
import yaml