Skip to content

Instantly share code, notes, and snippets.

View FabianSchurig's full-sized avatar

Fabian Schurig FabianSchurig

  • STTech GmbH
  • Munich
View GitHub Profile
@willianfalbo
willianfalbo / README.md
Last active June 30, 2024 12:31
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 {
@johnharris85
johnharris85 / multi-traefik-swarm.yml
Created October 25, 2017 17:12
Multiple Traefik instances in a single Docker swarm using constraints
# for i in traefik-net traefik-net2; do docker network create -d overlay $i; done
# docker stack deploy -c all-in-one-stack.yml multi-traefik-test
#
# traefik1 - UI: 8010, App: 8001
# traefik2 - UI: 8020, App: 8002
version: "3.1"
services:
traefik:
image: traefik:1.4
@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 June 27, 2024 08:01
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
@lukehedger
lukehedger / ffmpeg-compress-mp4
Last active July 22, 2024 07:23
Compress mp4 using FFMPEG
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4