summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbattery-charge (renamed from avg_batt)0
-rwxr-xr-xcrypt_make17
-rwxr-xr-xcrypt_mount16
-rwxr-xr-xcrypt_umount15
-rwxr-xr-xdd_benchmark18
-rwxr-xr-xebay-template (renamed from ebay_template)0
-rwxr-xr-xfnf722
-rwxr-xr-xjpegtran-rotate-lossless (renamed from jpegtran_rotate_lossless)0
-rwxr-xr-xlayout-switch (renamed from layout_switch)0
-rwxr-xr-xmonitor-cpu-temp (renamed from monitor_cpu_temp)0
-rwxr-xr-xmonitor-soft-raid (renamed from monitor_soft_raid)0
-rwxr-xr-xmonitor_hdd_temp15
-rwxr-xr-xnet-profile (renamed from net_profile)0
-rwxr-xr-xofflineimap-switch (renamed from offlineimap_switch)0
-rwxr-xr-xtry-qlogin (renamed from try_qlogin)0
-rwxr-xr-xupgrade-gentoo (renamed from upgrade_gentoo)0
-rwxr-xr-xupgrade_kernel23
17 files changed, 0 insertions, 126 deletions
diff --git a/avg_batt b/battery-charge
index 9fd528f..9fd528f 100755
--- a/avg_batt
+++ b/battery-charge
diff --git a/crypt_make b/crypt_make
deleted file mode 100755
index 523ffab..0000000
--- a/crypt_make
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/zsh
-
-. /home/pks/bin/func.zsh
-check_root
-
-if [ "$#" -ne 2 ]; then
- echo "missing args: make_crypt </dev/device> <name>"
- exit
-fi
-
-DEVICE=$1
-NAME=$2
-
-cryptsetup -c aes-xts-plain64 -s 256 -h sha256 -i 1000 --use-random -y luksFormat $DEVICE
-cryptsetup luksOpen $DEVICE $NAME
-mkfs.xfs -L $NAME /dev/mapper/$NAME
-
diff --git a/crypt_mount b/crypt_mount
deleted file mode 100755
index 2483aec..0000000
--- a/crypt_mount
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/zsh
-
-. /home/pks/bin/func.zsh
-check_root
-
-if [ "$#" -ne 2 ]; then
- echo "missing args: mount_crypt </dev/device> <name>"
- exit
-fi
-
-DEVICE=$1
-NAME=$2
-
-cryptsetup luksOpen $DEVICE $NAME
-mount /dev/mapper/$NAME
-
diff --git a/crypt_umount b/crypt_umount
deleted file mode 100755
index 5743731..0000000
--- a/crypt_umount
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/zsh
-
-. /home/pks/bin/func.zsh
-check_root
-
-if [ "$#" -ne 1 ]; then
- echo "missing args: umount_crypt <name>"
- exit
-fi
-
-NAME=$1
-
-umount /media/$NAME
-cryptsetup luksClose /dev/mapper/$NAME
-
diff --git a/dd_benchmark b/dd_benchmark
deleted file mode 100755
index 0db9a46..0000000
--- a/dd_benchmark
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-for i in {0..4}; do
-echo "WRITE SPEED"
-dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync,notrunc
-echo
-
-echo "READ SPEED"
-echo 3 > /proc/sys/vm/drop_caches
-dd if=tempfile of=/dev/null bs=1M count=1024
-echo
-
-echo "BUFFERED READ SPEED"
-dd if=tempfile of=/dev/null bs=1M count=1024
-
-rm tempfile
-done
-
diff --git a/ebay_template b/ebay-template
index 770aa56..770aa56 100755
--- a/ebay_template
+++ b/ebay-template
diff --git a/fnf7 b/fnf7
deleted file mode 100755
index ee5548e..0000000
--- a/fnf7
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env ruby
-
-xrandrq = `xrandr -q`
-
-`touch /tmp/qqqaaa`
-
-if xrandrq.match /VGA1 connected/
- if File.exists? '/tmp/__vga_connected'
- `xrandr --output VGA1 --off`
- `xrandr --output LVDS1 --mode 1024x768`
- `rm /tmp/__vga_connected`
- else
- if xrandrq.match /1680x1050\s+\d+\.\d+\s++/
- `xrandr --output VGA1 --mode 1680x1050 --rate 60 --rotate left`
- elsif xrandrq.match /1600x1200\s+\d+\.\d+\s++/
- `xrandr --output VGA1 --mode 1600x1200 --rate 60 --rotate right`
- end
- `xrandr --output LVDS1 --off`
- `touch /tmp/__vga_connected`
- end
-end
-
diff --git a/jpegtran_rotate_lossless b/jpegtran-rotate-lossless
index f876e10..f876e10 100755
--- a/jpegtran_rotate_lossless
+++ b/jpegtran-rotate-lossless
diff --git a/layout_switch b/layout-switch
index fdc6b65..fdc6b65 100755
--- a/layout_switch
+++ b/layout-switch
diff --git a/monitor_cpu_temp b/monitor-cpu-temp
index 90b2bc9..90b2bc9 100755
--- a/monitor_cpu_temp
+++ b/monitor-cpu-temp
diff --git a/monitor_soft_raid b/monitor-soft-raid
index 1dc7da4..1dc7da4 100755
--- a/monitor_soft_raid
+++ b/monitor-soft-raid
diff --git a/monitor_hdd_temp b/monitor_hdd_temp
deleted file mode 100755
index 250c34c..0000000
--- a/monitor_hdd_temp
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/zsh
-
-. /home/pks/bin/func.zsh
-check_root
-
-MAX_TEMP=$1
-
-for i in `ls -1 /dev/disk/by-id/ | grep -v -P "^wwn-|\-part\d$|md-name|md-uuid"`; do
- DRIVE="/dev/disk/by-id/$i"
- TEMP=$(/usr/sbin/hddtemp -n $DRIVE 2>/dev/null)
- if [ "$TEMP" != "" ]; then
- if [ $TEMP -gt $MAX_TEMP ]; then logger "$DRIVE temp at $TEMP"; fi
- fi
-done
-
diff --git a/net_profile b/net-profile
index 57c278a..57c278a 100755
--- a/net_profile
+++ b/net-profile
diff --git a/offlineimap_switch b/offlineimap-switch
index 6f835cd..6f835cd 100755
--- a/offlineimap_switch
+++ b/offlineimap-switch
diff --git a/try_qlogin b/try-qlogin
index b939117..b939117 100755
--- a/try_qlogin
+++ b/try-qlogin
diff --git a/upgrade_gentoo b/upgrade-gentoo
index af56971..af56971 100755
--- a/upgrade_gentoo
+++ b/upgrade-gentoo
diff --git a/upgrade_kernel b/upgrade_kernel
deleted file mode 100755
index 49fab66..0000000
--- a/upgrade_kernel
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-if [ ! -f .config ]; then echo "Call from kernel source dir!"; exit; fi
-V=`pwd | ruby -e "puts STDIN.gets.split('/').last.split('-')[1..-1].join '-'"`;
-make mrproper
-cp -v ../config .config
-make
-sudo make modules_install
-sudo cp -v arch/x86/boot/bzImage /boot/kernel
-sudo md5sum /boot/kernel > /tmp/kernel.md5
-sudo mv /tmp/kernel.md5 /boot/kernel.md5
-sudo /sbin/lilo
-sudo rm /usr/src/linux
-sudo ln -s $(pwd) /usr/src/linux
-cd /home/pks/src/kernel/tp_smapi/
-sudo make HDAPS=1 install KVER=$V KSRC=/home/pks/src/kernel/linux-$V KBUILD=/home/pks/src/kernel/linux-$V
-sudo make clean
-sudo chown -R pks:pks * .* /home/pks/src/kernel/tp_smapi/ /home/pks/src/kernel/linux-*
-echo "================="
-cd /lib/modules/
-pwd
-ls -lah
-