Posts

Showing posts from January, 2013

pview

Image
pview is a perl source code viewer. It highlights the code using a pretty good Perl tokenizer.


The color scheme can be very easy customized inside the script.



Download pview: https://github.com/trizen/perl-scripts/blob/master/Visualisators/pview

On the same concept, a new script has been created, called 'scgrep' which grabs form a Perl script only the elements that the reader wants. (e.g.: regular expressions, operators, numbers, etc...)



Download scgrep: https://github.com/trizen/perl-scripts/blob/master/Greppers/scgrep

Even better, this tools are now available as part of the Perl::Tokenizer CPAN module, which also include another interesting tool, called pl2html which highlights Perl code in HTML.

disk-stats

Image
RAM and disk usage status.

A very simple command line tool which displays a status bar with the used space for each partition.
It uses the `df` command to get the information needed and automatically adjusts itself to the terminal width.

It can, also, be very easily adjusted to your own preferences.


Just for fun. :)

Download: https://github.com/trizen/perl-scripts/blob/master/Visualisators/disk-stats.pl