Skip to content

Instantly share code, notes, and snippets.

@iamCristYe
iamCristYe / injectSystemCertificate.bash
Created August 23, 2024 14:38
injectSystemCertificate.bash
# https://github.com/httptoolkit/httptoolkit-server/blob/main/src/interceptors/android/adb-commands.ts#L393
set -e # Fail on error
echo "\n---\nInjecting certificate:"
# Create a separate temp directory, to hold the current certificates
# Without this, when we add the mount we can't read the current certs anymore.
mkdir -p /data/local/tmp/htk-ca-copy
chmod 700 /data/local/tmp/htk-ca-copy
rm -rf /data/local/tmp/htk-ca-copy/*
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\InputMethod\Settings\CHS]
"EnableExtraDomainType"=dword:00000001
"Enable Double Pinyin"=dword:00000001
"UserDefinedDoublePinyinScheme0"="小鹤双拼*2*^*iuvdjhcwfg^xmlnpbksqszxkrltvyovt"
"DoublePinyinScheme"=dword:0000000a
"Default Mode"=dword:00000001
"Enable Fuzzy Input"=dword:00000001
"Fuzzy Pair Setting"=dword:00000300
"cigar",
"rebut",
"sissy",
"humph",
"awake",
"blush",
"focal",
"evade",
"naval",
"serve",
@iamCristYe
iamCristYe / clearLikedVideos
Last active December 26, 2022 05:19
clear YouTube Playlist
https://github.com/iamCristYe/YouTube-Utilities/tree/main
@iamCristYe
iamCristYe / Windows_Terminal.json
Last active December 25, 2022 03:37
Windows Terminal
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command": "find",
"keys": "ctrl+shift+f"
},
{
for (let NEPTURAVSH = 1000000000; NEPTURAVSH < 2000000000; NEPTURAVSH++) {
let N = parseInt(NEPTURAVSH.toString()[0]);
let E = parseInt(NEPTURAVSH.toString()[1]);
let P = parseInt(NEPTURAVSH.toString()[2]);
let T = parseInt(NEPTURAVSH.toString()[3]);
let U = parseInt(NEPTURAVSH.toString()[4]);
let R = parseInt(NEPTURAVSH.toString()[5]);
let A = parseInt(NEPTURAVSH.toString()[6]);
let V = parseInt(NEPTURAVSH.toString()[7]);
let S = parseInt(NEPTURAVSH.toString()[8]);
[{"type":"polyline","latLngs":[{"lat":22.421613,"lng":114.210541},{"lat":22.421506,"lng":114.207287}],"color":"#a24ac3"},{"type":"polyline","latLngs":[{"lat":22.421613,"lng":114.210541},{"lat":22.419724,"lng":114.209132}],"color":"#a24ac3"},{"type":"polyline","latLngs":[{"lat":22.421613,"lng":114.210541},{"lat":22.421308,"lng":114.208849},{"lat":22.419724,"lng":114.209132},{"lat":22.419724,"lng":114.209132},{"lat":22.420296,"lng":114.209061},{"lat":22.421613,"lng":114.210541},{"lat":22.421613,"lng":114.210541}],"color":"#a24ac3"},{"type":"polyline","latLngs":[{"lat":22.421613,"lng":114.210541},{"lat":22.420909,"lng":114.20924},{"lat":22.420296,"lng":114.209061}],"color":"#a24ac3"},{"type":"polyline","latLngs":[{"lat":22.420909,"lng":114.20924},{"lat":22.42129,"lng":114.209603}],"color":"#a24ac3"},{"type":"polyline","latLngs":[{"lat":22.42129,"lng":114.209603},{"lat":22.421447,"lng":114.209841}],"color":"#a24ac3"},{"type":"polyline","latLngs":[{"lat":22.421308,"lng":114.208849},{"lat":22.420296,"lng":114.20906
// ==UserScript==
// @id Agent-Stats-Export-Colorful
// @author @iamCristYe
// @name Agent-Stats-Export-Colorful
// @namespace Agent-Stats-Export-Colorful
// @version 1.0
// @description show medal level for stats
// @include https://www.agent-stats.com/export*
// @grant none
// ==/UserScript==