Skip to content

Instantly share code, notes, and snippets.

Julius Plenz Feh

Block or report user

Report or block Feh

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View kamusi-cli.test
zsh> ./kamusi -qs president
noun: urais; mkuu; mrajis; rais
zsh> ./kamusi -qsd sw rais
verb: play the hypocrite
noun: chairman; chairman; president
View git-ff-track
# fast-forward local tracking branch if you get something like (on git checkout):
# Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
# Author: Valentin Haenel <>
# Licence: wtfpl <>
BRANCH=$( git branch | grep ^* | cut -f1 -d' ' --complement )
if [[ -z $BRANCH ]] ; then
# not a git repository
exit 1
import java.util.Queue;
import java.util.LinkedList;
public class R {
public static void main(String[] args) {
int len = 10;
Feh / fgrep.go
Created Oct 26, 2012
When the disk cache is full, grep(1) is single-threaded and CPU-bound. I tried implementing a simple "fgrep -IR" in Go using channels and one goroutine per file, but the program is an order of magnitude slower. Why?
View fgrep.go
package main
import (
* Assignment 9, exercise 3
* Class representing a labyrinth
* Two constructors are already implemented, also a method to print out the labyrinth and its solution
* @author Lisa Julia Nebel Julius Plenz
// TODO Take a look how this class works.
// TODO Look at the docstrings, document your own functions
You can’t perform that action at this time.