Skip to content

Instantly share code, notes, and snippets.

View simon04's full-sized avatar

Simon Legner simon04

  • Innsbruck, Austria
View GitHub Profile
@simon04
simon04 / gist:6825106
Created October 4, 2013 12:24
Fix pts and urxvt on Arch Linux

Since recently I struggled with:

$ urxvt
urxvt: can't initialize pseudo-tty, aborting.

$ sudo mount -a
mount: none is already mounted or /dev/pts busy
@simon04
simon04 / PKGBUILD
Last active December 18, 2015 01:29
Arch Linux PKGBUILD for tpfanco-svn 89-5
# Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt do de>
pkgname=tpfanco-svn
pkgver=89
pkgrel=5
pkgdesc="Monitors temperatures and controls fan speed of IBM/Lenovo ThinkPad notebooks."
replaces=('tpfand')
provides=('tpfanco')
conflicts=('tpfanco' 'tpfand-no-hal' 'tpfand' 'tpfand-profiles' 'tpfan-admin')
depends=('python2-dmidecode-git' 'python2-dbus' 'pygtk' 'python2-rsvg' 'python2-dbus')
@simon04
simon04 / maven2gradle.sh
Created January 27, 2013 23:06
A basic conversion script from Maven to Gradle dependencies
#!/bin/sh
echo 'dependencies {'
xmlstarlet sel -T \
-N pom="http://maven.apache.org/POM/4.0.0" \
-t -m '//pom:dependency' \
-o " compile '" \
-v 'pom:groupId' \
-o ':' \
-v 'pom:artifactId' \
-o ':' \