Skip to content

Instantly share code, notes, and snippets.

View gerald-drissner's full-sized avatar

Gerald Drißner gerald-drissner

View GitHub Profile

Keybase proof

I hereby claim:

  • I am gerald-drissner on github.
  • I am arabicfornerds (https://keybase.io/arabicfornerds) on keybase.
  • I have a public key whose fingerprint is A7D5 5C7A AF23 E377 4C7E B7C2 9605 D6F7 3E1E 837A

To claim this, I am signing this object:

@gerald-drissner
gerald-drissner / userChrome.css
Last active August 16, 2022 12:23
Adjust font size and color of email list (inbox; Posteingang) and message header in Thunderbird 68
/* Thunderbird 68 has changed its architecture.
Unfortunately, many great themes and plugins are not working anymore.
The font size of the message list, where the emails of your inbox is listed, is way too small.
The standard and dark mode is a bit too dark.
You can easily fix that:
1. Search for your profile.
-> In Linux, you will find that unter ~[home]/.thunderbird/<Profile name - usually quite cryptical>/
-> In Windows: C:\Users\<Windows user name>\AppData\Roaming\Thunderbird\Profiles\<Profile name>\
@gerald-drissner
gerald-drissner / searchwp_removearabic.php
Last active October 20, 2022 11:58
Removes all kind of Arabic diacritical signs and markers and replaces them with their plain letter form. For the use of SearchWP Wordpress plugin.
/*
Plugin Name: SearchWP Remove Arabic Diacritics
Description: Removes all kind of إعراب-signs as well as تشكيل-signs for the use of SearchWP Wordpress plugin.
Author: Gerald Drissner
Note: This is a fork and extension of https://gist.github.com/BrElio/bd84d8035278adf834b29ec5e1187567 and Relevannsi's code snippet regarding foreign languages.
Version: 1.0.0
Last update: 2022-10-20
*/
add_filter( 'searchwp\tokens\string', 'swp_arabic_remap', 9);
@gerald-drissner
gerald-drissner / 99-arabic.conf
Last active January 24, 2024 17:20
Arabic fonts in Opensuse Tumbleweed
<!-- This fixes the Arabic font display on various Linux Distros -->
<!--There is quick fix for that: Simply add a new file to /etc/fonts/conf.d/ amd name it 99-arabic.conf-->
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- Default -->
<match>
<edit mode="prepend" name="family">