Skip to content

Instantly share code, notes, and snippets.

View PastaGringo's full-sized avatar

PastaGringo PastaGringo

View GitHub Profile
@PastaGringo
PastaGringo / onepiece-episode-list
Created April 28, 2025 19:48
One piece episdes by season with episode name
Absolute_Number,Season,Episode,Title_English,Type,Air_Date
1,1,1,I'm Luffy! The Man Who's Gonna Be King of the Pirates!,Manga Canon,1999-10-20
2,1,2,Enter the Great Swordsman! Pirate Hunter Roronoa Zoro!,Manga Canon,1999-11-17
3,1,3,Morgan vs. Luffy! Who's the Mysterious Pretty Girl?,Manga Canon,1999-11-24
4,1,4,Luffy's Past! Enter Red-Haired Shanks!,Manga Canon,1999-12-08
5,1,5,"A Terrifying Mysterious Power! Captain Buggy, the Clown Pirate!",Manga Canon,1999-12-15
6,1,6,Desperate Situation! Beast Tamer Mohji vs. Luffy!,Manga Canon,1999-12-29
7,1,7,Epic Showdown! Swordsman Zoro vs. Acrobat Cabaji!,Manga Canon,1999-12-29
8,1,8,Who Is the Victor? Devil Fruit Power Showdown!,Manga Canon,1999-12-29
9,1,9,The Honorable Liar? Captain Usopp!,Manga Canon,2000-01-12
@PastaGringo
PastaGringo / Nostr.md
Created February 21, 2024 00:04
Nostr Identity Check

Verifying that I control the following Nostr public key: npub1ky4kxtyg0uxgw8g5p5mmedh8c8s6sqny6zmaaqj44gv4rk0plaus3m4fd2

@PastaGringo
PastaGringo / Atomstr_Hex_to_Nsec.sh
Created February 20, 2024 21:18
Retrieving Nsec and Npub from Atomstr database
#/bin/bash
clear
echo
echo " Welcome to"
echo
echo " --- Atomstr Hex to Nsec keys convertor ---"
echo
echo " by PastaGringo"
echo
echo "Checking if Docker is installed..."
@PastaGringo
PastaGringo / gist:935b90f9a2ead5d22cc8a9ce7281b0f7
Last active December 15, 2017 16:26
Get live Plex streams number from telegraf and send them to Influxdb
# More complete script from @barrycarey https://github.com/barrycarey/Plex-Data-Collector-For-InfluxDB/
# Read flattened metrics from one or more JSON HTTP endpoints
[[inputs.httpjson]]
name = "plex_stats"
servers = [
"http://YourDomain.tld:32400/status/sessions"
]
@PastaGringo
PastaGringo / resetBandwith.sh
Created November 28, 2017 15:48
Reset QuickBox Dashboard bandwith details
#!/bin/bash
interfaces=$(ls /var/lib/vnstat)
echo
echo "Resetting QuickBox Dashboard bandwith details..."
service vnstat stop
for interface in $interfaces
do
rm -rf "/var/lib/vnstat/$interface" "/var/lib/vnstat/.$interface"
/usr/bin/vnstat -u -i $interface &> /dev/null
done
@PastaGringo
PastaGringo / plexDownload.php
Created July 4, 2017 08:46 — forked from kmark/plexDownload.php
The Plex Universal Transcoder Downloader mimics the actions of the Plex/Web media flash player to download transcoded media. The differences begin when the downloader saves the streamed data and pieces it together. First a start.m3u8 playlist file is requested from the server with a query string that defines the transcoding options. Inside the …
<?php
/*******************************************************************************
* Plex Universal Transcoder Downloader v1.3 *
* See --help or --usage for more info *
*******************************************************************************
* Copyright 2013 Kevin Mark *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); *
* you may not use this file except in compliance with the License. *
* You may obtain a copy of the License at *