Skip to content

Instantly share code, notes, and snippets.

View MikuX-Dev's full-sized avatar
🥶
Just Chilling

MíkúX MikuX-Dev

🥶
Just Chilling
View GitHub Profile
@adrianhajdin
adrianhajdin / buildQuery.ts
Created September 18, 2023 13:34
How I Made My Website Load in 0.364 Seconds | Build and Deploy
export function buildQuery(params: BuildQueryParams) {
const { type, query, category, page = 1, perPage = 20 } = params;
const conditions = [`*[_type=="${type}"`];
if (query) conditions.push(`title match "*${query}*"`);
if (category && category !== "all") {
conditions.push(`category == "${category}"`);
}
@bitterteasweetorange
bitterteasweetorange / keybindings.json
Last active June 8, 2024 11:35
setup vscode like neovim
[
{
"command": "projectManager.listGitProjects#sideBarGit",
"key": "cmd+o"
},
{
"command": "expand_region",
"key": "ctrl+=",
"when": "editorTextFocus"
},
@skoqaq
skoqaq / build4123.sublime4.key
Last active June 15, 2024 11:24
Sublime Text 4 License Key
—– BEGIN LICENSE —–
Mifeng User
Single User License
EA7E-1184812
C0DAA9CD 6BE825B5 FF935692 1750523A
EDF59D3F A3BD6C96 F8D33866 3F1CCCEA
1C25BE4D 25B1C4CC 5110C20E 5246CC42
D232C83B C99CCC42 0E32890C B6CBF018
B1D4C178 2F9DDB16 ABAA74E5 95304BEF
9D0CCFA9 8AF8F8E2 1E0A955E 4771A576
@teamorchidos
teamorchidos / default.xml
Created November 22, 2020 00:45 — forked from jduck/default.xml
Manually created AOSP mirror manifest
<!-- remove this part!
Place this in $AOSPMIRROR/.repo/manifests/default.xml
Created with:
$ cd ~/android/source
$ repo init -u $AOSPMIRROR/platform/manifest.git -b android-4.4_r1
$ cd $AOSPMIRROR/.repo/manifests
$ cat ~/android/source/.repo/manifests/default.xml | sed -E 's/ path=\"[^\"]+\"//g' | ^Cd -E 's/ groups=\"[^\"]+\"//g' > default.xml

How To Make A Working TWRP Device Tree For Your MediaTek Device & Start Building Them, Online

This Guide is tested on 64-bit mt6735/53 chipset device. It will also work on any 64-bit and 32-bit devices.

You will need something from your Stock ROM first. Get them all and Try to modify it using the procedure.

Note: This guide will be helpful for you if you have older mediatek devices (android-5.1 or android-6.0), but up-to-date devices can also work.

Update: This guide had a few typos and derps (Oops..), but I've tried to make it free of those now (Dated November 18, 2020)

Bonus: You can also use this tool by @SebaUbuntu, @yshalsager and @mauronofrio to auto generate the twrp tree. The tool is best if your device runs on android-9.0. The tools is still not 100% compatible to all devices, but I'll still recommend it and give it 8.5/10 in the scale of varsatility.

@SwapnilSoni1999
SwapnilSoni1999 / Buildbot-Guide.txt
Created November 28, 2017 16:48
[GUIDE] ROM Compiling from source [Buildbot]
First of all have a brief look at xda threads about compiling rom from source dont follow all stuff from there tho.. just have a look on those threads specially that jackeagle thread.
now first what you need :
If on local
-> Fast internet connection (fast enough to download 50GB rom source without waiting for a day or two xD )
-> 4core cpu(or higher)
-> 8gb minimum ram
-> Linux (Ubuntu for this guide)