↓
Menu ↓
  • News, articles and stuff
    • Development
      • Perl
      • Web
    • Media
      • Photo
      • Video
  • Media
    • Photography
  • About

Johnny Morano's Blog

Geek talk, extreme sports and travels

Johnny Morano's Blog
Home Menu ↓
Skip to primary content
Skip to secondary content
  • Home
  • About
  • Media
    • Photography
  • News, articles and stuff
Home→Tags Perl - Page 2 << 1 2 3 4 >>

Tag Archives: Perl

Post navigation

← Older posts
Newer posts →

Secure Password Generator in Perl

Posted on August 13, 2013 by Johnny MoranoFebruary 22, 2015

A secure and very random password generator module written in Perl. It can be used to generate passwords or unique strings which can be used in sorts of operations. The default character set is alpha-numerical based, but can be set … Continue reading →

Posted in Blog, Development, Linux, Perl | Tagged Crypto, Dev, Linux, Perl, Security | 1 Reply

Recursive Inotify Daemon

Posted on October 2, 2012 by Johnny MoranoNovember 8, 2012

There aren’t many Inotify daemons available that can work recursive and offer a descent flexibility regarding Inotify signals. For basic rsync operations, lsyncd isn’t that bad but it isn’t that flexible for system administration. The fact that it is written … Continue reading →

Posted in Development, Linux, Perl | Tagged Daemon, Dev, Inotify, Linux, Perl | 14 Replies

Check if a NFS share is mounted

Posted on August 29, 2012 by Johnny MoranoAugust 29, 2012

Below is a small Perl example how to check for NFS mounted shares on a Linux host. The script does not need any specific modules, and makes use of the /etc/mtab file. #!/usr/bin/perl use strict; use warnings; my @mount_points = … Continue reading →

Posted in Blog, Development, Linux, Perl | Tagged Dev, Linux, NFS, Perl, SysAdmin | Leave a reply

Changing file permissions in Perl

Posted on August 23, 2012 by Johnny MoranoAugust 24, 2012

There are definetly a few modules on CPAN which will allow to easily change file permissions in Perl, but you do not always have the chance or possibility to install CPAN modules. The following examples explain how to change the … Continue reading →

Posted in Blog, Development, Perl | Tagged Dev, Linux, Perl | Leave a reply

Watch a directory for uploaded files

Posted on March 2, 2012 by Johnny MoranoMarch 2, 2012

In some situations, you need to watch a directory for uploaded files and move/process them immediately. Many scripts work in a polling kind of way, which will check every x amounts of seconds for new files. This is nowadays completely … Continue reading →

Posted in Development, Linux, Perl | Tagged Dev, Linux, Perl | 1 Reply

dmesg with human readable timestamps

Posted on March 2, 2012 by Johnny MoranoSeptember 12, 2013

When you are not using Debian unstable or some kind of Linux distro that hasn’t got the latest version of the dmesg command, you will not be able to execute ‘dmesg -T‘ to see human readable timestamp in the output. … Continue reading →

Posted in Blog, Development, Linux, Perl | Tagged Dev, Linux, Perl, SysAdmin | 9 Replies

Syslog event generator with Net::RawIP (perl)

Posted on June 29, 2011 by insaniacJuly 28, 2011

Recently I have been asked to write a Syslog event generator, but not just a normal syslog generator, it had to be able to generate events coming from different hosts. The normal ‘logger’ command sends Syslog messages using the machine’s … Continue reading →

Posted in Blog, Development, Linux, Perl | Tagged Dev, Hack, Network, Perl, Security, Spoof, SysAdmin | 10 Replies

Geotag your photos with Perl and GPX files

Posted on April 20, 2011 by insaniacApril 20, 2011

Geotagging photos used to be a very expensive operation, since you needed special equipment, heavy antennas and especially: a lot muscles to carry all your extra gear. Nowadays, a lot of people have iPhone or like me, an Android phone. … Continue reading →

Posted in Blog, Development, Media, Perl, Photo, Web | Tagged Android, Dev, EXIF, Geotag, GPS, Media, Perl | Leave a reply

Generate thumbnails with Perl and Image Magick

Posted on April 19, 2011 by insaniacApril 19, 2011

Putting photos on a website has always been a pain. There were always a few steps you had to do, before they could be seen on your webpage. Of course, nowadays there are services like Flickr, Picassa, Panoramio, Facebook … … Continue reading →

Posted in Blog, Development, Media, Perl, Photo, Web | Tagged CPAN, Media, Perl | Leave a reply

Perl/Ajax with JSON

Posted on March 29, 2011 by insaniacMarch 29, 2011

I just discovered this very interesting article about Perl, CGI, Template and Ajax using JSON. I’m going to use to beef up my image browser which I quickly wrote to simply the contents of directory full with images. (can be … Continue reading →

Posted in Blog, Development, Perl, Web | Tagged Ajax, API, Dev, HTML, JavaScript, JSON, Perl, Web 2.0 | Leave a reply

Post navigation

← Older posts
Newer posts →
© 2021 - Johnny Morano's Blog
↑