Adampresley - adampresley.com - Adam.Blog()

Latest News:

July Updates for Sublime Text View In Browser Plugin 2 Jul 2013 | 06:13 pm

As some of you may know I wrote and maintain a plugin for the popular and excellent Sublime Text 2 text editor called View In Browser. To date this is my most popular plugin with 10 forks and 30 stars...

Making a Collection Object in PHP 5 Jun 2013 | 05:43 pm

Recently I was working on a bit of code where I had an array of structures (a map or dictionary) that was the result of a query to a database. This data represented a set of statuses, each record with...

Decorator for Serializing MongoDB Dictionaries to JSON in Python 24 May 2013 | 05:48 pm

Before you read this I'm going on the record stating that this problem has likely been solved hundreds of times before. So here is yet another take on how I am managing to serialize Python objects tha...

Comparing Classes in Python 23 May 2013 | 08:24 am

Most object oriented languages have a means to compare two objects or classes. Java has the Comparator interface. In C# you can override the Equals() method. Python naturally has a way to make your cl...

Quick Blurb on Python Beaker and Memcached 21 May 2013 | 10:55 pm

Real quickly I wanted to post to show how one can configure Beaker for session management using Memcached as the session storage. It took me a minute and a few searches to put it all together, so hope...

How I Deployed a PHP App via FTP Using Fabric and Git 21 Apr 2013 | 06:58 am

A project I've been working with for a bit now uses a popular hosting provider to host a PHP application I'm writing. My normal workflow with this project is to make changes, commit my code to my Git ...

Python itertools: Display repeating permutations of a number set 14 Feb 2013 | 06:52 pm

Back in July of 2010 I blogged about displaying a set of repeating permutations of a number set. In this blog post I explained how my daughter had a kid's "spy safe" that had four buttons on it that c...

Filtering items in Python 13 Feb 2013 | 12:32 am

Continuing my exploration of the itertools module in Python I wanted to look at the ifilter() method. ifilter() is a method that returns an iterator of items that return true from a test function (or ...

Grouping an array by key in Python 12 Feb 2013 | 10:13 am

Have you ever had a flat dataset and you needed a portion of the data grouped into a sub-array? I came across such a need this weekend and thought I'd share my experience. In this code sample we'll se...

Internet Explorer Testing VMs 1 Feb 2013 | 08:17 pm

I'm not sure how long this site has been up but I'm just now finding it. http://www.modern.ie/ is a developer site with tools and resources to help test and detect issues in older IE versions, as well...

Related Keywords:

jquery select box, uploadify coldfusion, pars url adress php, vtype in extjs, eclipse javadoc author name, sql to json, ext js "data validation", mssql multiple row insert, cold fusion dynamic routing, barbecue barcode change image resolution

Recently parsed news:

Recent searches: