Skip to content

Instantly share code, notes, and snippets.

View Ynng's full-sized avatar
🌙
Trying to sleep early

Kevin Huang Ynng

🌙
Trying to sleep early
  • University of Waterloo
  • Ontario, Canada
  • 01:11 (UTC -04:00)
  • LinkedIn in/ynng
View GitHub Profile
@Ynng
Ynng / custom.css
Last active May 16, 2024 21:42
vscode vtuber logo
.editor-group-watermark > .letterpress{
background-image: url("https://raw.githubusercontent.com/Aikoyori/ProgrammingVTuberLogos/main/VSCode/VSCode-Thick.png") !important;
opacity: .75;
aspect-ratio: 3/2 !important;
}
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
echo 'export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm' >> ~/.bashrc
source ~/.bashrc
nvm install node
npm install -g @githubnext/github-copilot-cli
echo 'eval "$(github-copilot-cli alias -- "$0")"' >> ~/.bashrc
source ~/.bashrc
github-copilot-cli auth
@Ynng
Ynng / packages.config
Last active March 16, 2022 22:47
chocolatery
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="x-mouse-button-control"/>
<package id="discord"/>
<package id="discord.install"/>
<package id="obsidian"/>
<package id="notepadplusplus"/>
<package id="signal"/>
<package id="wechat"/>
<package id="vscode"/>
@Ynng
Ynng / 1fortress2bastion2ruinedportal1ship1village
Created March 10, 2022 05:05
cubiomes-viewer file for nice 1.18 seed
#Version: 2.0.0
#Time: Tue Mar 8 17:59:02 2022
#MC: 1.18
#Large: 0
#Search: 1
#Progress: 2918051083559371017
#Threads: 12
#ResStop: 0
#Mode48: 0
#HutQual: 0
@Ynng
Ynng / music.txt
Created February 18, 2022 06:56
Music export from netease music
ワタシノミカタ - Hanon / Kotoha
さびしんぼう。 (off voval ver) - 茶太
砂のこども (Instrumental) - Halozy
問題がある人たち - 吟
明日アメの日、昨日もアメ - モリモリあつし
鍵っ子 - 鎖那
#時をめくる指 (Instrumental) - 下村陽子 / suis
平行線 - Eve / suis
怪物 - 多多poi / Hanser
她追逐着月光的尽头 - warma
// ==UserScript==
// @name Waterloo Learn URL Extractor
// @namespace Waterloo Learn URL Extractor
// @version 0.1
// @description Hate it when you book mark a section in the "content" tab in waterloo learn, but the bookmark just doesn't work? This script puts the full url into each link, so when your bookmark has the full url too.
// @author Ynng
// @match https://learn.uwaterloo.ca/d2l/le/content/*
// @icon https://www.google.com/s2/favicons?domain=uwaterloo.ca
// @grant none
// ==/UserScript==
@Ynng
Ynng / wt.ahk
Last active February 21, 2022 18:36
Launch Windows Terminal at current directory with Ctrl+Alt+T
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
;; ----------------------------------------------------------------------------
;; Hotkey to use Ctrl+Alt+T to launch the Windows Terminal at the current directory.
;;
;; Link:
;; https://gist.github.com/Ynng/1a8182edd23f340248341735f509de24
@Ynng
Ynng / settings.json
Last active February 28, 2023 14:06
Windows Terminal Settings
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command": "find",
"keys": "ctrl+shift+f"
},
{
layout('us') //set layout us
hide=true; // set to true to hide the console window on the target
tree=true;
typingSpeed(0,0);
waitLED(ANY_OR_NONE, 5000);
press("GUI r") // windows + r
delay(500)
type("powershell\n") // write powershell and press "enter"
delay(500)