about 1 year ago - No comments
I was trying to make a chinese text drawn in an image. That worked flawlessly on my Mac. Upon svn updating my files in production, the characters in the image became squares again. First hunch was to change my file.encoding as from my previous post. But didn’t helped, so I changed the font from the
about 1 year ago - No comments
I have a small project to use a jar file for sending/receiving SMS in chinese. I could send the SMS fine from Eclipse, so I thought creating a Java Class wrapper to be used by ColdFusion so it can be called from HTTP could do the trick. After a few minutes, I have the class
about 2 years ago - No comments
Tomcat Install: http://neilang.com/entries/how-to-install-tomcat-on-mac-os-x/ 1. download tomcat http://tomcat.apache.org/ 2. By default, MacOSX already has java in /Library/Java/Home 3. extract apache-tomcat-6.0.16.tar.gz 4. mv apache-tomcat-6.0.16 /usr/local/tomcat 5. cd /Library/StartupItems 6. sudo mkdir Tomcat 7. sudo vim tomcat Deploying coldfusion as a war http://www.adobe.com/support/coldfusion/j2ee/cfmx7j2ee_tomcat_deploy.html 8. When prompeted: Select J2EE configuration/WAR file 9. Copy cfusion.war to /usr/local/tomcat/webapps/ It should be
about 2 years ago - No comments
After binding Apache2.x and ColdFusion 8, I find it very useful to follow the post-install instructions below: 1. Copying ColdFusion Admin directory to /wwwroot (webroot) # ln -s /var/www /wwwroot # cp -Rf /opt/coldfusion8/wwwroot/CFIDE /wwwroot/ # rm /wwwroot/index.html # cd /wwwroot # ln -s CFIDE cfide 2. Adding index.cfm to DirectoryIndex. # vim /etc/apache2/mods-available/dir.conf DirectoryIndex
about 2 years ago - 1 comment
Ok so this post is a bit late as I saw it in my drafts, but better late than never. I did these even before I wrote the PostGres8.3/Postgis/pgRouting post. 1. Apache reference: http://httpd.apache.org/ ./configure –prefix=/usr/local/apache2 –with-m2m=prefork make sudo make install – To start on boot, download apache2startup.tar.gz and extract to your /Library/StartupItems/ 2. ColdFusion
about 2 years ago - No comments
Time and time again, I have debugging bugs and redeveloping code which some I wrote but mostly done by others as well. Experience is still my best teacher in web development and I believe it would be a heavier burden later on if we continuously pursue rapid development without any testing at all. You may
about 2 years ago - No comments
There are many coldfusion programming techniques that I always grep/search in my applications. It is time to put them all in one place. 1. How to set different alternating row colors?
about 3 years ago - No comments
In order to change the file.encoding of ColdFusion, you can do so in CFIDE Administrator. Go to Java & JVM Settings and add “-Dfile.encoding=GB18030″ in the JVM Arguments. The file.encoding were useful during my SMS Development experience. I noticed the file encoding of the java classes are in GB18030 (Chinese). Below is my previous post
about 3 years ago - 1 comment
Wow, this is really nice. I was able to install Apache2.2 + ColdFusion on my current Debian 4.0 Etch. Here’s an introduction on using apt… Use apt-cache to search the local database for available packages. apt-cache search [search terms] will find packages that sound like what you want and: apt-cache show [packagename] will return more
about 3 years ago - No comments
1. You need to install libXpm beforehand to save time in the Graphing Service Error Problems. rpm -ivh libXpm-3.5.5-3.i386.rpm 2. Modify the installer. cat coldfusion-702-linux.bin.backup | sed “s/export LD_ASSUME/#xport LD_ASSUME/” > coldfusion-702-linux.bin Reference: http://www.billmitchell.org/coldfusion/centos5/mx7_apache.php POST-INSTALL 1. Disable Verity search if you don’t use it. chkconfig cfmx7search off