STS undefined

“Cannot Read Property ‘STS’ of Undefined” When Using SP.UI.ModalDialog in SharePoint 2013

I’m using SharePoint’s built-in modal dialog for a single page application I’ve been developing. When I refresh the page to test changes I’ll randomly get an error saying that “Cannot read property ‘STS’ of undefined.” I’m using the Script-on-demand functions that should make things work: SP.SOD.executeFunc('sp.ui.dialog.js', 'SP.UI.ModalDialog', myFunction); Looking at the stack trace, I can […]

Screenshot of HandBrake video tab.

Rotate Videos that were Recorded Sideways

Ever since smartphones started adding video recording capabilities, I’ve seen a lot more videos recorded in “portrait” mode. This happens when you record a video while holding your phone upright instead of sideways. Depending on the phone, the video recording app you used, and how you are playing it back, the video may end up […] 2013 Theme Redesign for 2014

One of my New Year’s resolutions for 2013 was to redesign my personal website. It didn’t happen. I think most web developers tend to neglect their personal site a bit because they are always working on other projects. At least that seems to be the consensus with my coworkers. Well, it’s still pretty rough around the […]