How to Write Hello World Function in Apps Script

I love automating things. And one thing I’ve really been into recently is Apps Script by Google, automating a lot of my Google Workspace workflows. Google Apps Script is a tool that allows you to automate tasks in Google Workspace. As is tradition when learning a new programming language, in our case, Apps Script isContinue reading “How to Write Hello World Function in Apps Script”

How to pretty print a dictionary in Python within a terminal?

There’s a built-in module in Python called pprint it allows you to “pretty print” data structures in Python. To use it import the module, and wrap anything you want to print with pprint instead of print. Remember to force width if you have a dictionary that fits on a single line. From the docs SingleContinue reading “How to pretty print a dictionary in Python within a terminal?”

GraphQL advantage: a single endpoint for all the data

I haven’t used much of GraphQL but it seems like the main selling point is that as a client you can just query one endpoint, instead of multiple with traditional REST API’s. There’s probably much give and take here, given that it might relieve clients from having to wrangle endpoints to get their data butContinue reading “GraphQL advantage: a single endpoint for all the data”

Why I love to use Sourcegraph for my own projects

At my current place of employment, Lyft, we use Sourcegraph which is an open source tool that allows you to search across many, many repos at once. It’s basically Google for any and all code. I also use Sourcegraph on my own projects to search across my own projects or ramp up on open sourceContinue reading “Why I love to use Sourcegraph for my own projects”

How to authorize requests to Google Calendar API

Though I use Python here, the flow should generally be the same across all languages and APIs. You don’t have to be a Python or flask expert to understand this post as it’s more about the OAuth2 lifecycle with Google APIs but, I recommend having the docs open on flask and Python to understand someContinue reading “How to authorize requests to Google Calendar API”