Skip to content

Instantly share code, notes, and snippets.

View gnur's full-sized avatar
🦄
coding

Erwin de Keijzer gnur

🦄
coding
View GitHub Profile
---
apiVersion: v1
kind: Namespace
metadata:
name: echoo
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: echoo
@gnur
gnur / akkoordzoekerbackup.sh
Created October 25, 2020 12:16
kubernetes backup script
gcloud container clusters get-credentials akkoordzoeker --zone europe-west4-a --project akkoordzoeker
cd ~/akkoordzoeker
k8s-backup.sh -a
@gnur
gnur / post.md
Created January 14, 2020 14:47
Tracking reading progress with firebase functions/hosting, svelte and concrete.css

Tracking reading progress with firebase functions/hosting, svelte and concrete.css

Ever since I discovered goodreads I've been almost obsessed with tracking what I read and obtaining as much stats as possible.

At first, to get real time insights in my reading progress of books, I looked into extracting information from my kindle. Whispersync syncs the progress of the books I'm reading to something at Amazon. However, there is no public API to get this information out. I actually tried sniffing the traffic and using phantomJS to extract stuff from the cloud reader. But this all felt a bit hacky.

However, this all changed when I switched to reading my books with librera on my Android phone. (I switched to reading on my phone because I have it with me all the time)
It can sync your reading progress to Google Drive and after a short examination of the files stored on Google Drive I found out it was simply storing JSON.

Example of this file:

Keybase proof

I hereby claim:

  • I am gnur on github.
  • I am gnur (https://keybase.io/gnur) on keybase.
  • I have a public key whose fingerprint is D669 04EC 7B08 3F07 53F3 C2EE 94DF BFA9 0FA8 B698

To claim this, I am signing this object: