Skip to content

Instantly share code, notes, and snippets.

View dedeibel's full-sized avatar

Benjamin Peter dedeibel

View GitHub Profile
@dedeibel
dedeibel / tmux.conf
Last active October 5, 2021 09:34 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever (v3.1c compatiblity)
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
set-option -g display-time 4000
#set -g default-terminal screen-256color
set -g default-terminal screen-256color
@dedeibel
dedeibel / .zshrc
Created May 21, 2017 10:50 — forked from meise/.zshrc
Configure bash variables based on directories
if [[ -e $HOME/.zsh/chpwd_profiles.zsh ]]; then
source $HOME/.zsh/chpwd_profiles.zsh
zstyle ":chpwd:profiles:/home/${USER}/projects(|/|/*)" profile projects
zstyle ":chpwd:profiles:(|/|/*)" profile default
# configuration for profile 'projects':
chpwd_profile_projects() {
[[ ${profile} == ${CHPWD_PROFILE} ]] && return 1
print "chpwd(): Switching to profile: $profile"
@dedeibel
dedeibel / chart.pl
Created October 27, 2009 13:31 — forked from jkramer/chart.pl
#!/usr/bin/perl
use strict;
use warnings;
use Chart::Pie;
use IO::File;
my $pie = Chart::Pie->new(640, 480);
my $score;