Skip to content

Instantly share code, notes, and snippets.

View set-time-server.cmd
rem # Zeit-Dienst anhalten:
net stop w32time
rem # Extern Zeitsever manuell hinzufügen:
rem # w32tm /config /syncfromflags:manual /manualpeerlist:",0x1,0x1"
w32tm /config /syncfromflags:manual /manualpeerlist:""
rem # Den Clients verfügbar machen:
w32tm /config /reliable:yes
rem # Zeit-Dienst starten:
miebach /
Created Feb 16, 2014
Set brightness for secondary / external screen / monitor
xrandr -q | grep -w connected
xrandr --output VGA1 --brightness 0.8
miebach /
Created Feb 6, 2014
change keyboaard repeat rrrrrate
xset r rate 130 70
# 130 is the delay before the keypress starts repeating
# 70 is the pause between the repeaats
miebach /
Last active Jan 4, 2016
Firefox extensions and settings


Options - Gerneral - Browsing

  smooth scrolling
x hardware acceleration
  check spelling
View py3.patch
diff -r 961ac99baa29 couchdb/
--- a/couchdb/ Sun Aug 18 18:41:46 2013 +0200
+++ b/couchdb/ Fri Jan 17 11:03:56 2014 +0100
@@ -13,9 +13,9 @@
>>> doc_id, doc_rev ={'type': 'Person', 'name': 'John Doe'})
>>> doc = db[doc_id]
>>> doc['type']
>>> doc['name']
miebach /
Created Jan 11, 2014
Xmind on Ubuntu 13.10 with workaround for missing menus
miebach / byobu hostname display
Last active Jan 1, 2016
Byobu's hostname script modified to show only the short hostname. Use the install script below and activate using F9 -> toggle -> hostname
View byobu hostname display
#!/bin/sh -e
# hostname: report a host's name
# Copyright (C) 2008-2011 Canonical Ltd.
# Copyright (C) 2011 Dustin Kirkland
# Authors: Dustin Kirkland <>
# This program is free software: you can redistribute it and/or modify
miebach / vSphere-Client-english.cmd
Created Dec 4, 2013
Start vSphere Client 5.x with english locale set:
View vSphere-Client-english.cmd
rem Start vSphere Client 5.x with english locale set:
rem see
"C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -locale en_US
View post-checkout
#!/usr/bin/env bash
# gist at
# save this file to .git/hooks/post-checkout
# and also to .git/hooks/post-merge
# and make it executable
# Delete .pyc files and empty directories from root of project
cd ./$(git rev-parse --show-cdup)
View console.xml
<?xml version="1.0"?>
<console change_refresh="10" refresh="100" rows="20" columns="98" buffer_rows="500" buffer_columns="0" init_dir="c:\" start_hidden="0" save_size="1" shell="c:\bip\git\bin\sh.exe --login -i">
<color id="0" r="0" g="43" b="54"/>
<color id="1" r="38" g="139" b="210"/>
<color id="2" r="133" g="153" b="0"/>
<color id="3" r="42" g="161" b="152"/>
<color id="4" r="220" g="50" b="47"/>
<color id="5" r="211" g="54" b="130"/>