Skip to content

Instantly share code, notes, and snippets.

View Plasmoxy's full-sized avatar
🌃
hopefully sleeping

Sebastián Petrík Plasmoxy

🌃
hopefully sleeping
View GitHub Profile
// ==UserScript==
// @name Yt swishsh chan
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
// ==/UserScript==
// ==UserScript==
// @name wakariyasui-pmxy
// @namespace tvdstaaij
// @version 0.1.0
// @description Generate kanji reading annotations - modded by Plasmoxy
// @include *
// @grant GM_getResourceText
// @require https://raw.githubusercontent.com/mscdex/base91.js/master/lib/base91.js
// @require https://raw.githubusercontent.com/tvdstaaij/kuroshiro.js/greasemonkey/dist/browser/kuroshiro.min.js
// @resource base.dat.gz https://github.com/tvdstaaij/kuromoji.js/raw/greasemonkey/dict-base91/base.dat.gz
// ==UserScript==
// @name pmxy-bilingualmanga-shortcuts
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match kguj2saaxu2qidie3ytuklhlxwcy2anw42lgsbvpdqgjxtd6kofsmfid.onion/*
// @match wh2e6q5b6nhz6fq4zytbtlbc2kma5lqsdfzw7w4yfga7yjytvxdq7nyd.onion/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=bilingualmanga.net
// @grant none
@Plasmoxy
Plasmoxy / bilingualmanga-net-stylus-dark.css
Last active July 27, 2023 21:28
userstyle for dark mode bilingual manga for image, OCR and furigana (kguj2saaxu2qidie3ytuklhlxwcy2anw42lgsbvpdqgjxtd6kofsmfid.onion)
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100&display=swap');
.ocrtext1 {
color: #ffe354;
background: #292932 !important;
padding: 15px;
border: solid 1px #aaaaaa;
border-radius: 15px;
transform: translateX(15px) translateY(-15px);
font-size: 30px;
// Task 6 - Generate a Bezier surface of variable density with UV coordinates.
// - Confine the Bezier data and associated methods into a reusable class.
// - Define a modelMatrix that uses position, rotation and scale.
// - Render the generated mesh with texturing applied.
// - Animate rotation.
#include <iostream>
#include <vector>
#define GLM_ENABLE_EXPERIMENTAL
@Plasmoxy
Plasmoxy / vidmod.sh
Last active February 1, 2023 21:07
VidMod 4 shell
#!/bin/sh
# VidMod 4 shell by Plasmoxy
# - clip editor for ffmpeg for shell but can also like extract subtitile and cool stuff
fname=$2
case $1 in
# cut with reencoding
# vidmod cut source.mp4 0:00 0:04
@Plasmoxy
Plasmoxy / dijkstra.clj
Created March 21, 2022 15:01 — forked from loganlinn/dijkstra.clj
Dijkstra's Algorithm in Clojure
(def ^:private inf (Long/MAX_VALUE))
(defn neighbors
([g n] (get g n {}))
([g n uv] (select-keys (neighbors g n) uv)))
(defn update-costs
[g costs curr unvisited]
(let [curr-cost (costs curr)]
(reduce
# Vidmod by Plasmoxy
# - clip editor for ffmpeg
$cmd = $args[0]
$fname = $args[1]
# cut with reencoding
# vidmod cut source.mp4 0:00 0:04
if ($cmd -eq "cut") {
$from = $args[2]
@Plasmoxy
Plasmoxy / tmonkey_seb_y2matemod.js
Created November 8, 2021 09:52
Tampermonkey y2mate seb mod
// ==UserScript==
// @name Y2mate Converter Button Sebo
// @namespace https://y2mate.com/
// @version 1.5
// @date 2019-07-23
// @author A Koi
// @description Y2mate Downloader: Download Video and Audio for free
// @homepage https://y2mate.com/
// @icon https://y2mate.com/themes/images/logo.png
// @icon64 https://y2mate.com/themes/images/logo.png
echo ""
echo "Linux root 12.6.0-8-approval-free \#1 SMP Zigo OS 6.9 (2021-08-03) x69_69"
echo ""
echo "....::-===*#%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%***=[38;5;59