Skip to content

Instantly share code, notes, and snippets.

View ashx3s's full-sized avatar

Ashlyn ashx3s

  • Calgary, Alberta
View GitHub Profile
@ashx3s
ashx3s / README.md
Last active December 31, 2023 17:14
Supabase + Sveltekit Authentication

Supabase and Sveltekit Authentication

Supabase + Sveltekit needs a second library for authentication

npm i @supabase/auth-helpers-sveltekit -D
@ashx3s
ashx3s / README.md
Last active March 6, 2024 16:45
Javascript Reduce method

Reduce Method

  • reduce() takes a 'reducer' callback that you create and applies it to each element in an array

    • it passes the return value of each iteration forward
    • The end result is that all the elements will be reduced down into 1 value
  • Documentation

Uses of reduce()

@acidtone
acidtone / README.md
Last active April 14, 2024 12:36
Command Line Activity: Follow the white rabbit

Command Line Activity: Follow the white rabbit

This is a command line exercise for practicing basic file system navigation commands:

  • pwd: Display your present (working) directory
  • ls: List directory contents
  • cd: Change directory

Instructions

  1. Download this Gist to your workspace and expand/extract animal-world.zip.
  2. Navigate to this directory using your terminal.
  • Note: when you open a new terminal window (i.e. using Git Bash on Windows or Terminal on Mac OS) the default location will normally be your home folder (/Users/jane).