I myself cannot think of anything special about my pronounce of code symbols except for using “star” for “asterisk” (*).
This is my attempt to provide a clear and simple instructions on adopting Vim text editor for programming needs. I am using Perl as the programming language in the examples, but most of this document will apply equally for any other programming language.
This post was translated into Portuguese by Alceu Rodrigues de Freitas Junior.
MRTG (Multi Router Traffic Grapher) is monitoring utility, which runs on many platforms and is capable of collecting and graphing statistical information such as network traffic, CPU/Memory/Disk space usage, etc. MRTG can gather information using both SNMP protocol and external scripts. Below are few pieces of my MRTG config file together with scripts, which I felt like sharing.
This script is an attempt of improving NovaStor NovaNet 8 notification system. It allows for different messages to different roles (backup administrator/IT manager/etc).
This code is very old and I haven’t looked at for some time now. I am also not using NovaNet anymore, so you are on your own.
This script helps in monitoring of remote FTP server for changes in files and directories. During the first run a recursive listing will be saved to a local file, which will be updated on all consequtivee runs. Differences will be reported in GNU diff format.
I’ve wrote this script back in 2000, when I was working for J.F.Services Ltd. I needed regular summary reports for disk usage by different users. It is similar to reports sent by repquote. The only reason I used my own script is that I didn’t have any quotas set up at that time.
As for me – I use Perl and I am not planning to change any time soon. There are two major bonuses in Perl for my programming tasks:
- CPAN – Comprehensive Perl Archive Network. This is a huge collection of modules that help me to avoid as much programming as possible. And that’s pretty much.
- Perl’s scalability to all sorts of tasks. I am using Perl for one-line long utility scripts, log analyzing, mail searching, graph building, database maintenance, web programming and anything else that pops up. The broadness of tasks makes PHP way underpowered and Java way too complex. There are tools that might come handy (like Python), but why change if Perl works for me?
Said that, I am familiar with other languages, since it’s not rare at all that I need to patch someone else’s code. PHP being a widely used language for web development comes to my hands pretty often. My Python familiarity is more on the system level and GUI programming.
Ok, we all know that to repeat the last command in bash (as well as many other shells) you just need to press the Up key. Sometimes though it is handy to test a command before using it as a subset of a bigger command.