Usage: calc expression
Use awk for arithemetic operations
Operations:
x + y Addition
x - y Subtraction
- x Negation
x * y Multiplication
x / y Division
x % y Modulo
x ^ y Exponentiation
int(x) Truncate integer toward zero
sqrt(x) Positive square root
exp(x) Exponentiation e ^ x
log(x) Natural logarithm
sin(x) Sine (in radians)
cos(x) Cosine (in radians)
atan2(x, y) Arctangent of x / y (in radians)
rand() Random number between zero and one
srand(x) Random number starting at x
Usage: create-deb-depends name version depends [file.deb]
Create a deb package for Debian / Ubuntu only containing dependency
information. This helps recognizing relationship of packages and
installed software. It also avoids accidental uninstalls.
Examples:
create-deb-depends mutt-dependencies 1.3.17-1 "libc6 (>= 2.2.1), exim | mail-transport-agent" test.deb
create-deb-depends config5-dependencies 0.1 "perl-modules, libtemplate-perl, lsb-release, curl, udev"
Usage: ./repo.sh path
usage: de [-h] {ru,fr,en,pl,pt,ch,it,es} word
Translate a word from or to german with dict.leo.org.
positional arguments:
{ru,fr,en,pl,pt,ch,it,es}
language to translate from or to german
word word(s) to translate
optional arguments:
-h, --help show this help message and exit
Usage: ./sign.sh package1.deb [package2.deb [...]]
Usage: dict "word"
Translate the given word(s) with dict.leo.org [English -- Deutsch]
Usage: file-crypt file
Use tar and gpg to encrypt a file or directory
See also: file-uncrypt
Usage: file-uncrypt file
Use tar and gpg to uncrypt a file
See also: file-crypt
Usage: firefox-sleep
Suspend all Firefox (and plugin) processes
See also: firefox-wake
Usage: firefox-wake
Wake up all Firefox (and plugin) processes
See also: firefox-sleep
Usage: host2ip dns-name
Use host to convert dns-name to IP address
Usage: ipcalc [HHHHHHHH | HH.H.HH.H | DDDDDDDDDDDD | DDD.DD.D.DDD]
Convert IPv4-Adresses HEX <--> DEC
Usage: ./md2pdf /path/to/file.md [/path/to/file.pdf]
Usage: mp3-vbrfix [file]
Use vbrfix to fix wrong vbr header (e.g. song length) in all .mp3 files (recursively)
Usage: mutex-lock [name]
Use mkdir (atomicly) to realize mutex on file system level. If no
name is specified, a default lock will be used.
See also: mutex-unlock
Usage: mutex-unlock [name]
Use mkdir (atomicly) to realize mutex on file system level. If no
name is specified, a default lock will be used.
See also: mutex-lock
Usage: ssh-unlock-disk [ssh-options] hostname/ip
Use this script to send a password through ssh to unlock luks encrypted disks
(in initrds). It will use its own known_hosts file since the initrd's all have
a different identity than the actual host (uses dropbear instead of openssh).
Usage: ssh-keyup hostname
Update ssh-key of given hostname and ip address in ~/.ssh/known_hosts
Usage: thunderbird-sleep
Suspend all thunderbird processes
See also: thunderbird-wake
Usage: thunderbird-wake
Wake up all thunderbird processes
See also: thunderbird-sleep