917-763-9814

When trying to compile PHP I noticed the libmcrypt package is no longer provided with EL6 / CentOS 6, checking whether to enable multibyte string support… no checking whether to enable multibyte regex support… yes checking whether to check multibyte regex backtrack… yes checking for external libmbfl… no checking for

(305) 935-5893

On CentOS 5 the e4fsprogs RPM provides a separate binary (/sbin/resize4fs) for resizing ext4 partitions. # rpm -qf /sbin/resize2fs e2fsprogs-1.39-23.el5_5.1 # rpm -qf /sbin/resize4fs e4fsprogs-1.41.9-3.el5 As I found out today when resizing an LVM partition on one of our mongodb snapshot systems. # lvextend -L+50G /dev/mapper/mongo Extending logical volume mongo

python load betfair data to mysql

The script below will import the betfair data from data.betfair.com into a mySQL table.  First create the table, CREATE TABLE history ( sports_id int(11) DEFAULT NULL, event_id int(11) DEFAULT NULL, country varchar(10) DEFAULT NULL, scheduled_off varchar(30) DEFAULT NULL, actual_off varchar(30) DEFAULT NULL, full_description varchar(150) DEFAULT NULL, odds double DEFAULT NULL,

9369784424

While trying to reinstall one of my windows laptops (A Dell 1555 Studio) to Windows 7 I had alittle trouble locating the windows activation/product key. After alittle fiddling I managed to locate this well hidden under the battery. So if you are looking for this on your dell laptop try

Max processes 1024 limits.conf

We where having an issue with replica sets on our MongoDB databases changing primaries. The logs shows it was hitting resource limits creating new processes. [initandlisten] pthread_create failed: errno:11 Resource temporarily unavailable [initandlisten] can’t create new thread, closing connection There is a bug fix in the init.d available per /jira.mongodb.org/browse/SERVER-6443