Skip to content

Instantly share code, notes, and snippets.

View Gesugao-san's full-sized avatar
💭
⌈Wired Sound for Wired People⌋

Gesugao-san

💭
⌈Wired Sound for Wired People⌋
View GitHub Profile
@M0r13n
M0r13n / doh
Last active October 14, 2025 17:30
Setup Cloudflare as a DoH (DNS over HTTPS) resolver on Mikrotik devices (RouterOS v7.0.2+)
# Temporarily add a normal upstream DNS resolver
/ip dns set servers=1.1.1.1,1.0.0.1
# CA certificates extracted from Mozilla
/tool fetch url=https://curl.se/ca/cacert.pem
# Import the downloaded ca-store (127 certificates)
/certificate import file-name=cacert.pem passphrase=""
# Set the DoH resolver to cloudflare
@d3noob
d3noob / .block
Last active October 16, 2024 02:22
Simple vertical tree diagram using v7
license: mit
@krayfaus
krayfaus / choco-install-guide.md
Last active September 2, 2025 01:20
Using Chocolatey to Install Node.js and Yarn

Install Chocolatey

# Allow Execution of Foreign Scripts
> Set-ExecutionPolicy Bypass -Scope Process -Force;

# Use TLS 1.2
> [System.Net.ServicePointManager]::SecurityProtocol = 3072;

# Download and Execute Chocolatey's Install Script
@sindresorhus
sindresorhus / esm-package.md
Last active October 30, 2025 07:00
Pure ESM package

Pure ESM package

The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.

This means you have the following choices:

  1. Use ESM yourself. (preferred)
    Use import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.
  2. If the package is used in an async context, you could use await import(…) from CommonJS instead of require(…).
  3. Stay on the existing version of the package until you can move to ESM.
@marie-bnl
marie-bnl / ventoy.json
Last active April 2, 2025 17:26
A complete as possible list of menu_class icons for Ventoy
{
"menu_class": [
{
"key": "arch",
"class": "arch"
},
{
"key": "arcolinux",
"class": "arcolinux"
},
@nicolas-oliveira
nicolas-oliveira / vscode.json
Last active November 20, 2023 15:04
My vscode settings
{
"window.zoomLevel": -0.9,
"workbench.colorTheme": "Monokai",
"editor.fontSize": 16,
"editor.rulers": [80,120],
"editor.fontFamily": "'SF Mono'",
"terminal.integrated.fontFamily": "'Hack'",
"editor.tabSize": 2,
"workbench.sideBar.location": "right",
"workbench.iconTheme": "material-icon-theme",
// ==UserScript==
//
// Install with Tampermonkey or Greasemonkey
//
// @name Aternos Anti AdBlock Blocker
// @version 1.0.5
// @description Blocks the anti ad block message and removes all red ad banners
// @author ErdbeerbaerLP
// @match https://aternos.org/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
@mibere
mibere / doh-servers.txt
Last active December 11, 2024 05:05
DNS-over-HTTPS servers
dns-nyc.aaflalo.me
dns.adguard.com
dns-family.adguard.com
uk.adhole.org
de.adhole.org
sg.adhole.org
us-central.adhole.org
us-east.adhole.org
doh.nl.ahadns.net
doh.in.ahadns.net
@ahmetozer
ahmetozer / Windows-10-custom-theme-fix-color-after-login.md
Created April 14, 2020 07:21
Fix for custom theme color issue after logged in windows

If you install custom theme on your system you might suffer from each login for the re appliying your theme.
To fixing delete Default Colors folder on HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\ path on regedit. Now I hope you not able to get same issue on your computer.