Skip to content

Instantly share code, notes, and snippets.

@yashlearnpython
yashlearnpython / Cleanup_Space_In_macOS_Runner.md
Last active May 12, 2021 10:39 — forked from rokibhasansagar/Cleanup_Space_In_macOS_Runner.md
Android ROM Build Environment Setup Helper on GitHub Actions macOS SSH using https://github.com/Area69Lab/macOS-SSH

Cleanup Some Space First

{
  echo "will cite" | parallel --citation
} &>/dev/null
parallel --jobs 200% sudo rm -rf {} 2>/dev/null ::: ~/hostedtoolcache/*
brew update &>/dev/null
brew uninstall -q --force --zap --cask chromedriver firefox google-chrome julia microsoft-auto-update microsoft-edge session-manager-plugin r soundflower 2>/dev/null
brew uninstall -q --force --zap aliyun-cli ant aspell aws-sam-cli azure-cli bazelisk carthage composer fontconfig freetds freetype gcc@8 gd geckodriver gh gradle helm httpd hub jpeg libpq libtiff llvm maven mongodb-community mongodb-database-tools nginx node@14 openjdk packer php pipx postgresql python@3.8 rustup-init selenium-server-standalone subversion tidy-html5 unixodbc webp switchaudio-osx sox go ruby@2.7 2>/dev/null
@yashlearnpython
yashlearnpython / build.txt
Created April 12, 2021 04:43
How to build GSIs from product partition firmwares
A Partition merger script is also available to automatically merge product partition.
I have attached the file (makedynamic.sh) in this gist, you can also find it here in ErfanGSIs group - https://t.me/ErfanGSIs/528324
Usage:
sudo ./makedynamic.sh <Firmware Type> [Path to Firmware]
V2 Changelog:
- Tested Pixel and OxygenOS support
- Fixed Syntax errors
@yashlearnpython
yashlearnpython / hh_repart
Created March 16, 2021 11:56 — forked from pexcn/hh_repart
System partition resize script for Nexus 5.
#!/sbin/sh
#
# Copyright (C) 2018 Unlegacy Android Project
# Copyright (C) 2018 Svyatoslav Ryhel
# Copyright (C) 2019 Nick80835
# Copyright (C) 2019 z3dd3r
#
# Made for Hammerhead
#