tech

Soaping With Rest, or Resting With Soap

This week, I have had the opportunity, as part of my new job, to reacquaint myself with the SOAP protocol. I was tasked with standing up a facade service, that would act as a live integration mock, for a new client interface being built which will be accessing a real (old) SOAP backend service, written in Java. Problem is, due to the nature of the situation, there is no way to see the innards of the service I’m mocking.

Testing New Shortcodes

Today, I’m just testing out a few new Hugo shortcodes I added to the site. I’ve culled these from around the internet, and hacked together some of my own. You might find them useful, if you’re doing static blogging yourself. You can find all the code on the repo for this site, found here. As I do more and more blogging from the static site generator, this sort of thing will be more and more useful to me, at least.

An ffmpeg scrapbook

In order to produce videos, I have had to jump through a lot of hoops. One of those, is learning how to transcode video files with ffmpeg. This post is mostly a convenience for me. A place where I can dump copy-pasta command lines, so that I never forget them. Extracting video from YouTube If you’re initially uploading to YouTube (because its the only cellphone app that works well), and need to move the videos to other services that don’t support syncing yet (or, their support is sketchy and broken), then use ffmpeg in cooperation with youtube-dl, and do this:

Nextcloud Caldav Discovery Problem

Recently, I setup a self-hosted nextcloud instance, for my own personal use. One of the primary uses I had for this service, besides storing sharable content on the internet, was to have a central place where I stored and synced things like appointments, meetings, and tasks. That requires a working CALDAV and CARDDAV discovery service, and nextcloud has this feature, so I was eager to get it up and running.

It's Alive!

Welcome To My Blog Here’s a snippet of Go, using the built-in “highlight” shortcode. func str2int(strnum string) int { i, err := strconv.Atoi(strnum) if err != nil { return 9999 } return i } Here’s a snippet of Java Springboot using code fencing. @RestController @RequestMapping(value = "/hello") public class TrainerController { @GetMapping public String helloWorld(){ return "Hello, World!"; } } Here’s a snippet of Python using code fencing. def test_firefox_browser(headless): bd = BrowserDriver().