Skip to content

Instantly share code, notes, and snippets.

View rama982's full-sized avatar
💤
zzzz

Rama Bondan Prakoso rama982

💤
zzzz
  • Indonesia
View GitHub Profile
@rama982
rama982 / push.sh
Last active April 11, 2024 23:30 — forked from Yash089610/push.sh
remote: fatal: pack exceeds maximum allowed size
step_commits=$(git log --oneline --reverse refs/heads/android14-6.1-2023-11 | awk 'NR % 500000 == 0')
echo "$step_commits" | while read commit message; do git push -f rama $commit:refs/heads/android14-6.1-2023-11; done
#!/usr/bin/env bash
# --slave /usr/bin/$1 $1 /usr/bin/$1-\${version} \\
function register_clang_version {
local version=$1
local priority=$2
update-alternatives \
--install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-${version} ${priority} \