Skip to content

Instantly share code, notes, and snippets.

View NachtgeistW's full-sized avatar
🕊️
Working as a pegion

夜轮_NachtgeistW NachtgeistW

🕊️
Working as a pegion
View GitHub Profile
.editor-group-watermark > .letterpress{
background-image: url("https://raw.githubusercontent.com/Aikoyori/ProgrammingVTuberLogos/main/VSCode/VSCode.png") !important;
opacity: .75;
}
@NachtgeistW
NachtgeistW / Remove all uncommit change
Created April 1, 2024 01:21
Remove all uncommit change
git checkout . && git clean -df
@NachtgeistW
NachtgeistW / yt-dlp command
Created March 13, 2024 09:02
My frequently used yt-dlp command
yt-dlp.exe url -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best" --write-thumbnail
@NachtgeistW
NachtgeistW / search matching hash file.ps1
Last active March 4, 2024 06:35
Using PowerShell to search file with specify hash
$targetHashes = @(
"hash1",
"hash2",
"hash3"
).ToUpper()
$folderPath = "path"
$files = Get-ChildItem -Path $folderPath -File -Recurse
@NachtgeistW
NachtgeistW / Arcane.psm1
Last active August 20, 2021 09:43
A bit like Arcaea style PowerShell theme, based on Darkblood
#requires -Version 2 -Modules posh-git
function Write-Theme {
param(
[bool]
$lastCommandFailed,
[string]
$with
)
@NachtgeistW
NachtgeistW / Jubeat Memo Output tool
Last active September 19, 2018 17:45
A tool to read Jubeat memo and print and now it support to search by bar
#include "pch.h"
#include <iostream>
#include <fstream>
#include <string>
#include <regex>
#include <vector>
using std::vector;
using std::string;
struct SongInfo {
std::vector<std::string> memo;
@NachtgeistW
NachtgeistW / Jubeat Info Output tool
Last active September 12, 2018 01:56
A tool for formatting the output Jubeat song information
/*
Data source: https://www53.atwiki.jp/cosmos_memo/pages/16.html
Input format: Singularity xi 197 Lv 4 (295) Lv 8 (625) Lv 10 (958)
Output format:
Singularity xi 197 BSC 4
Singularity xi 197 ADV 8
Singularity xi 197 EXT 10
*/
#include "pch.h"
#include <iostream>