Skip to content

Instantly share code, notes, and snippets.

View KevinNitroG's full-sized avatar
😐
Sad

Kevin Nitro KevinNitroG

😐
Sad
View GitHub Profile
@mcxiaoke
mcxiaoke / miui-blotware-apps.md
Last active November 6, 2025 22:27
MIUI 13/14 bloatware apps, updated at 20240816

对于所有应用,不建议直接删除,使用adb shell pm disable-user package-name禁用即可,方便出问题时恢复。

DO NOT UNINSTALL:

  • com.miui.securitycenter
  • com.miui.securityadd
  • com.xiaomi.finddevice

(Don’t uninstall these three apps or services from your Xiaomi device. Otherwise, you may encounter device bricking or bootloop issues.)

@pouyaardehkhani
pouyaardehkhani / Keep Google Colab from disconnecting markdown.md
Last active November 7, 2025 07:48
Keep Google Colab from disconnecting

Problem

I was training a deep learning model on Google Colab. I had to go somewhere for an emergency work. When I came back, I realized that Colab was disconnected; Therefore, I had to run the whole model again.

Solution

I searched on the Internet to solve this problem. I noticed that Colab will be disconnected if you don't click on the page. Here is an answer that I find:

function ClickConnect() {
  console.log('Working')
 document
@tatumroaquin
tatumroaquin / archlinux-qemu-kvm.md
Last active November 8, 2025 22:01
QEMU-KVM Installation for Arch Linux

QEMU-KVM in Arch Linux

Check Virtualization Support

lscpu | grep -i Virtualization
  • VT-x for Intel
  • AMD-Vi for AMD

Ensure that your kernel includes KVM modules

@rmtsrc
rmtsrc / README.md
Last active March 31, 2024 05:38
Remove existing fingerprints from Goodix BIOS via libfprint

Install

Fixes issue with Goodix fingerprint reader when a fingerprint has already been enrolled in the BIOS, but then the OS has been removed (without un-enrolling the fingerprint first). I.e. fprintd device reported an error during enrol: Finger is too similar to another, try use a different finger

sudo pamac install base-devel meson gobject-introspection gtk-doc

git clone https://gitlab.freedesktop.org/libfprint/libfprint.git

cd libfprint
@rawc0der
rawc0der / crd2jsonschema.sh
Last active August 1, 2025 04:22
Extract openapi JSON schema from Kubernetes CRD manifest
#!/bin/bash
# Small utility function based on yq to extract openAPIV3Schema from CRD
# example: crd2jsonschema.sh ./crd-alertmanager.yaml
set -e
function crd2jsonschema() {
set -e
local xkgroup="x-kubernetes-group-version-kind"
local document="$1"
local openAPIV3Schema=$(mktemp -u)
@tig
tig / F7History.ps1
Last active April 16, 2024 16:07
Use F7 as "Show Command History" in Powershell
# See https://github.com/gui-cs/F7Hisoty which replaces this
ap.spotify.com
beta.datasharing.spotify.com
datasharing.spotify.com
s2.video.doubleclick.net
0.fls.doubleclick.net
00.video-ak.cdn.spotify.com
000.fls.doubleclick.net
000000.fls.doubleclick.net
000000000.fls.doubleclick.net
01.video-ak.cdn.spotify.com
@ppoffice
ppoffice / README.md
Last active November 2, 2025 10:01
Install Visual Studio Code (actually code-server) on Android
  1. Install Termux, an Android terminal emulator that provides a Linux execution environment and various tools.

  2. Update system packages in Termux:

    $ pkg update -y
@hauvuhd
hauvuhd / tai-file-bi-chan-download-tu-google-drive
Created February 23, 2020 18:58
Tải file bị chặn download từ Google Drive - PDF
let jspdf = document.createElement("script");
jspdf.onload = function () {
let pdf = new jsPDF();
let elements = document.getElementsByTagName("img");
for (let i in elements) {
let img = elements[i];
if (!/^blob:/.test(img.src)) {
continue;
@daithinh
daithinh / pdf-google-drive.js
Last active October 16, 2024 14:48
Cách tải file PDF trên Google Drive khi bị chặn tải xuống
let jspdf = document.createElement("script");
jspdf.onload = function () {
let pdf = new jsPDF();
let elements = document.getElementsByTagName("img");
for (let i in elements) {
let img = elements[i];
if (!/^blob:/.test(img.src)) {
continue;