Skip to content

Instantly share code, notes, and snippets.

@plieningerweb
plieningerweb / README.md
Last active October 21, 2020 17:11
Fix ignored mode of tmpfs mount on /tmp
@plieningerweb
plieningerweb / gist:39e47584337a516f56da105365a2e4c6
Created June 16, 2016 14:15
Restart python script itsself (run again).md
@plieningerweb
plieningerweb / Readme.md
Last active June 2, 2016 14:27
Docker Swarm Network Overlay DNS Resolv not working (Docker 1.11.1)

Docker Swarm Network Overlay DNS Resolv not working (Docker 1.11.1)

I was running a docker swarm network overlay. It was using the company internal dns to resolv (10.0.0.1)

I created the network using:

docker -H :4000 network create test

 docker -H :4000 network inspect test 
@plieningerweb
plieningerweb / gist:92a5b3af7353f1c8df0a
Created March 20, 2016 12:33 — forked from woolfg/gist:50b1ee17c8e4aa4c8a92
d3.js german locale - create time scale axis with german locale
var germanFormatters = d3.locale({
"decimal": ",",
"thousands": ".",
"grouping": [3],
"currency": ["€", ""],
"dateTime": "%a %b %e %X %Y",
"date": "%d.%m.%Y",
"time": "%H:%M:%S",
"periods": ["AM", "PM"],
"days": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"],
@plieningerweb
plieningerweb / Git push deployment in 7 easy steps.md
Last active March 18, 2016 12:12 — forked from thomasfr/Git push deployment in 7 easy steps.md
7 easy steps to automated git push deployments. With small and configurable bash only post-receive hook
@plieningerweb
plieningerweb / usb-modeswitch-huawei-e303-debian-jessie-lite-raspberry.md
Last active November 19, 2022 19:31
Debug USB-Modeswitch (Raspberry with debian jessi lite) and Huawei E303

test if modeswitch works

$ sudo usb_modeswitch -v 0x12d1 -p 0x1f01 -M "55534243123456780000000000000a11062000000000000100000000000000"

if yes than usually you would do this (but for me it did not work)

#edit config file
/etc/usb_modeswitch.conf