I hereby claim:
- I am greydus on github.
- I am greydus (https://keybase.io/greydus) on keybase.
- I have a public key ASC_Tkm62CPaPweRzqkeMc-tFS4-MyhAKLdEk9ryBHIufQo
To claim this, I am signing this object:
| param ([string]$video) | |
| $public_music_folder = 'Users\Public\Music' | |
| $format = 'aac' | |
| $video_file = bin\yt-dlp.exe -O after_move:filepath $video | |
| $parent_directory = Split-Path $video_file -Parent | |
| $extractor = Split-Path $parent_directory -Parent | Split-Path -Leaf | |
| $channel_id = Split-Path $parent_directory -Leaf | |
| $video_id = Split-Path $video_file -LeafBase |
| // ==UserScript== | |
| // @name 4chan-utils | |
| // @namespace greydus | |
| // @match https://boards.4chan.org/*/thread/* | |
| // @match https://boards.4channel.org/*/thread/* | |
| // @version 1.0.1 | |
| // @description Some utilities for 4chan. | |
| // ==/UserScript== | |
| const thread = document.body.getElementsByClassName('thread').item(0); |
| import argparse | |
| import urllib.parse | |
| import urllib.request | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument('url', metavar='<url>') | |
| parser.add_argument('-d', '--data', metavar='<data>') | |
| cmd_opts = parser.parse_args() |
| // ==UserScript== | |
| // @name Yoshino | |
| // @namespace moe.greydus | |
| // @version 2.28.0 | |
| // @description Replaces all YouTube embed URLs | |
| // @match *://*/* | |
| // @exclude-match https://www.youtube.com/* | |
| // ==/UserScript== | |
| var iframe_list = document.querySelectorAll('iframe[src*="www.youtube.com"]'); |
I hereby claim:
To claim this, I am signing this object:
| @echo off | |
| set $osu_default_songs_path=%localappdata%\osu!\Songs | |
| cd /d %1 | |
| for /f "tokens=*" %%g in ('dir /b') do ( | |
| if [%2] equ [] ( | |
| move /y "%%g" %$osu_default_songs_path% | |
| ) else ( |