Skip to content

Instantly share code, notes, and snippets.

View ivellios's full-sized avatar
🏹
On a hunt...

Janusz Kamieński ivellios

🏹
On a hunt...
View GitHub Profile
@ivellios
ivellios / dndbeyond_narrow.js
Last active January 19, 2024 17:56
Tampermonkey script for narrowing the content for easier reading
// ==UserScript==
// @name D&D Beyond - content narrow column styling
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Displays contents of D&D Beyond books in a narrow column for easier reading. Keeps tables and images as they were.
// @author Ivellios
// @installURL https://gist.githubusercontent.com/ivellios/9f37084822ec74710a3d2597f924893a/raw/dndbeyond_narrow.js
// @downloadURL https://gist.githubusercontent.com/ivellios/9f37084822ec74710a3d2597f924893a/raw/dndbeyond_narrow.js
// @updateURL https://gist.githubusercontent.com/ivellios/9f37084822ec74710a3d2597f924893a/raw/dndbeyond_narrow.js
// @match https://www.dndbeyond.com/sources/*
@ivellios
ivellios / beyond2pdf.js
Created July 15, 2023 15:36
D&D Beyond to PDF
/* This is the Bookmarklet for printing D&D Beyond materials pages to PDF files, so you can read them whenever you want.
* It can be useful when you are reading books on your ebook reader.
* The exported PDFs will be presented in a two-column layout with all extra page elements removed.
*
* Remember not to share the books content with anyone.
*
* USE INSTRUCTIONS
* 1. Copy the code line below
* 2. Create a new bookmark in your browser and name it whatever you want
* 3. Under the address, paste the code line
@ivellios
ivellios / README.md
Last active January 19, 2023 12:41 — forked from lambdalisue/README.md
Download and Compile and Install latest Vim on Debian
@ivellios
ivellios / lowcygier-background-ad-removal.js
Last active November 20, 2023 10:14
lowcygier.pl - usuwanie reklamy w tle
// ==UserScript==
// @name Lowcygier.pl - usuń reklamę tła
// @author ivellios
// @namespace http://github.com/ivellios/
// @version 0.12
// @description Wyłącza reklamę w tle strony
// @match https://lowcygier.pl/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=lowcygier.pl
// @installURL https://gist.githubusercontent.com/ivellios/449b30aa6cc2b2c5e232f6cf5abe1a20/raw/lowcygier-background-ad-removal.js
// @downloadURL https://gist.githubusercontent.com/ivellios/449b30aa6cc2b2c5e232f6cf5abe1a20/raw/lowcygier-background-ad-removal.js
@ivellios
ivellios / lowcygier-copy-paste-fix.js
Last active January 3, 2023 11:22
lowcygier.pl - wyłączenie automatycznej wstawki z kopiowanej treści
// ==UserScript==
// @name Lowcygier.pl - copy-paste fix
// @author ivellios
// @namespace http://github.com/ivellios/
// @version 0.2
// @description Wyłącza dodawanie informacji o źródle wklejanej w środek kopiowanego tekstu ze strony.
// @match https://lowcygier.pl/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=lowcygier.pl
// @installURL https://gist.githubusercontent.com/ivellios/7ae21ed4f8e1995551c49fafc472738d/raw/lowcygier-copy-paste-fix.js
// @downloadURL https://gist.githubusercontent.com/ivellios/7ae21ed4f8e1995551c49fafc472738d/raw/lowcygier-copy-paste-fix.js
@ivellios
ivellios / dtrpg_convert.py
Last active November 4, 2022 17:53
Simple script to convert DriveThruRPG library data into CSV
import csv
import json
import sys
# This is simple converter for DriveThruRPG JSON data
# from library into CSV file, so you can manage your
# library
# How to use
# 1. Go to DriveThruRPG site and login