Skip to content

Instantly share code, notes, and snippets.

View EraYaN's full-sized avatar

Erwin de Haan EraYaN

View GitHub Profile
@EraYaN
EraYaN / shoko-nfo-export.py
Last active August 24, 2024 12:49
This script exports metadata from shoko server to Kodi/Jellyfin compatible NFO files including artwork.
#!/bin/env python3
#
# Copyright 2020 Wisperer/WSilence
# Copyright 2020 EraYaN
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE
@EraYaN
EraYaN / Program.cs
Last active February 11, 2019 20:51
using System;
using System.Security.Cryptography;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
namespace StringTestsCore
{
[CoreJob, MinColumn, MaxColumn, RPlotExporter]
public class LowerTrimSwitchVsTrimEquals
{
@EraYaN
EraYaN / PINK PARADISE DVD1.srt
Last active August 29, 2015 14:24
Apink - PINK PARADISE DVD English Subs
1
00:00:03,637 --> 00:00:06,072
Welcome to PINK PARADISE
2
00:00:07,575 --> 00:00:09,270
Apink
3
00:00:19,320 --> 00:00:24,281
@EraYaN
EraYaN / stylesheet.css
Created January 12, 2015 14:06
/r/sakuragakuin style
a.author[href$="user/GhettoNinjaStar"] {visibility:hidden; font-size:0;}
a.author[href$="user/GhettoNinjaStar"]:before {visibility:visible; margin-right: -80px; font-size: 11px; color: #FF66CC; content: "Eddie Murphyington"}
a.author[href$="user/BurntJoint"] {visibility:hidden; font-size:0;}
a.author[href$="user/BurntJoint"]:before {visibility:visible; margin-right: -60px; font-size: 16px; color: #FF91F8; content: "Headmaster" }
/* Custom Up and Down arrows ================================================================*/
.arrow.up:hover:before {
content: "IINE!";
@EraYaN
EraYaN / furigana.css
Last active August 29, 2015 14:11
The furigana css and example html
/* /r/LearnJapanese furigana */
a[href$="/fg"], a[href$="#fg"], a[href$="/fgb"], a[href$="#fgb"] {
cursor: default !important;
text-decoration: none;
line-height: 1;
text-align: center;
display: inline-block;
color: inherit !important;
position: relative;
}