Install new ipython

Following up the installation guideline in link: http://ipython.org/ipython-doc/stable/install/install.html 1) install python 3.3 http://www.python.org/download/ 2) pythreadline https://launchpad.net/pyreadline/+download only pythreadline 2.0 for python 2.6, 2.7, 3.x 3) install ipython-0.13.1 32bit python setup.py install 64 bit not supported in Console2 4) config in Console2 ipython3 or python Scripts\ipython3-script.py

PHP memory limit

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 24 bytes). This just means php memory limit is not enough, by default is 32MB, can be increased to 100MB, the problem is you need to change php.ini in all sub site, lucky is some hosting like bluehost …

Update wordpress post with twitter and facebook fan page

Updating wordpress post to twitter is quite easy, there are so many share plugins can do this, I used Sharedaddy which installed in WP 3.0.1. The tough thing is to update wp post to facebook fan page since all current share plugins is only to update with facebook user profile, …

PHP Photo Album

Very good PHP photo album easyPhpAlbum http://www.mywebmymail.com/ just one index.php but with very good features, auto generated thumbnails at first time. amazing site including easyPhpAlbum http://www.fotoworkz.com customize: 1) main configuration.php 2) sub album configuration.php note: before try php image handling need to open php gd in php.ini

Install jython on Solaris

ftp jython-2.1.class to server install without GUI java jython_21 -o /home/dev/jython demo lib source add path to $HOME/.cshrc setenv PATH ${PATH}:/home/dev/jython setenv CLASSPATH .:/home/dev/jython/jython.jar first time run jython *sys-package-mgr*: processing new jar, ‘/home/dev/jython/jython.jar’ *sys-package-mgr*: processing new jar, ‘/usr/j2se/jre/lib/rt.jar’ *sys-package-mgr*: processing new jar, ‘/usr/j2se/jre/lib/sunrsasign.jar’ *sys-package-mgr*: processing new jar, ‘/usr/j2se/jre/lib/jsse.jar’ *sys-package-mgr*: processing …

simpleveiwer gallery.xml generate script

simpleveiwer is very cool flash version gallery, only need to spend time to add new photo in gallery.xml, this script is help to generate xml file. simpleveiwer gallery.xml generate script #!/bin/sh cd images ls >_imagefile1 cat _imagefile1|grep -i .JPG>_imagefile2 echo ” echo ” for i in cat _imagefile2 do echo …