Surf 11 » Surf 11

Finding the best waves on the web.

Find CentOS Version Number

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)


Solved: Could not perform unpadding invalid pad byte

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.



Getting Started - Making AJAX Applications Crawlable - Google Code

Using #! to make ajax applications crawlable by search engines.

Link: Getting Started - Making AJAX Applications Crawlable - Google Code



Our Collectors : Jon Masamitsu's Weblog

Link: Our Collectors : Jon Masamitsu's Weblog



Ponemon Cost of a Data Breach

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.

Link: Ponemon Cost of a Data Breach



jsPerf: JavaScript performance playground

Allows you to write JavaScript test cases and keep track of the results in multiple browsers

Link: jsPerf: JavaScript performance playground



Updating OpenSSH over SSH with yum CentOS

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.



betali.st

Link: betali.st



How to Version HTML5 Database openDatabase()

How to manage versions with html5 databases

Link: How to Version HTML5 Database openDatabase()



Mac USB File Copy - Unexpected Error Occurred

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:

  • Backup everything on your USB drive
  • Reformat the drive using something other than FAT, such as "Mac OS Extended"


WebWorkerDaily

Online Business Collaboration Technology and Strategy Blog

Link: WebWorkerDaily



One Thing Well

One Thing Well is a weblog about simple, useful software (on any platform).

Link: One Thing Well



High availability MySQL on Amazon EC2

A series of blog entries from the MySQL Performance Blog on keeping MySQL available in an Amazon EC2 Cloud

Link: High availability MySQL on Amazon EC2



HTML5 Resource and Tutorial List

A good list of resources and tutorials for learning about HTML5

Link: HTML5 Resource and Tutorial List



Screenr - Create screencasts and screen recordings the easy way

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



Safari Client-Side Storage and Offline Applications Programming Guide: Using the JavaScript Database

Examples on using the JavaScript database in Safari from Apple.

Link: Safari Client-Side Storage and Offline Applications Programming Guide: Using the JavaScript Database



NoClassDefFoundError: coldfusion/runtime/QueryTableWrapper

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.



User Experience Coding How-To's for Safari on iPhone

Link: User Experience Coding How-To's for Safari on iPhone



Install ColdFusion Silently

Instructions for creating a .properties file to automate the ColdFusion install process.

Link: Install ColdFusion Silently



How to run IE on your Mac with VirtualBox

Link: How to run IE on your Mac with VirtualBox



Subscribe to our RSS Feed: subscribe to this feed XML
Archives   Tags   Contact