This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
##### CONFIG | |
DEVS=( "sd" "mmcblk" ) | |
BLOCK=( "sda" ) | |
#### DO NOT TOUCH | |
c=0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
##### CONFIG | |
SRC=( "/home/mark" "/etc" ) | |
BACKUPDIR=$1 | |
#### DO NOT TOUCH | |
BACK=$(pwd) | |
if [ -d "${BACKUPDIR}" ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FILE=/tmp/kopierkc | |
echo "Searching..." | |
PRINTER=$(LANG=C lpstat -p -d | grep "is idle" | wc -l) | |
if [ $PRINTER -lt 1 ]; then | |
echo "No idle Printer found." | |
exit 1 | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ***** CONFIG | |
DRV="/dev/sr0" | |
# ***** /CONFIG | |
# ***** FUNCTIONS | |
doordie() { | |
if [ "$1" == "" ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ "$1" == "-h" ]; then | |
echo "recoder RESOLUTION QUALITY [crop] FILETYPE" | |
echo | |
echo "Resolutions:" | |
echo " llow: 170x* , mencoder" | |
echo " low: 320x* , mencoder" | |
echo " mid: 528x* , mencoder" | |
echo " high: 720x* , mencoder" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dinge | |
- beedasul | |
creates playlist for madasul using beet | |
- deepcnv.pl | |
converts charset recursively | |
- dvd2avi | |
rips a dvd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
if (not -e "pkglist") { | |
exec("pacman -Qqet > pkglist"); | |
} | |
my $param=shift(); | |
my @keep=split(/\n/,`cat pkglist | grep -v '^#'`); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GNU GENERAL PUBLIC LICENSE | |
Version 3, 29 June 2007 | |
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> | |
Everyone is permitted to copy and distribute verbatim copies | |
of this license document, but changing it is not allowed. | |
Preamble | |
The GNU General Public License is a free, copyleft license for |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo /usr/bin/quicklan $1 $2 |