How to fix need for speed shift black screen and crash problems in win 7

March 15th, 2010

This fix is for win 7 or vista, Right click the game icon, click properties > compatibility, then choose win xp sp3. most forums suggest setting it to windows 98 but you will really notice a significant reduce in performance.

How to solve Error: Missing Dependency: php-common = 5.1.6-23.2.el5_3 is needed by package php-gd-5.1.6-23.2.el5_3.i386 (updates)

June 9th, 2009

This is a very strange error and there seems to be no answers on the web for it. I found some cases on the CentOS forums and the recommendation was to reinstall the whole OS. This is how I solved it.

as superuser

#yum remove php-common

(this command may remove a lot of installed software, you must make a list and install them again)

#yum install php-gd

(this will install the proper version of php-common and php-gd)

Getting back to TV

April 9th, 2009

I don’t own a tv and actually, I don’t miss it. This is because I can’t find a tv show that would justify me buying a tv set (maybe if I got cable which Im not planning to get soon).

Just a few weeks ago, I stumbled upon this website which provides podcasts (its like tv programs on the internet). The site is revision3.com. It contains mainly technology based programs and what people would say the geek culture but it’s good (better than most shows on the local airwaves). My favorite is hak5 which is a show about hacking and other DIY tech stuff.

Possible solutions to yum error “[Errno 4] IOError:

March 27th, 2009

1. Check if there is an internet connection

2. If internet connection is ok. edit /etc/yum.conf.

3. look for the proxy settings which would look something like “proxy=http://192.168.1.1:3128″

4. Check if this proxy is working.

5. Delete the whole line if you’re not using an internet proxy server

How to install ati video driver on a centOS machine

February 9th, 2009

This took me around 2 weeks to complete.

Here are the proper (easy) steps on how to do it

1. Update your linux kernel, install the tools then restart your computer (root)

$yum install kernel-devel
$yum install gcc
$yum install gcc-c++
$yum install make
$yum update kernel

2. download the driver here

3. run the driver from the command line (as root)

$./ati-driver-installer-9-1-x86.x86_64.run

4. run aticonfig

$aticonfig –initial –force

5. check if driver is working

$fglrxinfo
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon X1550 Series
OpenGL version string: 2.1.8395 Release

$glxinfo | grep direct
direct rendering: Yes

If this did not work, check the install logs (/usr/share/ati/fglrx-install.log)

How to change hibernate settings on runtime

December 16th, 2008

One is you can build your configuration from scratch but what I like to do is getting the standard settings from my hibernate.cfg.xml file then change some of the values on my code. here’s how I do it

Configuration conf = new Configuration();
conf.configure().setProperty(“hibernate.connection.url”, “jdbc:mysql://”+host+”/”+dbname);
conf.setProperty(“hibernate.connection.username”, user);
conf.setProperty(“hibernate.connection.password”, password);

The Zeitgeist Movement

December 11th, 2008

An officemate shared this video called zeitgeist. It is a documentary about some conspiracy theories on what’s going on in this world. Some of them are a bit far out but some will really leave you thinking. It made me curious so I went to the movie’s website zeigeistmovie.com and found out there was a sequel, so I downloaded and watched it too. The sequel I think was better because it suggested some actions to take to defeat the so called “evil corporations”. You can read more about this on their site thezeitgeistmovement .

How to add yum repositories on your linux CentOS system

December 8th, 2008

There are two ways of adding yum repositories to your centOS system

1. Drop .repo files into your /etc/yum.repos.d/ directory

2. Add a repository entry in your /etc/yum.conf file

you can go to http://osresources.com/11_6_en.html for more on this.

Possible solution to Error: 2003(HY000): Can’t connect to MySQL Server on….. error

December 5th, 2008

This is one possiible solution to Error: 2003(HY000): Can’t connect to MySQL Server on ******* error

this error may not be caused by wrong mysqld installation or configuration, a possible cause is that your connection is blocked by a firewall.

here’s the fix for linux systems.

on the mysql server machine, go to your shell as root and type

#/etc/init.d/iptables stop

this should disable the firewall

(if you’re not allowed to do this, ask your system admin to open connection on port 3306) :-]

Hello world!

December 4th, 2008

finished installing my wordpress blog engine. right when my domain is about to expire.