Skip to content

Instantly share code, notes, and snippets.

View FabianSchurig's full-sized avatar

Fabian Schurig FabianSchurig

View GitHub Profile
@syxolk
syxolk / Dockerfile
Last active August 11, 2024 17:08
FRITZ!Box DynDNS via Cloudflare
FROM php:7.3.0-apache
COPY . /var/www/html/
WORKDIR /var/www/html
@matthiasr
matthiasr / gpg_wsl2.md
Last active March 30, 2025 10:58
GPG signing with full gpg-agent support in WSL2: the easy way

Problem statement

Signing with GPG in Windows System for Linux (WSL2) does not work smoothly out of the box. Notably, when using a TTY-based pinentry, signing in Visual Studio Code does not work at all.

Solution

  1. Install Gpg4Win: winget install -e GnuPG.Gpg4win or download and install manually
  2. Start Kleopatra and generate or import keys
  3. Insert links to gpg.exe inside of WSL:
@willianfalbo
willianfalbo / README.md
Last active April 4, 2025 06:06
Install Zsh, Oh-My-Zsh, Fonts-Powerline & Plugins (Ubuntu 18.04+)

Install Zsh, Oh-My-Zsh, Fonts-Powerline & Plugins (Ubuntu 18.04+, MacOS)

Introduction

After following these steps, your terminal will look like:

1. Install Zsh

Zsh is a shell designed for interactive use, although it is also a powerful scripting language.

@AceroM
AceroM / skribbl_io_hints.js
Created June 3, 2020 19:58
skribbl.io hints
// run this inside your skribl game and you'll get a table on the bottom for hints
let words = ["bear","archaeologist","sunflower","hair","Vin Diesel","Daffy Duck","broomstick","unibrow","accident","saliva","Batman","radiation","boots","tornado","skyscraper","knife","witch","glass","Patrick","tank","type","shampoo","emerald","factory","apartment","Darwin","pig","underweight","grandmother","bar","short","iron","cloth","William Wallace","skydiving","chopsticks","cord","rug","spaceship","moss","ponytail","elbow","path","Barack Obama","centaur","wave","cello","Mark Zuckerberg","sailboat","JayZ","cheeks","Dora","Ferrari","meatloaf","burglar","dog","double","sneeze","Tweety","Donald Duck","Pumba","messy","melt","graduation","wart","moose","Zeus","school","kiss","dream","Shrek","snow","Steve Jobs","Hollywood","eclipse","record","sale","lottery","field","ring","pet shop","symphony","portal","ear","Elsa","basement","emoji","Elon Musk","Robbie Rotten","security","Flash","Grinch","spy","finger","Ikea","loot","seahorse",
@jrudolph
jrudolph / script.sh
Created October 11, 2018 09:39
Biometrisches Passfoto erstellen zum selbst Ausdrucken
# use persofoto.de to crop a foto to the right dimensions
# then use this script to lay it out on a 1600x2312 jpg to print as 9x13
montage mein-passfoto.jpg mein-passfoto.jpg mein-passfoto.jpg mein-passfoto.jpg -geometry 622x898+89+129 out.jpg
#include "cartographer/io/proto_stream.h"
#include "cartographer/io/proto_stream_deserializer.h"
#include "cartographer/mapping/pose_graph.h"
#include "cartographer_ros/msg_conversion.h"
#include "cartographer_ros/time_conversion.h"
#include "cartographer_ros/split_string.h"
#include "geometry_msgs/TransformStamped.h"
namespace cartographer_ros {
@lomholdt
lomholdt / .tmux.conf
Last active January 7, 2023 05:48
Add git branch to tmux status bar
set -g status-right '#(cd #{pane_current_path}; git rev-parse --abbrev-ref HEAD)'
@awesomebytes
awesomebytes / debian_from_ros_pkg.md
Last active February 18, 2025 13:59
How to create a debian from a ROS package
@JayH5
JayH5 / acme-cert-dump.py
Created October 19, 2016 12:03
Dump certificates from Traefik's acme.json
#!/usr/bin/env python
import argparse
import base64
import json
import os
import shlex
import subprocess
import sys
@spalladino
spalladino / mysql-docker.sh
Created December 22, 2015 13:47
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE