Posts

Showing posts with the label programming

Integrating with the API for our practice management system

Image
We transitioned to a cloud-based SaaS legal practice management system about a year ago. It’s been going fine, after some initial hiccups in the roll-out (a story for another time). But we were just subbed out of a case, rare but it happens, and come to realize there’s no easy way to export all of the meta data we’ve created for a case. Our “file” is no longer just paper documents (or the PDF equivalents). When being subbed out, our ethical duty is to provide the client (or, in this case, their new counsel): “all client materials and property [] includ[ing] correspondence, pleadings, deposition transcripts, experts’ reports and other writings, exhibits, and physical evidence, whether in tangible, electronic or other form, and other items reasonably necessary to the client’s representation,” Rules of Professional Conduct 1.16(e)(1) . So I sat down today and created an API key and figured out how to at least authenticate, in hacked-together PHP code. Heavier lifting tomorrow. Er, later t...

Progressive Web Apps

Image
I’ve just discovered Progressive Web Apps (PWAs) and I’m intrigued. (I’m not a full-time developer, I dabble in code for my own projects. It’s not quite “for fun,” as I build tools that I – and others – find useful in my actual profession. So I’m not as up on all the latest developments as I might otherwise be. Heck, I’m still using Java 8, and I think my Oracle Professional Java Programmer certification is for ... Version 6?) https://www.pcmag.com/how-to/how-to-use-progressive-web-apps https://web.dev/learn/pwa/progressive-web-apps/ ... Okay, wait, O’Reilly had a book on this tech in 2017 ? Damn I’m behind the times. The first web server

Quick and dirty de-duplication Perl script

Image
Hacked out this relatively simple Perl script ; took the backup of photos and videos from my old iPhone X from 104GB across 41,188 files, to 82G and 25,279 files. One of these days I have to build my “dedupe’d” filesystem. But today is not that day. This script is a little braindead but it worked for this purpose, where I had multiple files that looked like this: bfea8af574bedb735a089ce423eba8af: 3 files Removing: ./IMG_8963 1.JPG Removing: ./IMG_9868 1.JPG Keeping: ./IMG_9868.JPG 144d98e4b6b79e8ed3ed8baa70cca014: 2 files Keeping: ./IMG_6323 1.JPG Removing: ./IMG_6323 5.JPG