Quantcast
Channel: UselessCode.org Blog
Browsing all 23 articles
Browse latest View live

Introducing UCSV

Background UCSV is a small (less than 1kb when minified and gzipped) JavaScript library. It provides a simple interface for importing and exporting CSV data into and out of JavaScript applications....

View Article



UCSV 1.0.2 released

After much procrastination, I am releasing version 1.0.2 of UCSV. This version makes a few small but important changes. In previous versions csvToArray() would insert an empty string into the resulting...

View Article

UCSV 1.1.0 released

Version 1.1.0 of my JavaScript CSV library, UCSV is now available. Version 1.1.0 adds support for use as a CommonJS module. This allows UCSV to be used as a library in (Jetpack) Add-ons for Mozilla and...

View Article

Unexpected $end errors in create_function calls

I recently ran across an odd situation while working on a PHP based project. A couple of places I had to use create_function() to create anonymous functions as callbacks for content buffering with...

View Article

A couple of great articles about using OOP in PHP

I was going through some older items in my RSS reader and noticed a couple of excellent articles about using Object Oriented Programming in PHP over at the Think Vitamin blog.

View Article


Facebook's XHP adds XML to PHP's syntax

I recently came across a very interesting post about XHP on the Facebook Engineering's Notes blog. XHP is a PHP extension they have developed which adds XML comprehension to PHP, allowing you to...

View Article

Pure CSS3 tab widget with :target

In recent years it has become fashionable to take content on a page and put it into a tabbed widget for display. This is usually done using JavaScript. There are a number of plug-ins for jQuery that do...

View Article

UCSV 1.0.2 released

After much procrastination, I am releasing version 1.0.2 of UCSV. This version makes a few small but important changes. In previous versions csvToArray() would insert an empty string into the resulting...

View Article


Strange Chrome bug with text-shadow and the 'IM Fell DW Pica' web-font

While working on a new design for my portfolio site I came across an odd bug in Google Chrome. I had used one of the web fonts that Google supplies via the Google Font API for the text in the page...

View Article


Enrober v1.0.0 released

After a long delay due to feature creep and massive re-factoring, I'm happy to announce that Enrober v1.0.0 is now available; it is licensed under the Apache License, version 2. The README and API...

View Article

Enrober 1.1.0 released

Version 1.1.0 of Enrober is complete and available at the Enrober homepage. This version adds a couple of features, a bugfix and a major change in the file layout used by Enrober. I thought about...

View Article

Securing your user's passwords

The guys over at the F-Secure labs posted a great article entitled: Are you sure SHA-1+salt is enough for passwords?. It's quite interesting; anyone who has anything to do with back-end development,...

View Article

Enrober basics tutorial posted, Small update released

The first of a series of tutorials about using Enrober has been posted. This first tutorial covers the basics of using Enrober.

View Article


Chrome truncates prompt pre-filled values longer than 2000 characters

The window.prompt() DOM method creates a simple modal pop-up for user input. The first parameter you pass to it is the text displayed in the prompt, the second allows you to pre-fill a value for the user.

View Article

Image may be NSFW.
Clik here to view.

Help promote better JavaScript documentation with the Promote JS campaign

View Article


Enrober 1.2.0 Released

Enrober 1.2.0 has been released. This release adds a few new features and contains a major change in the way filters are handled. The internal changes have allowed the head, body and footer to be...

View Article

UCSV 1.1.0 released

Version 1.1.0 of the UCSV JavaScript CSV library is now available. Version 1.1.0 adds support for use as a CommonJS module.

View Article


Ucsv 1.2.0 released

I've been busy with a number of other projects but I have finally gotten around to a new update to Ucsv. This version fixes a couple of small bugs and adds the new csvToObject and objectToCsv methods.

View Article

ES6 spread operator + Date constructor = awesome

I've been working with the Date constructor a lot recently and I discovered something. The new spread operator is extremely useful when dealing with the Date constructor.

View Article

The pitfalls of the HTML5 autofocus attribute

The autofocus attribute that HTML5 adds to input elements is a nice convenience feature, but it has its drawbacks.

View Article
Browsing all 23 articles
Browse latest View live




Latest Images