purdy Archive

angular-ui-router – IE8 and nested states

Just a quick tip, If you still have to maintain compatibility with IE8 (< AngularJS 1.3) - and you're using angular-ui-router for nested views, the documentation for nesting states says you should use "<ui-view />" for your template for an abstract parent state: Remember: Abstract states still need their own <ui-view/> for their children...
Read More

JQuery – Sparkline: Re-draw on resize / responsive sparklines

I've been suckered in by the awesome JQuery Sparkline plugin - I won't go over how it works or what it does, but rather a quick 'fix' for fixing issues with how the output deals with browser resizing. (Long story short, it doesn't by default). Here's a visual of the issue...
Read More

Migrating from Blogger (Google) to WordPress

With the sketchy nature of Google, I'm starting to decrease as many dependencies as I can from them. Starting with my blog. A part of it is just a technical test to find out how hard it would be to wean off of the free service. Overall, there's few - if...
Read More

Why I won’t (can’t) adopt Google Chrome yet…

Privacy aside, simply put: in my role, I do my fair share of design work, AJAX debugging, CSS, you name it -  I need tools at my fingertips to quickly do more than just rip apart the DOM of a page, these are my deal breaker extensions/capabilities that aren't in...
Read More

System admin ‘helper’: Zebra stripe log / console output

Looking at an ASCII data table can be difficult - so to start a small trip into Perl programming - I tossed together a simple Perl script, with no module requirements - zebra.pl as I call it, and it zebra stripes the output. It adds a nice touch to say...
Read More

PHPUnit and apache ant junitreport task

There's not a whole lot of 'purdy' interfaces for parsing junit results. For what little that's out there - it's even a bit more difficult when you consider the PHP camp looking for a parser for the output from the likes of PHPUnit. If you're looking for an easy way out...
Read More

libflashplayer.so – quickie for install.

Need a place to put it on debian/ubuntu?[crayon-5b2e07de81703789691699/]Chromium:[crayon-5b2e07de81709612613954/]Chrome: (You might have to create the 'plugins' dir - I did =\ )[crayon-5b2e07de8170b481253163/]Firefox:[crayon-5b2e07de8170d419760550/]Restart all instances of the browser/s and check it out.PS: Flash on 64-bit linux doesn't matter, you can put it in lib64/ if you -REALLY- want.. Subscribe in a reader...
Read More

Browser wars: Feels old school

Stepping back from your browser of choice; it just hit me how HTML5 has reignited the browser war, pushing innovation and making things feel old school again.There's nothing 'old school' about HTML5, or is there? Anyone remember the old dx filters in IE? rotate, flame text, etc - now it's...
Read More

Command line musings: whiptail and dialog

A quick jaunt on cool command utils for 'command line ui' installations/prompts for those who are into that kind of stuff for configuration tools, etc;WhiptailWhiptail is a handy utility that allows you to create colorized command line dialogs that you see when configuring certain things such as postfix or zend...
Read More

Bullet train crash course for CSS

One of the best zero-to-hero articles I've ever seen starting with basic CSS moving all the way to sprites; worth a look:http://www.smashingmagazine.com/2009/10/05/mastering-css-coding-getting-started/ Subscribe in a reader...
Read More

Visualizing changeset activity

Came across a nifty extension for mercurial that uses google charts to generate graphs revolving around your Hg repository activity. The extension is called ChartExtension - it's not as configurable as I had hoped but the results are pretty easy to obtain:[crayon-5b2e07de818ac016550159/] (click for larger) Subscribe in a reader...
Read More

Tapping flickr, Part 1

This first quickie will be on iterating through the photos in a photoset (essentially, an album) and pitting them out in a thumbnail format with links to the larger versions.References:http://www.flickr.com/services/api/misc.urls.htmlhttp://www.flickr.com/services/api/http://us2.php.net/manual/en/ref.simplexml.phpRequirements:PHP with SimpleXMLFlickr Account, and a developer API key.[crayon-5b2e07de81a3c034765745/]This will spit out a nice dump of what you have to work...
Read More