As configured in my dotfiles.
start new:
tmux
start new with session name:
| CC ?= gcc | |
| PLUGINDIR ?= $(shell pkg-config --variable=plugindir purple) | |
| CFLAGS += -Wall -fPIC | |
| LDFLAGS += -L$(PLUGINDIR) -ljabber -shared | |
| CPPFLAGS += $(shell pkg-config --cflags glib-2.0 purple) | |
| LIBS += $(shell pkg-config --libs glib-2.0 purple) | |
| TARGET = libxmpp-ignore-groups.so |
As configured in my dotfiles.
start new:
tmux
start new with session name:
ctrl + (←|→) move between args
ctrl + (A|E) move (beginning | end)
ctrl + U delete line
ctrl + K delete after cursor
ctrl + W delete previous word
| #/bin/bash | |
| input=$1 | |
| output=$2 | |
| mkdir -p $output | |
| for line in $(ls $1) | |
| do | |
| convert $input/$line -rotate -90 $ouput/$line |
| #/bin/bash | |
| # make output file | |
| basedir=~/.openvpn | |
| vpnconfigdir=$basedir/$2 | |
| mkdir -p $basedir | |
| mkdir -p $vpnconfigdir | |
| # print Gateway | |
| sed -n 's/remote \([^ ]\+\) [0-9]\+/passerelle: \1/p' $1 |