|
1 | 1 | # dbbolton's scripts |
2 | | -https://github.com/dbbolton/scripts |
| 2 | +<https://github.com/dbbolton/scripts> |
3 | 3 |
|
4 | 4 | This repository is an eclectic collection of scripts that typically populate |
5 | 5 | my ~/bin. Most are written in Perl, but there are some Shell and Vim scripts |
6 | 6 | in the mix as well (I try to make a point to include file extensions for |
7 | 7 | those who care what they are). |
8 | 8 |
|
9 | | -* **apin.pl** - avoids pitfalls in running aptitude through **su -c**. |
| 9 | +* **apin.pl** avoids pitfalls in running aptitude through **su -c**. |
10 | 10 |
|
11 | | -* **apt-carbon.pl** - generates a shell script to duplicate a Debian system |
| 11 | +* **apt-carbon.pl** generates a shell script to duplicate a Debian system |
12 | 12 | easily. |
13 | 13 |
|
14 | | -* **cpu-gov.pl** - decides which CPU governor and implements it based on power |
| 14 | +* **cpu-gov.pl** decides which CPU governor and implements it based on power |
15 | 15 | source. |
16 | 16 |
|
17 | | -* **dwn-status.pl** - provides several functions for displaying system info |
| 17 | +* **dwn-status.pl** provides several functions for displaying system info |
18 | 18 | in the dwm "status bar"; add this script to your |
19 | 19 | **~/.xinitrc** before dwm. |
20 | 20 |
|
21 | | -* **file-rename.pl** - sensibly renames files with problematic characters. |
| 21 | +* **file-rename.pl** sensibly renames files with problematic characters. |
22 | 22 |
|
23 | | -* **forkbomb.pl** - is an example of obfuscated perl code. Doesn't work. |
| 23 | +* **forkbomb.pl** is an example of obfuscated perl code. Doesn't work. |
24 | 24 |
|
25 | | -* **ipad.pl** - shows your interface's IP address and your external address. |
| 25 | +* **ipad.pl** shows your interface's IP address and your external address. |
26 | 26 |
|
27 | | -* **kernel-deb.sh** - saves typing durning the kernel build process. |
| 27 | +* **kernel-deb.sh** saves typing durning the kernel build process. |
28 | 28 |
|
29 | | -* **ladj.pl** - helps in generating Wiktionary entries for first declension |
| 29 | +* **ladj.pl** helps in generating Wiktionary entries for first declension |
30 | 30 | Latin adjectives. |
31 | 31 |
|
32 | | -* **media-sync.pl** - eases my rsync procedure. |
| 32 | +* **media-sync.pl** eases my rsync procedure. |
33 | 33 |
|
34 | | -* **nvidia-installer.pl** - offers choice of available versions and automates |
| 34 | +* **nvidia-installer.pl** offers choice of available versions and automates |
35 | 35 | installation of **nvidia** Xorg drivers from the Debian repos; also offers |
36 | 36 | choice of available Nvidia binary installers and can store default args. |
37 | 37 |
|
| 38 | +* **pct-err.pl** calculates percent error. |
38 | 39 |
|
| 40 | +* **perlcalc.pl** acts as a command-line calculator; uses **eval**, and |
| 41 | +only includes a really basic safety net. |
| 42 | + |
| 43 | +* **rmrf.pl** is another example of obfuscated Perl. It probably doesn't |
| 44 | +work; I haven't tried it. |
| 45 | + |
| 46 | +* **rua.pl** see **apin.pl**. |
| 47 | + |
| 48 | +* **std-dev.pl** calculates standard deviation from user input. |
| 49 | + |
| 50 | +* **systats.pl** provides easy access to system information like active |
| 51 | +memory, battery charge, CPU temperature, etc. |
| 52 | + |
| 53 | +* **thunar-edit.pl** is useful as a custom action in Thunar for opening |
| 54 | +different types of files in their respective editors based on file |
| 55 | +extensions. |
| 56 | + |
| 57 | +* **tidy-diff.vim** is a simple Vim script that runs **perltidy** on the |
| 58 | +current file, splits the current window in diff mode, and highlights the |
| 59 | +differences between your file and perltidy's output. Run :diffoff to exit |
| 60 | +diff mode. |
| 61 | + |
| 62 | +* **tint2theme.pl** is a theme switcher for **tint2**; assumes you have all |
| 63 | +theme files is one directory ( easily configurable ). |
| 64 | + |
| 65 | +* **urxvt-icon-updater.sh** is a shell script that replaces URxvt's joke of |
| 66 | +an icon with a more recognizable terminal icon from the Oxygen theme ( you |
| 67 | +could easily modify this to Gnome/Tango or something else ); requires |
| 68 | +**convert** from **imagemagick**. |
| 69 | + |
| 70 | +* **wifi-switch.pl** allows you to switch easily between two frequently used |
| 71 | +wireless networks if you configure your connection through **interfaces(5)**. |
| 72 | + |
| 73 | +* **xdeftheme.pl** swaps pre-defined Xdefaults themes. |
39 | 74 |
|
0 commit comments