Skip to content

Instantly share code, notes, and snippets.

View nikchi's full-sized avatar

Nick Choi nikchi

View GitHub Profile
@nikchi
nikchi / googleAppScriptConvertCurrency.md
Last active January 21, 2020 04:27
Google App Scripting to convert currency

So we are planning on going to foreign countries

We use google docs to plan out itineraries and often the issue of that foreign places currency comes up as the entire world doesnt use the almighty USD. My thinking goes, google docs pretty damn advanced, we should be able to use some type of automation or scripting to get these exchange rates automatically. Here's a cautionary tale about how knowing how to do something doesnt mean it's worth doing.

Google has their own version of macros those familiar with the MS Office line of products would be familiar with, and it turns out that there's a lot of functionality; both built in by google and just by being javascript.

Get to their editor by going in docs to Tools > Script Editor

Here's a function that I spun up in what would be too long a time for a real software engineer but hey, my career path has brought me somewhere else.

@nikchi
nikchi / keybase.md
Created April 3, 2017 19:45
keybase verify

Keybase proof

I hereby claim:

  • I am nikchi on github.
  • I am nikchi (https://keybase.io/nikchi) on keybase.
  • I have a public key ASBOJ-GxKDzCa5vjuahUGMlZjpcxjSJKqLTGwzmjDXwXLQo

To claim this, I am signing this object: