diff options
author | Patrick Simianer <p@simianer.de> | 2014-09-21 11:31:14 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-09-21 11:31:14 +0100 |
commit | 0aae427eb3838297f6e204c2961739ef834762cf (patch) | |
tree | c533ade19b5c699a2edb4b309e8fd40cc4c03239 | |
parent | 6571bd6dd7b80927a17c9639c93c888e5cc98a53 (diff) |
rm superfluous whitespace
-rwxr-xr-x | alarm | 1 | ||||
-rwxr-xr-x | aptitude-safe-upgrade | 1 | ||||
-rwxr-xr-x | backup | 1 | ||||
-rwxr-xr-x | backup-2pac | 1 | ||||
-rwxr-xr-x | chromium | 1 | ||||
-rwxr-xr-x | chromium-real-user-agent | 1 | ||||
-rwxr-xr-x | cputemp | 1 | ||||
-rwxr-xr-x | ddbench | 1 | ||||
-rwxr-xr-x | dup | 1 | ||||
-rwxr-xr-x | ebay-template | 1 | ||||
-rwxr-xr-x | find-by-keyword | 1 | ||||
-rwxr-xr-x | fn-f7 | 1 | ||||
-rwxr-xr-x | forward-ports | 1 | ||||
-rwxr-xr-x | gallery | 4 | ||||
-rwxr-xr-x | hddtemp | 1 | ||||
-rwxr-xr-x | jpegtran-rotate-lossless | 2 | ||||
-rwxr-xr-x | killwifi | 1 | ||||
-rwxr-xr-x | magnet | 3 | ||||
-rwxr-xr-x | mdstat | 1 | ||||
-rwxr-xr-x | mkinitcpio | 1 | ||||
-rwxr-xr-x | mount-crypt | 1 | ||||
-rwxr-xr-x | net-profile | 1 | ||||
-rwxr-xr-x | offlineimap-switch | 1 | ||||
-rwxr-xr-x | pdflatexup | 1 | ||||
-rwxr-xr-x | remote-home | 1 | ||||
-rwxr-xr-x | try-qlogin | 1 | ||||
-rwxr-xr-x | umount-crypt | 1 | ||||
-rwxr-xr-x | updatepdf | 1 | ||||
-rwxr-xr-x | upgrade-kernel | 1 | ||||
-rwxr-xr-x | yt2mp3 | 1 |
30 files changed, 1 insertions, 35 deletions
@@ -1,6 +1,5 @@ #!/usr/bin/env ruby - u = ARGV[0][-1] t = ARGV[0][0..-2].to_f diff --git a/aptitude-safe-upgrade b/aptitude-safe-upgrade index b5c57d9..ead0c8d 100755 --- a/aptitude-safe-upgrade +++ b/aptitude-safe-upgrade @@ -1,6 +1,5 @@ #!/bin/zsh - . /home/pks/bin/func.zsh check_root @@ -1,5 +1,4 @@ #!/bin/zsh - sudo rsync -avv --exclude-from /home/pks/bin/backup.exclude --delete / /media/dock/b diff --git a/backup-2pac b/backup-2pac index f0d794e..43748fb 100755 --- a/backup-2pac +++ b/backup-2pac @@ -1,6 +1,5 @@ #!/bin/zsh - . /home/pks/bin/func.zsh check_root @@ -1,5 +1,4 @@ #!/bin/zsh - /usr/bin/chromium-browser --no-referrers --user-agent="\"$(shuf -n 1 /home/pks/bin/user-agents)\"" ${1+"$@"} 2>/dev/null & diff --git a/chromium-real-user-agent b/chromium-real-user-agent index 756958f..3d93034 100755 --- a/chromium-real-user-agent +++ b/chromium-real-user-agent @@ -1,5 +1,4 @@ #!/bin/zsh - /usr/bin/chromium-browser --no-referrers ${1+"$@"} 2>/dev/null & @@ -1,6 +1,5 @@ #!/bin/zsh - MAX_TEMP=$1 for i in \ @@ -1,6 +1,5 @@ #!/bin/sh - for i in {0..4}; do echo "WRITE SPEED" dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync,notrunc @@ -1,6 +1,5 @@ #!/usr/bin/env ruby - dir = ARGV[0] a = `find #{dir} -type f`.split "\n" diff --git a/ebay-template b/ebay-template index 6c409cd..65c6b8f 100755 --- a/ebay-template +++ b/ebay-template @@ -2,7 +2,6 @@ require 'haml' - template = ' %div(style="margin:2em;border:0;background:#ffffcc;font-family:Georgia") %div(style="margin:1em") diff --git a/find-by-keyword b/find-by-keyword index adea961..93bf851 100755 --- a/find-by-keyword +++ b/find-by-keyword @@ -1,6 +1,5 @@ #!/bin/zsh - for i in `find . -type f`; do A=$(jhead $i 2>/dev/null | grep Keyword | grep $1) if [ "$A" != "" ]; then echo $i; fi @@ -1,6 +1,5 @@ #!/bin/sh - if [ -a /tmp/vgaclone ]; then xrandr --output VGA-0 --off rm /tmp/vgaclone diff --git a/forward-ports b/forward-ports index f13307a..c991a0f 100755 --- a/forward-ports +++ b/forward-ports @@ -1,6 +1,5 @@ #!/bin/zsh - . /home/pks/bin/func.zsh check_root @@ -11,7 +11,6 @@ Patrick Simianer <p@simianer.de> import sys, os, glob, subprocess, shlex - def main(): try: path = sys.argv[1] @@ -36,9 +35,6 @@ def main(): print '</div>' print '</div></body></html>' - - - if __name__ == '__main__': main() @@ -1,6 +1,5 @@ #!/bin/zsh - . /home/pks/bin/func.zsh check_root diff --git a/jpegtran-rotate-lossless b/jpegtran-rotate-lossless index 77a0949..f876e10 100755 --- a/jpegtran-rotate-lossless +++ b/jpegtran-rotate-lossless @@ -1,6 +1,5 @@ #!/bin/sh - function usage { echo 'Usage: jpegtran-rotate-lossless.sh <90|180|270> <file>' exit 1 @@ -20,7 +19,6 @@ case $ROTATION in usage ;; esac - jpegtran -rotate $ROTATION -trim -copy all $FILE > $FILE-rotate if [ $? -ne 0 ]; then echo 'jpegtran-rotate-lossless.sh: jpegtran failed' @@ -1,6 +1,5 @@ #!/bin/sh - sudo /etc/init.d/dhcpcd stop sudo killall wpa_supplicant @@ -1,7 +1,6 @@ #!/bin/bash - -cd ~/z +cd ~/tmp [[ "$1" =~ xt=urn:btih:([^&/]+) ]] || exit; echo "d10:magnet-uri${#1}:${1}e" > "meta-${BASH_REMATCH[1]}.torrent" @@ -1,6 +1,5 @@ #!/bin/zsh - S=$(awk '/^md/ {printf "%s: ", $1}; /blocks/ {print $NF}' </proc/mdstat) STATUS=$(echo $S | cut -d" " -f2) if [[ $STATUS != "[UUUU]" ]]; then logger "[mdstat warning] $S"; fi @@ -1,6 +1,5 @@ #!/bin/sh - cd /usr/src/initramfs cp /etc/suspend.conf /usr/src/initramfs/etc/ find . -print0 | cpio --null -ov --format=newc | gzip -9 > /boot/initramfs.cpio.gz diff --git a/mount-crypt b/mount-crypt index 9c86163..d4a6bc4 100755 --- a/mount-crypt +++ b/mount-crypt @@ -1,6 +1,5 @@ #!/bin/bash - . /home/pks/bin/func.zsh check_root diff --git a/net-profile b/net-profile index 874aaac..8acea40 100755 --- a/net-profile +++ b/net-profile @@ -1,6 +1,5 @@ #!/bin/sh - setup_wifi() { sudo wpa_supplicant -D wext -i wlan0 -c ~/.net_profiles/$1.conf &>/tmp/wpa_supplicant.log & diff --git a/offlineimap-switch b/offlineimap-switch index ef7328d..6f835cd 100755 --- a/offlineimap-switch +++ b/offlineimap-switch @@ -1,6 +1,5 @@ #!/bin/sh - case `date +"%a"` in Sat|Sun) offlineimap -a private @@ -1,6 +1,5 @@ #!/bin/sh - /usr/bin/pdflatex $1 if [ $? -eq 0 ]; then diff --git a/remote-home b/remote-home index 3ae11a5..d17e938 100755 --- a/remote-home +++ b/remote-home @@ -1,5 +1,4 @@ #!/bin/sh - sshfs simianer@diddley:/srv/nfs/home_mitarb/simianer/ /mnt -o idmap=user -o uid=1337 -o gid=100 @@ -1,6 +1,5 @@ #!/bin/bash - trap 'echo Control-C trap caught; exit 1' 2 while true diff --git a/umount-crypt b/umount-crypt index 1405d46..54f7cc0 100755 --- a/umount-crypt +++ b/umount-crypt @@ -1,6 +1,5 @@ #!/bin/zsh - . /home/pks/bin/func.zsh check_root @@ -1,6 +1,5 @@ #!/bin/zsh - mupdf $1 & echo $! > .mupdf.pid diff --git a/upgrade-kernel b/upgrade-kernel index dd57678..1971a88 100755 --- a/upgrade-kernel +++ b/upgrade-kernel @@ -1,6 +1,5 @@ #!/bin/sh - if [ ! -f .config ]; then echo "Call from kernel source dir!"; exit; fi V=`pwd | ruby -e "puts STDIN.gets.split('/').last.split('-').last"` make mrproper @@ -1,6 +1,5 @@ #!/bin/sh - usage() { echo "$0 <yt link> <mp3 file>" |