PHP webdeveloper and frontend developer



Vagrant up errors on install on Mac OS X

Category : PHP, MySQL, Mac and Apple stuff · No Comments · by Jan 23rd, 2014

Instead of MAMP I use Vagrant to set up my virtualhosts locally. That way you can emulate your webserver’s setup. To configure my Vagrant virtual machine I use PuPHPet. You need to have VirtualBox installed for this. After downloading the  PuPHPet configuration manifest you need to start up the virtual box. You do this by executing this command:

 Sometimes I…

Email harvesting of a domain using Linux Backtrack

Category : Mac and Apple stuff, Other · (1) Comment · by Apr 13th, 2013
Email harvesting of a domain using Linux Backtrack

A while ago I wanted to scan which email addresses can be found by spambots because that domain received a lot of spam. You can prevent users from capturing your email addresses from your website by encrypting the characters with html or javascript. This tools can encrypt your email address with javascript http://hivelogic.com/enkoder/ and this website http://www.wbwip.com/wbw/emailencoder.html does this through using character entities. To…

Show the signal strength of your iphone instead of the default signal strength bars

Show the signal strength of your iphone instead of the default signal strength bars

By just going through these steps you’ll be able to see your signal reception of your iPhone in decibels (dBm). Normally the value should be between -60 and -90 dBm. Where I live the strength is only -95.  First you need to dial *3001#12345#* and press call. Now you’ll enter “Field test mode“. When you press the home button you’ll see…

Disable file extension change warning in Mac OS X

Category : Mac and Apple stuff · No Comments · by Nov 3rd, 2012
Disable file extension change warning in Mac OS X

When you try to change a filename and you change the file extension, you get a warning by default from Mac OS X. To disable this, execute this command in your terminal:

 And after that you need to restart your Finder

 Now open up a new finder window and you shouldn’t get anymore warning from now on.

How to do a network IP range scan with NMAP

Category : Mac and Apple stuff · (6) Comments · by Nov 1st, 2012

First of all you need to install NMAP which you can do from this website http://nmap.org/download.html#macosx After running the  NMAP installer you should restart your shell. You can do a network ip range scan like this

 This wil scan the whole ip range of 192.168.2.0 to 192.168.2.255 If you want to specify a range like 192.168.2.1 to 192.168.2.200

 This…

Installing and configuring the Oh My ZSH shell

Installing and configuring the Oh My ZSH shell

Installation I love using Oh My ZSH in my terminal to use with GIT. This works faster than GIT UI programs like Tower. First of all you need to install ZSH and afterwards install Oh My ZSH. The minimum zsh version required for Oh My ZSH is 4.3.9 Install ZSH first: Git is required. If you don’t have git installed…

Enable full path view in Finder on Mac OS X

Category : Mac and Apple stuff · No Comments · by Oct 30th, 2012

Just run this command in terminal and open up a new Finder window and it should show the full path on top of your Finder window

 

Problems with MAMP’s MySQL server on Mac OS X Mountain Lion

Category : Apache, Mac and Apple stuff · (4) Comments · by Oct 29th, 2012

Lately I been having a lot of trouble with my MAMP mysql and I think it has something to do with Mac OS X Mountain Lion. Sometimes when I try to start MAMP, my apache server get launched but my mysql server doesn’t. What I do is terminate the mysql process before I startup MAMP and than it works. Execute…

Some useful terminal shortcuts for mac

Category : Mac and Apple stuff · (1) Comment · by Apr 3rd, 2012

Jump to Beginning of Line – Control+A Jump to End of Line – Control+E Go to Next Line – Control+N Go to Previous Line – Control+P Delete Previous Word – Control+W Delete Line from Cursor to Beginning – Control+U Delete Line from Cursor to End – Control+K

Change the mac hostname in terminal

Category : Mac and Apple stuff · No Comments · by Mar 4th, 2012

Just run this command in your terminal and replace “mynewhostname” with your desired hostname:

 If you want to know your current hostname just type:

 


s