Cleaning up outdated Git branches

I’m pretty sure you have tons of Git branches that you have merged and removed on your server, but are still on your local clone. Here’s a Powershell script to clean them up, using non-brittle commands (just doing git branch -vv like you often see is not a good practice).

Migrate YUI components

I work on an application that uses quite a lot of Javascript components based on the YUI framework, which has been obsolete since around 2014. We recently had the budget to start migrating them to plain Javascript.

How YUI widgets work

Our YUI components use the syntax of YUI3. Sometimes they also use widgets from YUI2 : these have to be rebuilt, or migrated to use another library.

A YUI 3 component is structured as follows:

Continue reading Migrate YUI components