From 78ef66d232c2f80fc6d20859bf514719dc1eb3e1 Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 5 Jun 2014 21:55:49 +0200 Subject: Adding more bbb specific JACK settings --- bin/start_jack | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/start_jack b/bin/start_jack index d28733c..48e97ed 100755 --- a/bin/start_jack +++ b/bin/start_jack @@ -13,7 +13,7 @@ case "$HOSTNAME" in EXTERNAL="card 1" if [[ "$CARDS" == *$EXTERNAL* ]];then echo "Starting with external USB card" - /usr/bin/xvfb-run -s "-screen 0, 1280x800x24" -a -e ~/.log/xvfb-run-jack.error jackd -dalsa -dhw:1,0 -p128 -n3 -s &> ~/.log/jackd.log & + /usr/bin/xvfb-run -s "-screen 0, 1280x800x24" -a -e ~/.log/xvfb-run-jack.error jackd -dalsa -dhw:1,0 -p2048 -n3 -s &> ~/.log/jackd.log & else echo "Starting with internal HDMI card" /usr/bin/xvfb-run -s "-screen 0, 1280x800x24" -a -e ~/.log/xvfb-run-jack.error jackd -dalsa -dhw:0,0 -p128 -n3 -s &> ~/.log/jackd.log & -- cgit v1.2.3-70-g09d2 From e1de2e03a7ab7bdbd978ee92ac4340984a0af777 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 17 Jun 2014 15:33:49 +0200 Subject: Retabbing, customizing to my user --- .zsh.after/unixpool | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.zsh.after/unixpool b/.zsh.after/unixpool index d3498a1..e2edade 100644 --- a/.zsh.after/unixpool +++ b/.zsh.after/unixpool @@ -49,23 +49,23 @@ fi ## FUNCTIONS function music_update() { - echo "updating zip files" - for i in */*; - do - name=`echo $i | sed 's/\ /_/g' | sed 's/\//-/g'` - if [ ! -e $name.zip ]; - then - echo "packing $i as $name.zip" - zip -r $name.zip $i - fi - done - echo "done" + echo "updating zip files" + for i in */*; + do + name=`echo $i | sed 's/\ /_/g' | sed 's/\//-/g'` + if [ ! -e $name.zip ]; + then + echo "packing $i as $name.zip" + zip -r $name.zip $i + fi + done + echo "done" } function makantine() { - wget http://personalkantine.personalabteilung.tu-berlin.de/pdf/MA-aktuell.pdf -O /tmp/makantine.$$.pdf >&/dev/null - xpdf -cont -z page /tmp/makantine.$$.pdf - rm -f /tmp/makantine.$$.pdf + wget http://personalkantine.personalabteilung.tu-berlin.de/pdf/MA-aktuell.pdf -O /tmp/makantine.$$.pdf >&/dev/null + xpdf -cont -z page /tmp/makantine.$$.pdf + rm -f /tmp/makantine.$$.pdf } function pxeln() { @@ -121,5 +121,5 @@ function pxeln() { } function mailhighscore() { - for i in /homes/wheel/*; do n=`basename $i`; echo `grep $n /var/spool/mail/konni | grep -c From` $n; done | sort -nr + for i in /homes/wheel/*; do n=`basename $i`; echo `grep $n /var/spool/mail/runge | grep -c From` $n; done | sort -nr } -- cgit v1.2.3-70-g09d2 From 0b7cf0e3325f31f4b676734e2b5bb1dead0fbfa9 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 17 Jun 2014 15:34:17 +0200 Subject: Adding octave support --- .vundles.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vundles.local b/.vundles.local index 0f02485..b020552 100644 --- a/.vundles.local +++ b/.vundles.local @@ -9,4 +9,4 @@ Bundle "sophacles/vim-processing" "latex Bundle "vim-scripts/LaTeX-Suite-aka-Vim-LaTeX" "octave -Bundle "sjas/octave.vim" +Bundle "sjas/octave.vim" \ No newline at end of file -- cgit v1.2.3-70-g09d2 From c72761520d904c3bc4ecd39f8f839223513d8e30 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 17 Jun 2014 15:53:04 +0200 Subject: Adding more work related ignores --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index ebdb903..406b842 100644 --- a/.gitignore +++ b/.gitignore @@ -40,9 +40,11 @@ Music/ Pictures/ Videos/ backup/ +build/ git/ ownCloud/ yankring_history_v2.txt +svn/ .ICEauthority .Mathematica/ @@ -255,6 +257,7 @@ yankring_history_v2.txt .processing/ .profile .pryrc +.pulse .pulse-cookie .python-eggs/ .q3a/ -- cgit v1.2.3-70-g09d2 From 3b44361df3ede6208faa6fc97d584d33889dedf5 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 17 Jun 2014 16:04:55 +0200 Subject: Adding bindings for vi-copy mode in tmux --- .tmux.conf | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 6fefcb7..586539c 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -62,7 +62,6 @@ setw -g mode-mouse on - # Keep your finger on ctrl, or don't bind-key ^D detach-client @@ -73,6 +72,14 @@ set -g status-keys vi # Use vi keybindings in copy and choice modes setw -g mode-keys vi +# v and y like vi in copy-mode +bind-key -t vi-copy 'v' begin-selection +bind-key -t vi-copy 'y' copy-selection +# clipboard settings +set -s set-clipboard on +bind-key C-p run "xclip -o | tmux load-buffer - ; tmux paste-buffer" +bind-key C-y run "tmux save-buffer - | xclip -i" + # set first window to index 1 (not 0) to map more to the keyboard layout... set -g base-index 1 -- cgit v1.2.3-70-g09d2