Skip to content

Instantly share code, notes, and snippets.

View AngelOnFira's full-sized avatar
🥞
Working on cool stuff

Forest Anderson AngelOnFira

🥞
Working on cool stuff
View GitHub Profile
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Namespace",
"type": "object",
"required": [
"cluster"
],
"properties": {
"better_uptime": {
"default": null,
// Find the number of matching numbers between the two vecs. This is
// then worth 1/2/4/8/16 points.
let mut points = 0;
for num in &winning {
if got.contains(num) {
points += 1;
}
}

Notes:

  • I removed the minio check and just added a sleep timer for now:
# Check if Minio has bootstrapped yet
resource "null_resource" "check_minio" {
	provisioner "local-exec" {
		command = <<EOL
		# until curl -sf ${var.s3_providers.minio.endpoint_external}/minio/health/ready; do
# !/bin/bash
# Go into every folder except `[template]`, `.git`, and `servers`. List all the
# sub folders. Go into each sub folder and remove the README.md file. Then, move
# any more files at that level into a subfolder called `files`. Next, go into
# the challenge folder and move the challenge.json file up one level. Next, go
# into the solution directory and move the solution.txt file up one level.
for d in backend/ctf/*; do
if [ "$d" != "backend/ctf/[template]" ] && [ "$d" != "backend/ctf/.git" ] && [ "$d" != "backend/ctf/servers" ]; then
https://angelonfira.notion.site/Prizes-56a5f1af3881496b9c0175998c162c76
https://docs.google.com/presentation/d/1V6zVjkG3MzxS6ZQ2JYVljAbw8yUmYtSrl1d8C6xjuQQ/edit?usp=sharing
const std = @import("std");
const GameState = struct {
year: u32,
trees: u32,
bank: Bank,
};
const Bank = struct {
money: u32,
https://hackmd.io/@carletoncomputersciencesociety/SyIWqwaUs
https://hackmd.io/@AngelOnFira/Skyvcw0xs
https://www.youtube.com/watch?v=s2Vdje_uPX4