-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace
workshops.yaml
with spring2024.yaml
- Loading branch information
1 parent
adbeb80
commit ba28554
Showing
9 changed files
with
77 additions
and
91 deletions.
There are no files selected for viewing
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
export { test } from "https://deno.land/[email protected]/front_matter/mod.ts"; | ||
export { copy, expandGlob } from "https://deno.land/[email protected]/fs/mod.ts"; | ||
export { join } from "https://deno.land/[email protected]/path/join.ts"; | ||
export { parseArgs } from "https://deno.land/[email protected]/cli/parse_args.ts"; | ||
export { extract } from "https://deno.land/[email protected]/front_matter/any.ts"; | ||
export { parse as parseYAML } from "https://deno.land/[email protected]/yaml/mod.ts"; | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export * from "./workshops.ts"; | ||
export * from "./ssr.tsx"; | ||
export * from "./walk.ts"; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { expandGlob } from "#/deps.ts"; | ||
import type { WorkshopGroup } from "./workshops.ts"; | ||
import { parseWorkshopsYAML } from "./workshops.ts"; | ||
|
||
function trimExtension(path: string): string { | ||
return path.replace(/\.[^.]*$/, ""); | ||
} | ||
|
||
export async function* walkWorkshopsYAML(glob: string | URL) { | ||
for await (const stat of expandGlob(glob)) { | ||
const content = await Deno.readTextFile(stat.path); | ||
const groupID = trimExtension(stat.name); | ||
const workshops = parseWorkshopsYAML(content); | ||
const group: WorkshopGroup = { groupID, workshops }; | ||
yield group; | ||
} | ||
} |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,14 @@ | ||
- title: "Spring 2024 Open Source Software Kickoff" | ||
description: "Launch into the vast expanse of collaborative development, exploring new frontiers and innovating together!" | ||
timestamp: "2024-02-08" | ||
group_id: "spring2024" | ||
url: "https://acmcsuf.com/spring24-oss-kickoff" | ||
|
||
- title: "Making First Contributions" | ||
description: "Make your first open source contribution and learn the basics of Git and GitHub." | ||
timestamp: "2024-02-15" | ||
group_id: "spring2024" | ||
url: "https://acmcsuf.com/1st-slides" | ||
|
||
- title: "How to win FullyHacks" | ||
description: "How to win a hackathon, and how to win FullyHacks in particular." | ||
timestamp: "2024-02-22" | ||
group_id: "spring2024" | ||
url: "https://acmcsuf.com/winning-fh" |