Skip to content

Instantly share code, notes, and snippets.

View nathanielfernandes's full-sized avatar
👨‍🍳
cooking

Nathaniel Fernandes nathanielfernandes

👨‍🍳
cooking
View GitHub Profile
@nathanielfernandes
nathanielfernandes / spotify-listening.md
Created December 1, 2022 20:22
Using a cloudflare worker to get your listening activity from spotify

Using a cloudflare worker to get your listening activity from spotify

In this guide I will explain how to create a cloudflare worker that returns the current song you are listening to on spotify.

You may of seen my use of it on root of my site:
listening

Step 1: Get your Spotify client_id, client_secret and refresh_token

@nathanielfernandes
nathanielfernandes / cps305-notes.md
Last active September 3, 2022 16:47
CPS 305 Data Structures Notes

Data Structures Notes

Note: these notes are directly related to the CPS 305 Ryerson Course and it's associated text book, and were created as a reference for myself. I will be updating it as the course progresses.

Table of Contents

@nathanielfernandes
nathanielfernandes / lisp-cps305-mac.md
Last active March 19, 2025 19:18
A basic tutorial on how to get started with lisp on OS X using vscode as your editor rather than slime or emacs.

Setting up lisp on Mac OS X

Note: this tutorial only outlines how to install and setup whats necessary to compile and run lisp on Mac OS X, it will not go over how to setup emacs or slime. Instead there will be instructions for how to get syntax highlighting on VsCode. If you don't have VsCode download and install it from here https://code.visualstudio.com/download

This tutorial is under the impression that you do not have Homebrew installed, if you do just skip the step.

1. Installation of Homebrew

Homebrew is a common installation tool on mac that will make the rest of this tutorial possible.