Oct 122013
 

Sometimes a program or software don’t start for a syntax error, and if you check the files there is nothing wrong..apparently.
There are a lot of characters that usually are not printed if you use a normal text editor, but you can easily check if they are present with your terminal and the command cat.

As first thing let’s create a simple text file with these special characters, open a terminal and run the command:

printf 'testing\012\011\011testing\014\010\012more testing\012\011\000\013\000even more testing\012\011\011\011\012' > /tmp/testing.txt

Now if you open the file with an editor you’ll have different results.
A simple cat will show:

$ cat /tmp/testing.txt 
testing
		testing
 
more testing
 
        even more testing

Continue reading »

Flattr this!

Oct 042013
 

syncHave you finish your cloud space on Dropbox, Google Drive or one of the many cloud storage providers ? Or maybe you don’t trust them and you’d prefer a solution made with your computer/vps/Server ?

Good news, from some time there is a new solution available: BitTorrent Sync

BitTorrent Sync by BitTorrent, Inc is a proprietary peer-to-peer file synchronization tool available for Windows, Mac, Linux, Android, iOS and BSD. It can sync files between devices on a local network, or between remote devices over the Internet via secure, distributed P2P technology, so in short you can setup your own cloud storage and share your files among your devices.

Continue reading »

Flattr this!

Sep 132013
 

This is an article of mine first published on Wazi.

Apache is still by far the most widely deployed HTTP server, according to the latest Netcraft web server survey, but nginx has been slowly, steadily gaining market share, thanks to its blazing speed. If you want to try a faster web server and move from Apache to nginx, you’ll probably have to change some of your websites’ configurations, starting with rewrite directives. To migrate rewrite rules from Apache to nginx, start with these tips and tricks.

The Apache mod_rewrite module provides powerful and sophisticated tools for nearly all types of URL rewriting. It is, however, somewhat complex, and may be intimidating to beginners. In fact, however, rewrite rules are not magical incantations, though to understand them you need some understanding of regular expressions.

Even if you have never heard of mod_rewrite, you may still be using it. Popular applications such as WordPress, Drupal, and Magento are shipped with .htaccess files that contain standard configurations that make these applications work properly, and these usually include one or more rewrites, so to properly move your website to an nginx web server you have to “translate” the Apache mod_rewrite directives into equivalent rules for nginx’s HttpRewriteModule.

Continue reading »

Flattr this!

Aug 312013
 

Article By 

Let face it, the Secure Shell (SSH) daemon running on your VPS is the most sensitive service open to attack on your system. Any hacker worth their salt will first try to gain access to your VPS via SSH and 99.9% of all VPS connected to the internet run this service by default and on their public IP.

If somebody gains access to your VPS via the SSH service, you can kiss your data and entire VPS goodbye. This is the ultimate goal for any would-be hacker and as such, needs to be the first thing you secure as a VPS administrator.

In this article I’m going to show you how to take three simple precautions with the SSH service that will stop most hackers and script kiddies in their tracks. So what will you learn?

  1. How and why to change the port SSH listens on
  2. How to disable password based access to SSH and only allow key based access
  3. Monitor failed SSH login attempts and automatically block the originating IP using an Intrusion Detection System

Continue reading »

Flattr this!

Aug 282013
 

symphytum
Today I want to present you a commercial application, Symphytum, it’s developed by giowisys and it costs around 9$ (or 6.7 €), but what can do this application for you ?

Symphytum is a personal database software for everyone who desires to manage and organize data in an easy and intuitive way, without having to study complex database languages and software user interfaces.

In fact collecting data is part of our lives, however, organizing information is not always easy, especially without the right tools. While big companies use notable database management systems with advanced functionality and tailored procedures, many people are still using spreadsheets as a database replacement for personal use, because of its simplicity.

Symphytum it’s something much better than a spreadsheet without all the problems that you could have in managing a real database such as Mysql or Postgresql it’s a simple application that can be used to create, design and manage a database with a look similar to the program iDatabase for Mac Osx.

Continue reading »

Flattr this!