Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tlercher
tlercher / wmfs-9999.ebuild
Created January 22, 2011 23:54
GIT ebuild for wmfs
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
inherit eutils git
DESCRIPTION="Windows Manager From Scratch"
HOMEPAGE="https://www.wmfs.info"
EGIT_REPO_URI="git://git.wmfs.info/wmfs.git"
@tlercher
tlercher / znc
Created October 16, 2012 06:37
ZNC systemd unit files
ZNC_OPTIONS="-d /var/lib/znc"
require 'formula'
class Nmap < Formula
homepage 'http://nmap.org/'
head 'https://guest:@svn.nmap.org/nmap/', :using => :svn
url 'http://nmap.org/dist/nmap-6.40.tar.bz2'
sha1 'ee1bec1bb62045c7c1fc69ff183b2ae9b97bd0eb'
conflicts_with 'ndiff', :because => 'both install `ndiff` binaries'

Keybase proof

I hereby claim:

  • I am tlercher on github.
  • I am tlercher (https://keybase.io/tlercher) on keybase.
  • I have a public key ASCI4kljwNdpz03V0sRBeKdoyh-0L0cnmE8N7kML24agAwo

To claim this, I am signing this object:

@tlercher
tlercher / migrate-git-repos.sh
Created July 4, 2017 14:10
Migrate git repoistories
#!/bin/bash
old_url="ssh://git@old.git.host:4711/"
new_url="ssh://git@new.git.host:4711/"
working_directory=$(pwd)
for dir in $(find $working_directory -maxdepth 1 -type d \( ! -name . \) -print); do
is_using_git=$( { git -C $dir rev-parse --is-inside-work-tree; } 2>&1 )
if [ "$is_using_git" == "true" ]; then
@tlercher
tlercher / Thinkpad-T430
Created October 13, 2019 11:47
Extra sensors.conf for Thinkpad T430
chip "thinkpad-isa-0000"
label fan1 "Fan"
label temp1 "CPU"
ignore temp2
ignore temp3
ignore temp4
ignore temp5
ignore temp6
ignore temp7
ignore temp8
@tlercher
tlercher / LICENSE.TXT
Created September 16, 2023 13:46
Anyone but people in Switzerland
This piece of code is licensed under the "Anyone But people in Switzerland" (ABS) license, described below. No other licenses may apply.
Do anything you want with this code, with the exceptions listed below under "EXCEPTIONS".
THIS CODE IS PROVIDED "AS IS" WITH NO WARREANTY OF ANY KIND.
In the unlikely event that you happen to make a zillion bucks off of this, then good for you; consider buying a homeless person a meal.
EXCEPTIONS