Skip to content

Instantly share code, notes, and snippets.

View jcchikikomori's full-sized avatar
💭
I may be slow to respond.

John Cyrill Corsanes jcchikikomori

💭
I may be slow to respond.
View GitHub Profile
@jcchikikomori
jcchikikomori / AdguardDNS.md
Created October 10, 2023 05:53 — forked from krcm0209/README.md
Using AdGuard DNS over HTTPS (DoH) on Windows 11

Why

You may want to use AdGuard's DNS over HTTPS[^2] service if you

  1. Want to make it harder for your ISP to know what websites you are requesting
  2. Want to block most traditional ads from your web browsing experience across your entire PC

Setup instructions

  1. Open PowerShell
@jcchikikomori
jcchikikomori / wsl-kvm.sh
Created October 4, 2023 03:23 — forked from afmiguez/wsl-kvm.sh
Script to enable KVM in WSL2
#Fully based on https://boxofcables.dev/accelerated-kvm-guests-on-wsl-2/
if [ -z "$1" ]
then
echo "Must supply your Windows 10 username"
exit
fi
WIN_USERNAME=$1
#package updates and installations
@jcchikikomori
jcchikikomori / pacman-init.sh
Last active September 25, 2023 13:27 — forked from bouroo/pacman-init.sh
Initialize Pacman
#!/usr/bin/env bash
# Enable networkd and resolved
systemctl enable systemd-networkd
systemctl enable systemd-resolved
systemctl restart systemd-networkd
systemctl restart systemd-resolved
# Init pacman mirror
curl -s -L "https://archlinux.org/mirrorlist/?country=CN&country=JP&country=SG&country=KR&protocol=https&ip_version=4&use_mirror_status=on" | sed -e 's/^#Server/Server/' -e '/^#/d' > /etc/pacman.d/mirrorlist
@jcchikikomori
jcchikikomori / MIUI预装应用列表
Created June 18, 2023 08:27 — forked from mcxiaoke/miui-blotware-apps.md
MIUI 13 bloatware apps, updated at 20230131
https://miuiver.com/wp-content/uploads/miui-pre-installed-software.html
MIUI 预装软件列表(含系统组件)
提示 1:可用 Ctrl + F 组合键快速查找软件名称
提示 2:最新预装软件列表请在系统应用管理里查看,或者安装 Apk Extractor 软件(可在 Google Play 找到)
软件名称 软件包名
一体化位置信息 com.android.location.fused
万能遥控 com.duokan.phone.remotecontroller
@jcchikikomori
jcchikikomori / README.md
Last active June 4, 2023 03:13
My Windows 11 Features Optimization

My features optimizations for Windows 11

Requires Insider Build of Windows 11 & higher

List of features to be disabled

  • Disable new Energy Recommendations settings on Windows 11, because it's annoying.
@jcchikikomori
jcchikikomori / dxvk.conf
Last active March 12, 2024 13:50
My DXVK Config (Intel GPU)
# Expose the HDR10 ColorSpace (DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020)
# to the application by default.
# This shows to the game that the global Windows 'HDR Mode' is enabled.
# Many (broken) games will need this to be set to consider exposing HDR output
# as determine it based on the DXGIOutput's current ColorSpace instead of
# using CheckColorSpaceSupport.
# This defaults to the value of the DXVK_HDR environment variable.
#
# Supported values: True, False
@jcchikikomori
jcchikikomori / rarreg.key
Created January 23, 2023 01:42 — forked from MuhammadSaim/rarreg.key
RAWRKEY
RAR registration data
WinRAR
Unlimited Company License
UID=4b914fb772c8376bf571
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Javascript Quiz</title>
<script src="quiz.js" ></script>
</head>
<body >
@jcchikikomori
jcchikikomori / podman_pods_mariadb.ps1
Last active October 2, 2022 11:48 — forked from kameshsampath/podman_pods_mariadb.txt
Running mariadb as podman pods
podman pod kill db
podman pod rm db
# podman pod create db
podman run -dt --rm --pod new:db --name mariadb -e MARIADB_ROOT_USER=johnc -e MARIADB_ROOT_PASSWORD=johnc -p 3306:3306 -p 8082:8080 docker.io/bitnami/mariadb:latest
podman run -dt --rm --pod db --name adminer docker.io/adminer
# OPTIONAL
podman run -d -p 9443:9443 -p 8000:8000 --security-opt label=disable --name=portainer --restart=always -v /run/user/1000/podman/podman.sock:/var/run/docker.sock:Z -v portainer_data:/data docker.io/portainer/portainer-ce:2.13.1
@jcchikikomori
jcchikikomori / netflixSubForYoutube.js
Last active December 26, 2024 17:07
Youtube Netflix Subtitles (modified to optimize other videos that doesn't have line breaks)
// ==UserScript==
// @name YouTube Netflix Subtitles
// @namespace http://userstyles.org
// @description The famous Netflix subtitltes with the drop shadow for YouTube.
// @author @ang3lo_azedo
// @homepage https://userstyles.org/styles/206563
// @include https://www.youtube.com/watch*
// @run-at document-start
// @version 0.20211221154624
// ==/UserScript==