Skip to content

Instantly share code, notes, and snippets.

View koumaza's full-sized avatar
REPLACED THIS USER SUCCESSFULLY.

shanghai nyaa chan! koumaza

REPLACED THIS USER SUCCESSFULLY.
View GitHub Profile
@koumaza
koumaza / note.md
Last active July 23, 2020 16:22
My Environment of Android Build in Archlinux
: If by needed, turn on multilib : && vim /etc/pacman.conf &&\
pacman -Syyuu --needed \
base base-devel vim neovim git repo python-pip go progress htop neofetch fish p7zip zstd tmux \
&&\
: If by needed, Instal yay : && git clone https://aur.archlinux.org/yay-git.git --depth=1 --single-branch && cd yay-git && vim /usr/bin/makepkg &&/ makepkg -si

Run at Non root user

@koumaza
koumaza / dns.mkdn
Last active January 9, 2021 16:02
CloudFlare DNS CDN

IPv4

#Primary
1.1.1.1
#Secondary
1.0.0.1
@koumaza
koumaza / yum-3.4.3-7-x86_64.pkg.tar.zst
Last active July 11, 2020 15:11
yum for archlinux
This file has been truncated, but you can view the full file.
@koumaza
koumaza / pacman.conf
Created July 10, 2020 19:09
pacman.conf
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
@koumaza
koumaza / content.md
Last active July 8, 2020 16:11
Fix Ticwatch `Reboot in 1 second...` bug
# Reboot to Bootloader
adb reboot bootloader

# Remove cache
:if; fastboot oem unlock
fastboot format cache

# Reboot to System
fastboot reboot
@koumaza
koumaza / ancientroottree-payton.xml
Last active July 12, 2020 17:10
tree tree tree
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/motorola/payton" name="ancient-devices/device_motorola_payton" remote="github" revision="ten" />
<project path="device/motorola/sdm660-common" name="ancient-devices/device_motorola_sdm660-common" remote="github" revision="ten" />
<project path="kernel/motorola/msm8998" name="ancient-devices/kernel_motorola_msm8998" remote="github" revision="ten" />
<project path="vendor/motorola" name="ancient-devices/vendor_motorola_payton" remote="github" revision="ten" />
<project path="packages/apps/MotoCamera2" name="trpsl/packages_apps_MotoCamera2" remote="github" revision="ten" />
<project path="external/bson" name="LineageOS/android_external_bson" remote="github" revision="lineage-17.1" />
<project path="system/qcom" name="LineageOS/android_system_qcom" remote="github" revision="lineage-17.1" />
<project path="packages/resources/MotoActions" name="SuperiorOS/android_packages_resources_MotoActions" remote="github" revision="pie" />
tr '\r' '\n'

Xenial apt install gcc-arm\* gcc-5-arm-linux-gnueabi

@koumaza
koumaza / fix-repo-git-error.md
Last active July 4, 2020 04:33
Fix repo command outputs GitError

Errors: (Not a git repository (or any of the parent directories): .git)
At project root

Example: aosp platform/external/brotli

rm -rf  .repo/project-objects/platform/external/brotli.git \
        .repo/projects/external/brotli.git \
        external/brotli/
@koumaza
koumaza / README.md
Last active July 3, 2020 04:54
MBP power plan configuration

powercfg --import koumaza-mbp.pow