When starting a new project, there’s always a number of configurations to set up. Of course, you could maintain templates to generate these things using some tool, but if you’re like me and aren’t starting a new project every other day, you might just ask yourself “Hey what did I do for this in the past? I think I’ll just copy it from there.”
[Read More]The Last Time I Set Up an Ubuntu Laptop
A year or two ago I rebuilt an old Dell XPS 13 L321X as a development laptop. Here’s the notes I took! Maybe they’ll help you, maybe not.
[Read More]Notes on Setting Up a Raspberry Pi
My personal notes on how to get a new Raspberry Pi ready for action. Written for a Mac, but the general steps should translate to any platform.
[Read More]Moving to Hugo
Like many web developers in 2013, I was enamored of the power of Grunt. It seemed well worth learning for someone who makes a living building web applications. I would integrate Grunt into some of my work projects, where we’d just started to shift to driving applications with client-side JavaScript and styling with Sass (we worked in .NET mostly). It went very well! Our Angular apps and stylesheets came together like they were supposed to, and when there were issues or we wanted to add something else, working on a Gruntfile.
[Read More]
Minifying Browserified Angular Modules
If you’ve used Angular in production, you’ve probably learned the importance of annotating your dependencies when using a minifier like Uglify: when parameter names get mangled, Angular’s implicit annotation feature breaks. The ng-annotate package does a great job at alleviating us of this responsibility, but it may need a little hint when you’re using something like Browserify to organize your code as CommonJS modules.
Let’s describe the problem with a little bit of code.
[Read More]