Skip to content

Instantly share code, notes, and snippets.

View Ynng's full-sized avatar
♾️
Learning

⌘WinKey Ynng

♾️
Learning
  • University of Waterloo
  • Ontario, Canada
  • 13:38 (UTC -05:00)
  • LinkedIn in/ynng
View GitHub Profile
@Ynng
Ynng / cups-browsed.md
Created September 26, 2024 19:43 — forked from stong/cups-browsed.md
CUPS disclosure leaked online. Not my report

Original report

Affected Vendor OpenPrinting Affected Product Several components of the CUPS printing system: cups-browsed, libppd, libcupsfilters and cups-filters. Affected Version All versions <= 2.0.1 (latest release) and master. Significant ICS/OT impact?no Reporter Simone Margaritelli [[email protected]] Vendor contacted?yes The vendor has been notified trough Github Advisories and all bugs have been confirmed:

@Ynng
Ynng / cups-browsed.md
Created September 26, 2024 19:43 — forked from stong/cups-browsed.md
CUPS disclosure leaked online. Not my report

Original report

Affected Vendor OpenPrinting Affected Product Several components of the CUPS printing system: cups-browsed, libppd, libcupsfilters and cups-filters. Affected Version All versions <= 2.0.1 (latest release) and master. Significant ICS/OT impact?no Reporter Simone Margaritelli [[email protected]] Vendor contacted?yes The vendor has been notified trough Github Advisories and all bugs have been confirmed:

@Ynng
Ynng / custom.css
Last active November 8, 2024 16:40
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"
},
{