Jun 192011
 

crontab-visual-editor-guiThese are some sites i use to do specific jobs, i hope they can serve you well too.

Corntab
Corntab is a simple crontab web GUI

With Corntab you can ensure that you always have the correct crontab syntax.

Don’t worry about forgetting the proper crontab format because Corntab let’s you click on all of the crontab options and outputs your crontab entry in real-time.
Continue reading »

Flattr this!

Jun 162011
 

nginxOn my site I had a small problems with feeds, i’ve them managed with feedburner and I’ve 1 feed for every language, so you can choose to have the feeds in English or in Italian. The problem is that I’d like that when a user write http://linuxaria.com/feed it land on my feedburner page for English while writing http://linuxaria.com/feed?lang=it he should lands on the Italian feed page.

I’ve tried with the wordpress plugin for feedburner, but that it’s good only if you have 1 feed, because it blindly redirect everything to 1 feedburner address, so it’s not a good solution for my 2 bilingual feeds.

And so I’ve done it with a rewrite in Nginx.
Continue reading »

Flattr this!

Jun 162011
 

sudoThe stat command is really useful to gather information from file, directory and file system.
The basic usage of stat is:

~#stat /etc/passwd
 
File: `/etc/passwd'
Size: 999       	Blocks: 8          IO Block: 4096   regular file
Device: ca00h/51712d	Inode: 845         Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2011-05-26 12:14:41.000000000 +0200
Modify: 2011-05-26 12:14:41.000000000 +0200
Change: 2011-05-26 12:14:41.000000000 +0200

So, without options you can have the following information

File : Size in Bytes
Blocks : Number of blocks used
IO Block : Size in bytes of every block.
Device : The identifier number of your storage device (harddrive, etc.)
Inode : The inode number that the file or directory is linked to.
Access/Modify and change Times : Note that the timestamps also include which time zone that accesses or modifications took place in. in this example +0200 Continue reading »

Flattr this!

May 222011
 

INX Whether you’re a fan of the command line or the novice I recommend you to do a test with INX (INX Is Not X), this is a minimal Linux distribution that has the characteristic of not having any graphical desktop, all the tools and packages provided work in the terminal.

INX is a Live CD currently based on Ubuntu 8.04, a bit old but for the tools it ships and the goal this is enough.
Keep in mind that this distribution is more a proof of concept and a good way for learning some trick from the terminal but is not to be used as standard environment.
Continue reading »

Flattr this!

May 012011
 

rss If you follow news sites or blogs probably you are using some online service or a program to aggregate all the news into one more convenient point. This is doable thanks to RSS feed.

From wikipedia :

RSS (most commonly expanded as Really Simple Syndication) is a family of web feed formats used to publish frequently updated works—such as blog entries, news headlines, audio, and video—in a standardized format. An RSS document (which is called a “feed”, “web feed”, or “channel”) includes full or summarized text, plus metadata such as publishing dates and authorship. Web feeds benefit publishers by letting them syndicate content automatically. They benefit readers who want to subscribe to timely updates from favored websites or to aggregate feeds from many sites into one place.

And today i’ll show you some programs that run perfectly on Linux that you can use to read and aggregate all these information
Continue reading »

Flattr this!