summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bashrc25
-rwxr-xr-xbin/a4copy26
-rwxr-xr-xbin/git_diff16
-rwxr-xr-xbin/pdfscan33
-rw-r--r--gitignore1
5 files changed, 0 insertions, 101 deletions
diff --git a/bashrc b/bashrc
index 8bcc815..2285c44 100644
--- a/bashrc
+++ b/bashrc
@@ -26,18 +26,6 @@ export RTOP=~/svn/R
export DEBEMAIL=jranke@uni-bremen.de
export DEBFULLNAME="Johannes Ranke"
# }}}
-# rdkit {{{
-# RDKIT (commented out on 2015-10-02 as I am using the Debian package python-rdkit
-#export PYTHONPATH="${PYTHONPATH}:$RDBASE:$HOME/ariance/aeras/libreoffice:$HOME/py"
-# commented back in as switching to LibreOffice 5 from backports makes using python3 necessary
-# The cmake command I used to try to build rdkit on stretch (2018-03-01) was
-# cmake -D PYTHON_LIBRARY=/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu/libpython3.5m.a -D PYTHON_INCLUDE_DIR=/usr/include/python3.5/ -D PYTHON_EXECUTABLE=/usr/bin/python3 -DRDK_BUILD_INCHI_SUPPORT=ON ..
-# However, then I get bitten by https://gitlab.kitware.com/cmake/cmake/issues/16391 which is unresolved
-# Therefore, as I do not want to compile boost from source for now, go back to python2.7 and comment the following again...
-#export RDBASE="$HOME/git/rdkit"
-#export LD_LIBRARY_PATH="$RDBASE/lib"
-#export PYTHONPATH="${PYTHONPATH}:$RDBASE"
-# }}}
# prompt {{{
force_color_prompt=yes
@@ -92,19 +80,6 @@ alias la='ls -A'
alias l='ls -CF'
alias lh='ls -lh'
# }}}
-# alert {{{
-# Add an "alert" alias for long running commands. Use like so:
-# sleep 10; alert
-alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
-# }}}
-# bash completion {{{
-# enable programmable completion features (you don't need to enable
-# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
-# sources /etc/bash.bashrc).
-if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
- . /etc/bash_completion
-fi
-# }}}
# {{{varia
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
diff --git a/bin/a4copy b/bin/a4copy
deleted file mode 100755
index de45664..0000000
--- a/bin/a4copy
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-usage()
-{
-echo "Usage: a4copy [Lineart|Gray|Color]"
-}
-
-#test to see if the mode and a filename have been entered
-if [ $# -lt 1 ] ; then usage ; exit 1 ; fi
-mode=$1
-
-echo Now scanning your A4 document to pdf
-
-#scan the A4 binary(b&w) file uncompressed at 300dpi to temporary file
-scanimage \
- --mode $mode \
- -x 210 -y 296 \
- --resolution 300 \
- --format=tiff > temp-copy.tif
-
-#convert to pdf with G4 compression
-tiff2pdf temp-copy.tif -p A4 -q G4 -o temp-copy.pdf
-rm temp-copy.tif
-
-#print pdf
-lpr temp-copy.pdf
diff --git a/bin/git_diff b/bin/git_diff
deleted file mode 100755
index a35fc68..0000000
--- a/bin/git_diff
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-# un-comment one diff tool you'd like to use
-#
-# From https://stackoverflow.com/a/7669988/3805440, thanks
-
-# side-by-side diff with custom options:
-/usr/bin/sdiff -w200 -l "$2" "$5"
-
-# using kdiff3 as the side-by-side diff:
-#/usr/bin/kdiff3 "$2" "$5"
-
-# using Meld
-#/usr/bin/meld "$2" "$5"
-
-# using VIM
-#/usr/bin/nvim -d "$2" "$5"
diff --git a/bin/pdfscan b/bin/pdfscan
deleted file mode 100755
index 5b71b30..0000000
--- a/bin/pdfscan
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-usage()
-{
-echo "Usage: pdfscan [Lineart|Gray|Color] [resolution] <nameofimage>"
-}
-
-#test to see if the mode and a filename have been entered
-if [ $# -lt 3 ] ; then usage ; exit 1 ; fi
-mode=$1
-resolution=$2
-name=$3
-
-#read output of help command to get scanner device name
-#scanner=`scanimage --help | tail --lines=1 `
-
-echo Now scanning your A4 document to pdf
-#echo Now scanning your A4 document on $scanner
-
-#scan the A4 binary(b&w) file uncompressed at 300dpi to temporary file
-#scanimage -d $scanner \
-scanimage \
- --mode $mode \
- -x 210 -y 296 \
- --resolution $resolution \
- --format=tiff > temp-$name.tif
-
-#convert to pdf with G4 compression
-tiff2pdf temp-$name.tif -p A4 -q G4 -o $name.pdf
-rm temp-$name.tif
-
-#display pdf
-okular $name.pdf
diff --git a/gitignore b/gitignore
index aae79c9..b9cea99 100644
--- a/gitignore
+++ b/gitignore
@@ -12,4 +12,3 @@
~$*.xlk*
~$*.ppt*
-

Contact - Imprint