Blogs
Convert a string of hexadecimal digits into its equivalent integer values in C (can use atoi)
Submitted by pooni on Mon, 05/14/2007 - 18:33.
::
Problem : Write a function htoi(s) which converts a string of hexadecimal digits(including optional 0X) into its equivalent integer value.The allowable digits are 0 to 9, a through f.
I suggest a simple solution of this problem.
White Blank Screen of death when running drupal in apache or lampp
Submitted by geekyguy on Sun, 05/13/2007 - 15:45.
::
The white screen of death is usually caused by a lack of memory - on your dev box, you just need to increase the amount of amount of memory allocated to PHP in php.ini. So if you are using lampp, go to /opt/lampp/etc/php.ini and find the line: memory_limit = XXM. Increase this XXM to say 32 or 64M and the white screen of death should go.
How to run tomcat and lampp/xampp together using jakarta-tomcat-connector or mod_jk module on Linux?
Submitted by programmer on Sun, 05/13/2007 - 11:39.
::
After having spend almost 48 hours on the system and not finding a satisfactory answer, I could solve the problem and I decided to post the solution for people who might have the same problem.
1. Download xampp-linux-1.4.11.tar.gz. Unzip as follows:
tar zxvf xampp-linux-1.4.11.tar.gz -C /opt
Note, I tried integrating tomcat with the latest xamp, but with utter failure. Later I could figure out that I needed apache-2.0 to make mod_jk.so module work. I tried compiling mod_jk from source, but it did not compile and gave all kinds of errors.
Running Python with WAMP5
Submitted by programmer on Sun, 05/13/2007 - 11:15.
::
After much bashing of my head, I could finally run Python using WAMP on windows. And finally when it ran, it looked like an easy task provided somebody must have given correct pointers to it. Unable to find a good pointer for myself, here I come up with the one:
Important point is that I could run Python on WAMP that has following configuration: 1. Apace: 2.0.59 2. Python 2.4 3. mod_python-3.2.8.win32-py2.4.exe And finally, a httpd.conf file.