Taming untracked files in a large git repository
Have you ever tried to add a NuGet package to a Visual Studio project but accidentally added it to the whole solution? And now you have 100 untracked .config files showing up in your changed files list? Or have you ever stopped git in the middle of a big rebase and end up with a lot of new files on your machine and you need to rewind and get to a pristine state?
Well, that’s why we have
git clean -fd. But if you work in a very large codebase like I do at work, that command takes forever to run. I’m talking “go to your one-hour meeting and hope it finishes by the time you get back” forever.
Luckily, if the number of files that show as untracked is manageable, there’s a faster way to get rid of those pesky untracked files than running
There are two types of engineers. Be both
A while back I listened to this talk. It’s by Michael Lopp– an engineering head who worked at companies like Netscape, Apple, Pinterest, and now works as Engineering VP for Slack. Pretty bright guy. At any rate, in his talk, he broke engineers into two basic archetypes: the stables and the volatiles.
Writing a Personal Automation API: Part 4 - Your First Integration
In my previous post, I outlined how to add authentication to the personal automation API we’ve been building using Google Apps Script. Now I’ll talk about how to start harnessing the power of the Maker channel on IFTTT to connect our API to anything and everything we want to, starting with Nest as an example.
Writing a Personal Automation API: Part 3 - Authentication
In my previous post, I outlined how to start building a framework for a personal automation API hosted on Google Apps Script. With the code from the last tutorial, we’re almost ready to start adding in services and integrations to the API. but before we get to that point, there’s still a little bit of work left to do on the framework: authentication (and all the helpers we’ll need to accomplish that).
Writing a Personal Automation API: Part 2 - The framework
In my previous post, I outlined how to begin writing a personal automation API with Google Apps Script. Really, it was just how to write a quick Hello World app that POSTs back with a message. In this post, I will go through the steps of adding a basic framework for running our API application.
Writing a Personal Automation API: Part 1 - Getting Started
In my previous post, I outlined how every dev should write a personal automation API. I specifically mentioned that the easiest/cheapest way to do this is probably to write your API in Google Apps Script. Here I’m going to walk through how to start building the API framework in Google Apps Script.