Skip to content

Instantly share code, notes, and snippets.

View parthibx24's full-sized avatar
🧷
busy procrastinating

Inxpired parthibx24

🧷
busy procrastinating
View GitHub Profile
<!DOCTYPE html>
<html>
<script>window.location.replace("google.com")</script>
</html>
<!DOCTYPE html>
<html>
<script>window.location.replace("google.com")</script>
</html>
❯ (for i in $(repo --trace list | awk '{ print $1 }'); ( printf "==> %s" " " && du -sh $i))  | tee loggyy
==>  140K       abi/cpp
==>  92K        android
==>  29M        art
==>  29M        bionic
==>  6.4M       bootable/recovery
==>  16M        build
==>  527M       cts
==>  11M        dalvik
@parthibx24
parthibx24 / xdeb.mkdn
Created April 23, 2020 15:34
Extract .deb packages
   ar x package.deb

DESCRIPTION

       The .deb format is the Debian binary package file format. It is
       understood since dpkg 0.93.76, and is generated by default since dpkg
       1.2.0 and 1.1.1elf (i386/ELF builds).
// https://opensource.ztedevices.com/
let devices = document.querySelectorAll('#seachlist_li > a')
for (let device in devices) {
let name = devices[device].innerText
if (RegExp("L130").test(name))
console.log(name)
}
# Maintainer: parthibx24 <[email protected]>
pkgver=20.4
pkgname=magiskboot.bin
pkgrel=1
pkgdesc='A bootimage manipulation tool, extracted from the prebuilt Magisk installer.'
arch=(${CARCH})
url='https://github.com/topjohnwu/Magisk'
license=('GPLv3')
source=("https://github.com/topjohnwu/Magisk/releases/download/v${pkgver}/Magisk-v${pkgver}.zip")
@parthibx24
parthibx24 / method-chaining.c
Last active May 15, 2020 15:14
method chaining in c. definitely not c a n c e r .
#include <stdio.h>
/* not good way
typedef struct dk {
void (* setbro) (int);
int watbro;
} dk;
typedef struct {
dk (* setbro) (int);
[Selection]
SelectProduct=PAC_sp7731e_1h20
[Options]
Repartition=1
Reset=0
FlashPageType=0
EraseAll=0
KeepCharge=0
PowerOff=1

😳 UwU ?? wuts dis ?? UwU 😳

OS: Arch Linux on Windows 10 x86_64
Kernel: 5.8.0-rc4-next-20200710-microsoft-cbl

vendor_V060-unreleased (90.85MiB)

level used ratio
1 55.23MiB ~1.6449
2 54.15MiB ~1.6777
3 53.84MiB ~1.6874