Burning Mac OS X 10.7 Lion Bootable Disc

Mac OS X 10 June 2011 0 Comments



These instructions are born from the 10.7 developer preview but should remain identical come time for the July public release:

  • Purchase and download Lion from the Mac App Store on any Lion compatible Mac.
  • Right click on “Mac OS X Lion” installer and choose the option to “Show Package Contents.”
  • Find and open the “SharedSupport” folder and locate a disc image file called “InstallESD.dmg”
  • Copy “InstallESD.dmg” to another folder like the Desktop.
  • Now launch Disk Utility (/Applications/Utilities/), pop in a blank DVD, select the “InstallESD.DMG” file, and click on “Burn”

After your disk is done burning, you’ll be able to boot from it with any Lion compatible Mac by holding down C during boot up.

Installing OAuth extension in XAMPP for Mac OS X

Mac OS X,Open Source,PHP Programming,Web Development 4 June 2011 1 Comment



Installing via PECL didn’t really work out for me. So, here is what I did:

  • Install Xcode if you don’t have it
  • Download & install XAMPP for Mac developer package
  • You will need the PHP header files. Create a symlink:
    ln -s /Applications/XAMPP/xamppfiles/lib /Applications/XAMPP/xamppfiles/include
  • Download the module here: http://pecl.php.net/get/oauth
  • Unpack
  • Run phpize:
    sudo /Applications/XAMPP/xamppfiles/bin/phpize
  • Configure with the following command:
    sudo MACOSX_DEPLOYMENT_TARGET=10.6 CFLAGS='-O3 -fno-common -arch i386 -arch x86_64' LDFLAGS='-O3 -arch i386 -arch x86_64' CXXFLAGS='-O3 -fno-common -arch i386 -arch x86_64' ./configure --with-php-config=/Applications/XAMPP/xamppfiles/bin/php-config
  • Run sudo make
  • Copy the module to your extension directory
    sudo cp modules/oauth.so /Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/
  • Enable the module by adding this to your php.ini:
    extension=oauth.so
  • Restart apache and run phpinfo() to see if it’s working

iPhone App Ideas

iOS Development 14 February 2011 0 Comments



If there is a certain application that you wish on the App Store, well here’s your chance. Comment below and let me know what you think would be a great app for the iPhone, iPad Touch or iPad.

Who knows, maybe your idea will be seen by some ambitious programmer and be the next big thing!

DirectAdmin libmysqlclient.so.15 is missing

Open Source 11 January 2011 0 Comments

To resolve the issue, simply grab the old libmysqlclient.so.15 file from DA server.

$ wget -O /usr/lib/libmysqlclient.so.15 http://files.directadmin.com/services/es_5.0/libmysqlclient.so.15
$ chmod 755 /usr/lib/libmysqlclient.so.15
$ ldconfig
$ service directadmin start

Aircrack fixed channel mon0 : -1

Debian,Open Source,Security,Ubuntu 10 January 2011 4 Comments

Here is the solution (at your own risk).


$ sudo apt-get install linux-headers-$(uname -r)
$ wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2010-12-20.tar.bz2
$ tar -jxf compat-wireless-2010-12-20.tar.bz2
$ cd compat-wireless-2010-12-20
$ wget http://patches.aircrack-ng.org/channel-negative-one-maxim.patch
$ sudo apt-get install patch
$ patch ./net/wireless/chan.c channel-negative-one-maxim.patch
$ make
$ sudo make install
$ sudo make unload
$ sudo reboot