Posts filed under 'Uncategorized'
in order to start remote debugging your php scripts right from your development server, you’ll need the Zend debugger for your server’s platform from here:
http://www.zend.com/en/products/studio/downloads
Chose the right ZendDebugger shared library for your PHP version (e.g. 5_2_x_comp/ZendDebugger.so) and copy it to your server – most likely where your other PHP extensions reside (in my case a turnkey LAMP stack —> directory /usr/lib/php5/20060613+lfs)
Now add a little information to the end of your php.ini. Make sure, you use the right php.ini file (if you’re unsure: consult phpinfo() under the key “Loaded Configuration File”)
zend_extension = "/usr/lib/php5/20060613+lfs/ZendDebugger.so"
zend_debugger.allow_hosts = 192.168.43.1
zend_debugger.expose_remotely=always
zend_debugger.passive_mode_timeout=600
Of course adjust the first to lines accordingly. Allowed host is the IP address of the PC that’s running your Eclipse IDE. For more information on these directives, consult TFM 
Just a small notice on ‘allowed_hosts’: You can define full netmasks here, such as 192.168.0.0/16 – that means every IP in 192.168.*.* – perfect for home DHCP or teamwork.
If your installation work was succesful, you’ll see a new paragraph in phpinfo() output that refers to as “Zend Debugger”
August 30th, 2010
simply delete the cached data stored in a folder like:
C:\Users\YOUR_USERNAME\AppData\Roaming\Nokia\PCSync\SynchData\
July 12th, 2010
recovering data from an sdcard is possible with oss:
create an image of your drive using dd:
dd if=/dev/disk1 of=/path/to/my/image.img
get foremost at
http://foremost.sourceforge.net/
then extract and make it
you can specify a type, e.g. MOV
./foremost -t mov -i /path/to/my/image.img -o /path/to/my/recovered/files
July 6th, 2010
turnkey linux is a nice and small virtual appliance that comes as jeos (just enough operating system).
it offers several ways to access it after it’s running:
- shell in browser (http, port 12320)
- webmin interface (http, port 12321)
- ssh
unfortunately the vmware tools didn’t work. so i reinstalled them:
mount vmware tools in vmware player
mount cdrom
sudo mkdir /media/cdrom
sudo mount /dev/scd0 /media/cdrom
unpack and install vmware tools
cd /tmp
tar xvzf /media/cdrom/VM*.gz
cd vmware-tools-distrib
sudo ./vmware-install.pl
install vmware tools
sudo apt-get install build-essential
sudo apt-get install linux-headers-`uname -r`
configure vmware tools
/usr/bin/vmware-config-tools.pl
show virtual disk mount points
vmware-toolbox-cmd disk list
zero out empty spaces
(creates a huge file that takes all the free space on your harddisk and writes zero’s in it.
thus it should be better compressable.
cat /dev/zero > zero.dat ; sync ; sleep 1 ; sync ; rm -f zero.dat
shrink disk /
vmware-toolbox-cmd disk shrink /
June 26th, 2010
grep -Iri
April 26th, 2010
The age of features is dead; Welcome to the age of User Experience.
This is the tagline of Aral Balkan’s blog with useful posts like that
April 2nd, 2010
After I converted from Windows last year I still avoided to convert my old emails. Well – this weekend the time has come. After a long hard road of try and error I came to the following conclusion:
1) Setup a new Virtual Machine with Windows XP (includes Outlook Express)
2) Install Microsoft Outlook Trial in this VM
3) Install Thunderbird in this VM
4) Open your PST files in your Outlook trial version and copy all the mails to the main PST.
5) Open Outlook Express and select “import mails from Outlook”
6) Open Thunderbird and select “import mails from Outlook Express”
7) Transfer Thunderbird’s MBOX files to Thunderbird on your Mac.
On PC the Local Folders can be found in a path like this: C:\Documents and Settings\Administrator\Anwendungsdaten\Thunderbird\Profiles\********.default\Mail\Local Folders
On Mac it’s found in a dir like ~/Library/Thunderbird/Profiles/********.default/Mail/Local Folders
January 25th, 2010
Auch im Dezember konnte die hartgesottene Anhängerschaft des Kiesgruben-Golf nicht davon abgebracht werden, den Saisonabschluss mit einer gepflegten Runde bei nur knapp über Null Grad ausklingen zu lassen…
December 30th, 2009
heid scheint d’sunn so schee – i kunn kaum schaun
December 26th, 2009
Endlich ist es soweit: Der neue Audi A8 wurde in Miami der Öffentlichkeit vorgestellt. Hier ein paar Resonanzen:
Allgemeine Artikel:
heise.de
Audi MMI Touch:
wall street journal
gizmodo.de
gizmodo.com
carbuyersnotebook.com
autospies.com
audi.de
December 5th, 2009
Previous Posts