Misc.

How to compile PHP 5.2 extensions on Mac 10.6 snow leopard with MAMP and a 64 bit CPU

It is a bit frustrating that i have to use mac and can not just use the same system that we have in production but well, that is the standard now. So to make the best of it you have to adapt and learn how to deal with operating system issues ;)

I found it a bit tricky to compile PHP extensions like PECL memcache or whatever on my mac for a few reasons. My mac comes with PHP 5.3 and i need to run my site on 5.2 that i got from MAMP. In addition i have 64 bit system that runs PHP in 32 bit mode so i have to tell compiler to use 32 bit mode only.

Java compilation hanging forever on javac using macosx

This is a funny problem that took forever to figure out! unreal!

Friend committed new component into the revision control system i checked it out and my maven builds would get stuck on compilation. It would take like 20 minutes to run the compilation!

Compilation with javac would take forever no matter if there was error or not. Importing any net.xxxx package would make builds stall forever.

Web Security - Part 1 - Google Hacking

Doing security reviews from time to time of web applications you can find real beauties. You see GET variables in eval, system, include and all sorts of things you would not even imagine that could run live for years without anyone noticing it :- )

How to compile memcached 1.4 on MAC

I am using Mac just since January and im still not so familiar with it. If you want to install latest memcached on Mac OSX you will need libevent.

Download libevent from this site:
http://www.monkey.org/~provos/libevent/

Then unpack, configure and compile it. Also install it in /usr/local

PALM - bundle of Linux system, Network, Apache2, PHP, APC and Memcached scripts and Cacti graphs

After some more work on the weekend and playing around with cacti i have fixed up some of the previous scripts and joined input methods with data sources and graphs all together.

I have also added a host template so now adding servers will be much easier you just enter host name and click ccreate graphs ... job done.

Package includes graphs to monitor Linux system metrics, disk IO, network IO, apache status, APC op code cache, memcached.

Im still adding stuff to it so make sure to come back for an update : -)

You can see some of the graphs in earlier versions here:
Linux graphs

Mac OS X default logging helper sucks

Mac has some nice features but some are really lame. Trying to make syslog look cool made my system inresponsive for like 10 minutes. All because of GrowlHelperApp.

How to check file consistency across operating systems

Its very stressful if we have to copy 2gb database dump or archive of important data over network. Even that TCP is supposed to let us send data without any damage it can happen from time to time while copying huge amounts of data through slow networks that some package gets damaged and crc checksum does not detect it (32 bit checksum still gives some chance of collision so the more packages the bigger the chance)

Syndicate content