You can find the CentOS version number (the major release version) by running the following command:
cat /etc/redhat-release
It should output a version number in a format like this:
CentOS release 6.4 (Final)
When you run into an error like this in ColdFusion, or otherwise using the RSA jSafe CryptoJ java package:
An error occurred while trying to encrypt or decrypt your input string: com.rsa.jsafe.crypto.dr: Could not perform unpadding: invalid pad byte..
It usually means that you are trying to decrypt a value using the wrong encryption key.
Using #! to make ajax applications crawlable by search engines.
Link: Getting Started - Making AJAX Applications Crawlable - Google Code
Link: blogs.sun.com/jonthecollector/entry/our_collectors Our Collectors : Jon Masamitsu's Weblog
Note that this link no longer works.
The average organizational cost of a data breach increased to $7.2 million and cost companies an average of $214 per compromised record, markedly higher when compared to $204 in 2009.
Allows you to write JavaScript test cases and keep track of the results in multiple browsers
I was recently doing some updates on a CentOS server, and one of the packages that showed needing an update was OpenSSH (you can see what needs update by running yum check-update
). I'm always nervous about updating OpenSSH while connected to the server over SSH, will I loose my connection?.
Everything went fine, and my ssh connection remained intact while updating OpenSSH on CentOS using YUM.
BetaList Link: betali.st - shows new sites and services that are in beta.
How to manage versions with html5 databases
I have a 1TB USB drive connected to my Airport, and sometimes when I try copying large files (multiple GB) files to it I get the following error message:
Sorry, the operation could not be completed because an unexpected error occurred. (Error code 0)
First I thought maybe it was a problem with using my AirPort, so I tried connecting it directly to my Mac, same error.
It turns out the problem is that the USB hard drive was formatted using FAT32 (this is how they often come from the manufacturer, I never reformatted it), which only allows files of max size of around 4gb, when you try to copy anything larger you get this unexpected error.
The solution to this problem is:
Online Business Collaboration Technology and Strategy Blog
Link: WebWorkerDaily
One Thing Well is a weblog about simple, useful software (on any platform).
Link: One Thing Well
A series of blog entries from the MySQL Performance Blog on keeping MySQL available in an Amazon EC2 Cloud
A good list of resources and tutorials for learning about HTML5
A Free Web Based tool to record screencasts, post to twitter or YouTube and record up to 5 min
Link: Screenr - Create screencasts and screen recordings the easy way
Examples on using the JavaScript database in Safari from Apple.
Link: http://developer.apple.com/safari/library/documentation/iphone/conceptual/safarijsdatabaseguide/UsingtheJavascriptDatabase/UsingtheJavascriptDatabase.html#//apple_ref/doc/uid/TP40007256-CH3-SW1 (no longer works) Safari Client-Side Storage and Offline Applications Programming Guide: Using the JavaScript Database.
If you are running into this problem after installing a ColdFusion 8.0.1 Cumulative Hotfix 4:
java.lang.NoClassDefFoundError: coldfusion/runtime/QueryTableWrapper at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) at java.lang.Class.getConstructor0(Class.java:2699) at java.lang.Class.newInstance0(Class.java:326) at java.lang.Class.newInstance(Class.java:308) at coldfusion.sql.QueryTable.getShallowCopy(QueryTable.java:2784) at coldfusion.tagext.QueryLoop.setQuery(QueryLoop.java:62)
Make sure you have updated the cfmx_bootstrap.jar
file as stated in the hotfix .
You should also make sure that you have deleted any compiled class files after performing such an update.
Link: http://developer.apple.com/safari/library/codinghowtos/Mobile/UserExperience/index.html (no longer works) User Experience Coding How-To's for Safari on iPhone
Instructions for creating a .properties file to automate the ColdFusion install process.
Link: http://kb2.adobe.com/cps/402/kb402572.html (no longer works) Install ColdFusion Silently
Link: http://socket7.net/article/how-to-run-ie-on-your-mac-with-virtualbox" ( no longer works) How to run IE on your Mac with VirtualBox