- Felix (@feba66), Joel (@space-admiral), James (@Green), and Jon (@jonchurch) in attendance
- What are goals of the Project?
- 2946 folks are in the discord
- Joel is the main dev lead
- Artokun is other dev and helping to manage the other devs
- 2 people have access to the codebase (artokun and Joel)
- Felix has already been using real concepts he has learned for Spacetraders in his CompSci studies
- The HTTP spec is a great compromise on technology because it is approachable for learners
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Check if gh CLI is installed | |
if ! command -v gh >/dev/null 2>&1; then | |
echo "Error: GitHub CLI (gh) is not installed. Please install it to continue." >&2 | |
exit 1 | |
fi | |
# Check if a repository identifier was provided | |
if [ -z "$1" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Exit on error, uninitialized variable use, and catch errors in pipelines | |
set -euo pipefail | |
# set -x | |
# Initialize the DEBUG flag | |
DEBUG=false | |
# Process command-line arguments |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"jshttp": [ | |
"accepts", | |
"content-disposition", | |
"content-type", | |
"cookie", | |
"etag", | |
"fresh", | |
"http-errors", | |
"methods", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
root = rev-parse --show-toplevel | |
pr = "!f() { git fetch -fu ${2:-upstream} refs/pull/$1/head:pr/$1 && git checkout pr/$1; }; f" | |
conflicts = diff --name-only --diff-filter=U | |
fix = "!f() { ${EDITOR} `git conflicts`; }; f" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Reads the first 8 bytes (magic bytes) from the provided file. | |
* | |
* @param {File} file - The file from which the magic bytes are to be read. | |
* @returns {Promise<Uint8Array>} A promise that resolves to a `Uint8Array` containing the first 8 bytes of the file. | |
* @throws {Error} Throws an error if the file cannot be read or if there's another reading issue. | |
* | |
* @example | |
* const file = new File(["content"], "filename.txt"); | |
* sniffMagicBytes(file).then(bytes => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Called by "git commit" with no arguments. The hook should | |
# exit with non-zero status after issuing an appropriate message if | |
# it wants to abort the commit. | |
# | |
# Will skip linting if the commit is a merge commit | |
# to avoid introducing formatting diffs on already committed code | |
PATH=$PATH:/usr/local/bin:/usr/local/sbin | |
echo -------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import axios, { AxiosInstance, AxiosRequestConfig } from 'axios'; | |
interface Job { | |
id: string; | |
createdAt: string; | |
status: 'queued' | 'processing' | 'completed' | 'failed'; | |
priority?: number; | |
retryCount?: number; | |
data?: any; | |
execute: () => void; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [ | |
{ | |
"symbol": "COSMIC", | |
"name": "Cosmic Engineers", | |
"description": "The Cosmic Engineers are a group of highly advanced scientists and engineers who seek to terraform and colonize new worlds, pushing the boundaries of technology and exploration.", | |
"headquarters": "X1-ZA40-15970B", | |
"traits": [ | |
{ | |
"symbol": "INNOVATIVE", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# input looks like | |
# ~/proj/src/some/file/path.tsx(60,9): error jest/no-conditional-expect : Avoid calling `expect` conditionally` | |
npm run lint -- --quiet | awk 'BEGIN { FS="(" }; {print $1O}' | uniq -u |
NewerOlder