Skip to content

Instantly share code, notes, and snippets.

@schierlm
schierlm / non-latin-capitals.tsv
Created August 28, 2024 20:52
City capitals not written in Latin script
Country Code Country Capital EN Capital national Languages
GR Greece Athens Αθήνα en,el
IQ Iraq Baghdad بغداد ar,ckb,lrc,syr
AF Afghanistan Kabul کابل ps,fa,uz
CN China Beijing 北京市 yue,zh,zh,en,ii,bo,ug
IR Iran Tehran تهران ckb,mzn,lrc,fa
UA Ukraine Kyiv Київ en,ru,uk
BY Belarus Minsk Мінск be,ru
KG Kyrgyzstan Bishkek Бишкек ky,ru
TJ Tajikistan Dushanbe Душанбе tg
@schierlm
schierlm / 000-README.md
Last active October 11, 2023 22:28
IOTA Stronghold Dump

IOTA Stronghold Dump

This utility can be used to decrypt and dump data stored in a IOTA Stronghold file (as hex dump) if you know the passphrase. It is based on a patched version of the Stronghold library.

Note that while a IOTA Stronghold created by Firefly Wallet contains the BIP39 Seed, it does not contain the BIP39 Mnemonic from which the Seed is derived.

@schierlm
schierlm / README.md
Last active February 28, 2021 18:04
Add SSLKeyLogFile support to Apache mod_ssl

Add SSLKeyLog support to Apache mod_ssl

Tested only on Linux, and only against OpenSSL 1.1.1

@schierlm
schierlm / 1.java
Created May 2, 2018 18:28
Name Generator
random("Steigenberger ", "Novotel ", "Hilton ", "Best Western ", "Accor ", "Maritim ", "Wyndham ", "Marriott ", "") +
"Hotel " +
random("zum ", "am ", "vom ", "im ", "beim ", "unterm "; "überm ") +
random("goldenen ", "silbernen ", "schnellen ", "flinken ", "schlauen ", "listigen ", "brüllenden ", "röhrenden ", "großen ", "feurigen ") +
random("Löwen", "Hirsch", "Eber", "Widder", "Fuchs", "Tiger", "Stier", "Bullen", "Hahn", "Erpel");
@schierlm
schierlm / 0-README.md
Last active March 3, 2018 18:18
Liturgischer Kalender - Heatmap
@schierlm
schierlm / pom.xml
Created December 21, 2017 12:35
Maven freezes (infinite-loop) when building fat jar from BouncyCastle
<project xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<groupId>bug</groupId>
<artifactId>bug</artifactId>
<version>1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>1.58</version>
@schierlm
schierlm / IOTA-Dice.md
Created August 26, 2017 17:41
Generating a IOTA seed using a dice

Generating a IOTA seed using a dice

If you do not trust seed generators and do not believe your random keyboard smashing is random enough, you can use a dice to generate a random, perfectly distributed IOTA seed.

Just follow the instructions below and write down the seed while you are throwing your dice.

Note that this can be tedious, as between 162 and 243 dice rolls are required to generate the whole seed.

@schierlm
schierlm / README.md
Last active January 14, 2017 20:23
Musipedia MIDI search for Chrome (using Web MIDI API)
@schierlm
schierlm / README.md
Last active July 27, 2018 08:24
VBoxGopHack - custom EFI GOP modes for VirtualBox

PLEASE DO NOT USE THIS ANY MORE. VirtualBox 5.2 supports custom EFI resolutions out of the box.

@schierlm
schierlm / Main.java
Created March 31, 2016 18:55
Short sample using geotools for Java to determine timezone of Busingen (using http://efele.net/maps/tz/world/)
package tzshapeparser;
import java.io.*;
import java.util.*;
import org.geotools.data.*;
import org.geotools.data.simple.SimpleFeatureSource;
import org.geotools.feature.*;
import org.geotools.geometry.jts.*;
import org.opengis.feature.simple.*;