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 … Continue reading Vagrant up errors on install on Mac OS X
Category: Mac and Apple stuff
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 … Continue reading Email harvesting of a domain using Linux Backtrack
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 … Continue reading Show the signal strength of your iphone instead of the default signal strength bars
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: defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false And after that you need to restart your Finder killall Finder Now open up a new finder … Continue reading Disable file extension change warning in Mac OS X
How to do a network IP range scan with NMAP
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 nmap -sP 192.168.2.0/24 This wil scan the whole ip range of 192.168.2.0 to 192.168.2.255 If you want to specify a … Continue reading How to do a network IP range scan with NMAP
Installing and configuring the Oh My ZSH shell
InstallationI 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.9Install ZSH first:Git is required. If you don't have … Continue reading Installing and configuring the Oh My ZSH shell
Enable full path view in Finder on Mac OS X
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 defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
Problems with MAMP’s MySQL server on Mac OS X Mountain Lion
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 … Continue reading Problems with MAMP’s MySQL server on Mac OS X Mountain Lion
Some useful terminal shortcuts for mac
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
Just run this command in your terminal and replace "mynewhostname" with your desired hostname: sudo scutil --set HostName mynewhostname If you want to know your current hostname just type: hostname