Archive for the ‘Uncategorized’ Category

Optimizing Webservers for PHP / WordPress: Wordcamp 2010

Saturday, October 2nd, 2010

aid to presentation:

if fresh debian install make sure you’ve before anything, as root;

apt-get install build-essential openssl-server sudo postfix

sudo apt-get install libssl-dev libcurl4-gnutls-dev libjpeg62-dev libpng12-dev libmcrypt-dev libmysql++-dev libfreetype6-dev libt1-dev libc-client-dev libbz2-dev mysql-client libevent-dev libxml2-dev mysql-server libmysqlclient15-dev libgd2-xpm-dev libeventdb-dev libexpat1-dev libsqlite3-dev

php 5.3.3 from source

wget http://tw2.php.net/distributions/php-5.3.3.tar.bz2
tar xjvf php-5.3.3.tar.bz2
./configure –enable-fpm –with-mcrypt –enable-mbstring –with-openssl –with-mysql –with-mysql-sock –with-gd –with-jpeg-dir=/usr/lib –enable-gd-native-ttf –with-pdo-mysql –with-libxml-dir=/usr/lib –with-mysqli=/usr/bin/mysql_config –with-curl –enable-zip –enable-sockets –with-zlib –enable-exif –enable-ftp –with-iconv –with-gettext –enable-gd-native-ttf –with-t1lib=/usr –with-freetype-dir=/usr –prefix=/usr/local/php –with-fpm-user=www-data –with-fpm-group=www-data –with-pear
make
sudo make install
make clean

libevent 1.4.13
wget http://www.monkey.org/~provos/libevent-1.4.13-stable.tar.gz
./configure && make
sudo make install
make clean

nginx 0.7.67

wget http://nginx.org/download/nginx-0.7.67.tar.gz
tar xzvf nginx-0.7.67.tar.gz
./configure –sbin-path=/usr/local/sbin –with-http_ssl_module –without-mail_pop3_module –without-mail_imap_module –without-mail_smtp_module –with-http_stub_status_module
make
sudo make install
make clean

sudo mkdir -p /usr/local/nginx/{sites-available,sites-enabled}

memcached
wget http://launchpad.net/libmemcached/1.0/0.44/+download/libmemcached-0.44.tar.gz
tar xzfv libmemcached-0.44.tar.gz
./configure && make
sudo make install
make clean
sudo apt-get install sqlite3 memcached
sudo pecl install memcache

configuration files

fastcgi_params
nginx.conf
php-fpm.conf
php.ini
sample_vhost_nginx.conf
wordpress_params.regular
wordpress_params_cache

init.d scripts
nginx
php-fpm

if any of this is unclear, please contact me so that we can make it easier for anyone who searches for it. let’s take down the notion that apache is the only webserver good enough for production.

The Flamingos

Friday, April 9th, 2010

I Only have eyes for you – This has got to one of my favorite songs when I was a kid. I was such a nerdy kid. Had a crush on this girl in the first grade who only listened to the oldies station B101 – Providence (i think they’ve changed their format since, I’ts been years since I’ve been in Providence.)  Growing up thats all I ever listened to. Could also why they called me ‘old man’ in junior high.

Anyway – I enjoy Doo Wop and Motown a lot. Always have, Always will. So I’m sharing this great track with you tonight, on Bataan Day. Anniversary of the Bataan Death March. I’m sure the many who died had missed their sweet hearts while being marched on down from San Fernando to Bataan. May God Bless their souls.

My love must be a kind of blind love
I can’t see anyone but you.

Are the stars out tonight?
I don’t know if it’s cloudy or bright
I Only Have Eyes For You, Dear.

The moon maybe high
but I can’t see a thing in the sky,
‘Cause I Only Have Eyes For You.

I don’t know if we’re in a garden,
or on a crowded avenue.

You are here
So am I
Maybe millions of people go by,
but they all disappear from view.
And I Only Have Eyes For You.

Some Post-Sesame Street Era Art

Sunday, March 21st, 2010

post- sesame street art

She’s Got the Cold Calling Blues …

Monday, July 13th, 2009

If any of you have ever wanted to try a career in sales you’d probably think of selling Kirby Vacuum cleaners door-to-door. Maybe you were handed a phone book and ordered to start making cold calls.

Wasn’t it painful at first? Humiliating? What do I say?

Did your sales manager ask you to write a list of everyone that you personally know?

Did you feel like a 19-gauge sawed off shotgun with everyone as your target?

Until you really know your customers, have deep relationships with them; you are truly throwing spaghetti and meatball plates at the wall and seeing what ‘sticks’.

Throwing Spaghetti on the Wall

Throwing Spaghetti on the Wall

As a beginner is sales, they will always tell you,

“kid, it’s a numbers game. Now, get back on the [expletive] phone.”

Maybe in successive years, as you hang in there, you may notice majority of your sales are coming from the deep personal relationships you build with people.

Now, Realizing as of late, I have had an old-world mentality approach to sales. I’m now astonished that I spent hours weeks and months cold calling prospects that didn’t know me from Adam.

My mentality was that only through cold calling, blind prospecting and bulk-emailing that I would build up enough contacts and hopefully one of them would pick me!

Does this sound familiar?

How frustrating is dialing one after another and getting rejection for reason X, Y, and Z!

What are you thoughts on this?

Please comment, question and challenge!

The Kinison’s

Thursday, June 18th, 2009

only by listening to howard stern everyday on my walk to school, i learned about sam kinison …. man wish he was around

Riding the Rail

Monday, June 15th, 2009

me and my girl had took this video with her sony ericsson k800i … this is a ride down one of 3 light rail train systems  that facilitate life and span across metro manila … this clip shows you a stretch of EDSA (main road) from taft ave to about ortigas …

this line is called the MRT

forced human nature

Sunday, June 7th, 2009

a documentary on the prison who featured the thrilla dance last year.

unbelievable how they can turn harden criminals into respectful friends.. take a quick 15 minutes and watch this inspirational video from Cebu Philippines