Mamp: a local web server (and not only) with few clicks

I needed a local web server for make some .php experiments whitout transfer data to my website and make them in remote.

I did not have time for install and configure Apache and Php so i was looking for something already configured ready to go application working with few clicks: MAMP
Mac OS X :operating syste, Apache as web server , MySQL – database management system; while P is for  PHP, Python or Perl, (applications web developement languages)

MAMP is basically the equivalent of LAMP platform on Linux servers
Installation is very trivial, at the end will have:
, choose MAMP and click mamp
Once opened, it is enough to click on start icon  startmamp and everything will start.

From here prefmamps  it is possible to change Mamp settings :

Start/stop section:
You can choose if automatically start  server when you’ll start Mamp, if open web start page, if stop service when you’ll quit Mamp

Sezione Ports:

You can modify port number: default port are:Apache : 8888 – Nginx : 7888- MySQL : 8889, but nothing prevents for example to use classic port 80 for Apache (unless it is already used from other service in your machine.
Therefore your website will have this address: https://localhost:8888, clearly if you want use port 80, address will be https://localhost

Php Section
You can choose which Php version to be used
: http://localhost:8888/MAMP/index.php?language=English&page=phpinfo
phpMyAdmin : https://localhost:8888/phpMyAdmin/?lang=en

Web Server section:
You can choose between Apace and Nginx and you can modify root folder (where you have to put your website)

Sezione MySql:
Show Mysql current version

Posted in Tech news - tutorials | Leave a comment

FM16 coaching star calculator

Game time 🙂

I often play  at FM16 and i lost so much time looking for the best technical staff (4/5 stars)
Recently I found somewhere nice formulas to calculate, using the parameters, the number of “stars” and therefore, quality of coaching.
Since I did not want to calculate by hand and even with the calculator i created an excel file to calculate all conveniently.
Then, in the game you can choose coach to check, and insert its parameters in the file; in this way you will know the number of stars for each category of training, of course you can enter all the parameters or only those that interest you.
You can download it – there are 2 version, italian and english
FM16 Coach calculator


Posted in Game | Leave a comment

How to change DNS on Mac OS X with a click

I needed to use particular dns and would change them quickly (with a click)
here is how i did it:
First, here command for make modification by terminal:
sudo networksetup -setdnsservers <networkservice> DNS1, DNS2, DNS3

How to obtain a list of your network services:
networksetup -listallnetworkservices
you will obtain outcome like below:
In my case i have to change Wi-fi dns, so (as example i’ve used Google dns and ), opening  terminal and running the following command , DNS will be changed:
“sudo networksetup -setdnsservers Wi-Fi”

But how to run it with a click ? using Apple script : open it and insert the following commands :
scriptdnsFirst row executes the command described above , while second line brings up a message that tells us that the command was executed (clearly is optional) .
After that save as application and work is ended; a click will be enough to change your dns
applicationHere is the result after clicking (you will be prompted for the root password )
Looking Dns section we can see that they have been modified

Posted in Mac Os | Leave a comment

How to insert xdcc commands in Kvirc menu

I always used Mirc and its countless scripting functions for more than 10 years; this time I wanted to try Kvirc  scripting functions.
Idea is to create an handy menu on Kvirc in order to execute commands xdcc send # ( command used to download data) and xdcc list (command for obtain list from bots) from a menu, instead of writing it in chat – here’s how:
In Kvirc menu, select “Scripting” – “Edit Popups” (CTRL+Shift+P)
Since our command, will run in a channel, select “Channel” from the popup menu
Now click with the right mouse button within the channel menu and choose where you want to place the new element; for example, I chose to put it as last, so I selected the last entry and I clicked “new item below”, which I called XdccSend – you can also enter a number in the entry icon to get an icon (optional)
Finally I set menu dialog (variables are more complicated than on Mirc) for Xdcc send
and for Xdcc List (much more easy)
xdcclist textxdcclist
The result: when you  join in a channel and click with the right button the bot from which you want to receive file, new entries will appear:
If you click  XdccSend will be asked to enter package number, so insert number and wait for your package.
While if you click Xdcc List (after selecting your bot) will show you the xdcc list of packages contained in bot (if bot is enabled for it)
If you are not a newbie in IRC world , don’t need more info 🙂


Posted in Gnu-Linux, Mac Os, Tech news - tutorials, Windows | 10 Comments