Skip to content

Instantly share code, notes, and snippets.

@hbar1st
hbar1st / keyboard-setup.md
Created May 6, 2026 20:19
US keyboard setup instructions for fCC backend workshops

Keyboard & Language Setup Guide for International Users

For the freeCodeCamp Learn Bash Course on GitHub Codespaces

To complete the Learn Bash course successfully, you must be able to type certain characters exactly as Bash and PostgreSQL expect them. Because these characters vary across international keyboards, all learners should temporarily switch to the English (US) keyboard layout for the duration of the course.

Using the US layout ensures:

  • Commands behave consistently
  • Symbols appear where the curriculum expects
  • You avoid errors caused by “dead keys” or remapped characters
@hbar1st
hbar1st / keyboard.md
Created May 6, 2026 12:09
Instructions for fCC RDB learners to use US keyboard layout before starting.

✅ Keyboard & Language Setup Guide for International Users

Before starting the freeCodeCamp Learn Bash course in GitHub Codespaces

To complete the RDB curriculum successfully, you must be able to type certain characters exactly as Bash and PostgreSQL expect them.
Because these characters vary across international keyboards, all learners should temporarily switch to the US keyboard layout for the duration of the course.

This ensures:

  • Commands behave consistently
  • Symbols appear where the curriculum expects
@hbar1st
hbar1st / step-27.md
Created April 17, 2026 01:39
step-27
id 69e16a610b33e847d85be16e
title Step 27
challengeType 0
dashedName step-27

--description--

At this point, the behaviour of the app should not have changed. The code still fetches a file from the CDN and then processes the retrieved data into JSON. Once that's done, it saves that data into the authorDataArr variable and then calls displayAuthors.

@hbar1st
hbar1st / test output
Created April 15, 2026 16:02
block test output (tail of it)
@freecodecamp/curriculum:test-content: ❯ Block: workshop-fcc-authors-page (5)
@freecodecamp/curriculum:test-content: ❯ Title: Step 25 (5)
@freecodecamp/curriculum:test-content: ❯ ID: 69df434b56d2e0faf1a7424c (5)
@freecodecamp/curriculum:test-content: ✓ Matches an ID in workshop-fcc-authors-page.json 0ms
@freecodecamp/curriculum:test-content: ✓ Common checks 1ms
@freecodecamp/curriculum:test-content: ✓ Has challenge files 0ms
@freecodecamp/curriculum:test-content: ✓ Test suite must fail on the initial contents 36ms
@freecodecamp/curriculum:test-content: ❯ Check tests against solutions (1)
@freecodecamp/curriculum:test-content: × Solution 1 must pass the tests 8ms
@freecodecamp/curriculum:test-content:
@hbar1st
hbar1st / step-25.md
Created April 15, 2026 15:13
step-25 workshop to Build an fCC Authors Page
id 69df434b56d2e0faf1a7424c
title Step 25
challengeType 0
dashedName step-25

--description--

Now that your fCC Authors Page is fully functional, let's refactor it to improve its readability by using async and await instead of the promise chaining method then.

@hbar1st
hbar1st / notes.md
Last active April 13, 2026 20:47
notes on async/await fCC workshop

//step-1

In this workshop, you will practice working with the async and await methods by refactoring the fCC Authors Page app you built in a prior workshop.

Recall that in order to use the await operator to wait for a function that returns a Promise, you need to wrap the function call in an async function.

An example of an async function declaration is:

const functionName = async () => {}
@hbar1st
hbar1st / release.yml
Created November 6, 2024 17:43 — forked from plamoni/release.yml
Pete's S3+CloudFront GitHub Action Deploy Script
# Heavily borrowed from https://gist.github.com/neftaly/6390a8b3bfc278113d1a42303532d9b2
name: Build and Deploy
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
@hbar1st
hbar1st / release.yml
Created November 6, 2024 17:43 — forked from plamoni/release.yml
Pete's S3+CloudFront GitHub Action Deploy Script
# Heavily borrowed from https://gist.github.com/neftaly/6390a8b3bfc278113d1a42303532d9b2
name: Build and Deploy
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]