Skip to content

Instantly share code, notes, and snippets.

View Jakobuz's full-sized avatar
🏠
Working from home

Jakob Jakobuz

🏠
Working from home
View GitHub Profile
@Jakobuz
Jakobuz / etc.css
Created December 7, 2021 17:01 — forked from hensm/etc.css
Thunderbird CSS styling
#threadTree {
background: #fff !important;
color: #3c3c3e !important;
}
#folderTree {
background: #fafafb !important;
color: #636365 !important;
}
#folderTree > treechildren::-moz-tree-cell(primary) {
@Jakobuz
Jakobuz / HOWTO
Created January 30, 2022 22:36 — forked from axcxl/HOWTO
Very lightweight Linux on old Asus Transformer T100TAF
System description:
- 1GB RAM
- Intel Atom Z3735G
- 32GB MMC
- card reader
- docking keyboard with USB 3.0 port
# Puppy Linux
RESULT: no wireless out of the box with BionicPup64 8.0, device does not show up in lspci either (hw kill switch?)
@Jakobuz
Jakobuz / wp_get_archives() with cat_id
Last active April 21, 2022 05:02
Wordpress | Filter the function wp_get_archives() so a category_id can be added
/*
* Filter the wp_get_archives() so a cat_id can be added
* Example: wp_get_cat_archives('type=monthly&format=option&show_post_count=1', 46);
* in this case '46' = the category id
*/
add_filter('getarchives_where', 'custom_archives_where', 10, 2);
add_filter('getarchives_join', 'custom_archives_join', 10, 2);
function custom_archives_join($x, $r) {
@Jakobuz
Jakobuz / convert_gpx.sh
Created November 17, 2022 17:21 — forked from StevenMaude/convert_gpx.sh
Use gpsbabel to convert Garmin .FIT to .gpx — requires a fairly recent version of gpsbabel (minimum 1.4.3); see https://www.stevenmaude.co.uk/posts/using-garmin-forerunner-watches-with-linux for more details on using Garmin watches with Linux
#!/bin/sh
# Usage: convert_gpx.sh <FIT filename>
# Should works whether you include the .FIT extension or not.
filename=$(basename "$1" .FIT)
gpsbabel -i garmin_fit -f "$filename".FIT -o gpx -F "$filename".gpx