Skip to content

Instantly share code, notes, and snippets.

View AntonFriberg's full-sized avatar
🚀
Back to work after parental leave

Anton Frost, né Friberg AntonFriberg

🚀
Back to work after parental leave
  • Axis Communications
  • Lund, Sweden
  • 10:58 (UTC +02:00)
  • LinkedIn in/antonfriberg
View GitHub Profile
@AntonFriberg
AntonFriberg / asian_characters.md
Last active June 26, 2025 17:09
Asian Characters ArchLinux

In order to get Asian Characters to render properly on ArchLinux you need to install a font which supports them. Even if you cannot read any of the characters I find it useful to have them installed to get wikipedia articles on geographical locations to render properly.

In order to cover most of Asia I installed the following fonts:

  • adobe-source-han-serif-cn-fonts
  • adobe-source-han-serif-jp-fonts
  • adobe-source-han-serif-kr-fonts
@AntonFriberg
AntonFriberg / deploy_minikube.sh
Last active August 1, 2018 13:10
Minikube install using kvm2 behind coorporate proxy on Debian stretch
#!/bin/sh
set -e
KUBECTL_VERSION="v1.11.1"
MINIKUBE_VERSION="v0.28.2"
echo "Installing kubectl $KUBECTL_VERSION and minikube $MINIKUBE_VERSION"
echo "Setting proxy settings including minikube ip range"
export no_proxy=localhost,127.0.0.1,192.168.0.0/16,.internaldomain.biz
export NO_PROXY=$no_proxy
@AntonFriberg
AntonFriberg / Dockerfile
Last active July 10, 2023 08:50
Simple docker cron sidecar container based on alpine image
FROM alpine:3.8
# Alpine comes with built in cron schedules
# min hour day month weekday command
# */15 * * * * run-parts /etc/periodic/15min
# 0 * * * * run-parts /etc/periodic/hourly
# 0 2 * * * run-parts /etc/periodic/daily
# 0 3 * * 6 run-parts /etc/periodic/weekly
# 0 5 1 * * run-parts /etc/periodic/monthly
@AntonFriberg
AntonFriberg / fonts.conf
Created June 4, 2017 15:36
Debian better font rendering
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font">
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">