diff --git a/src/src/components/resources/presentation.astro b/src/src/components/resources/presentation.astro deleted file mode 100644 index 4434a04..0000000 --- a/src/src/components/resources/presentation.astro +++ /dev/null @@ -1,877 +0,0 @@ ---- -import Background from "@/components/background"; ---- - - - -
- - -
- - -
- - -
- -
- - - - diff --git a/src/src/components/resources/slide.astro b/src/src/components/resources/slide.astro deleted file mode 100644 index 53c07d5..0000000 --- a/src/src/components/resources/slide.astro +++ /dev/null @@ -1,12 +0,0 @@ ---- -export interface Props { - centered?: boolean - highlight?: boolean - large?: boolean -} -const { centered = true, highlight, large } = Astro.props ---- - -
- -
diff --git a/src/src/content/blog/breaking-the-chromebook-cage.mdx b/src/src/content/blog/breaking-the-chromebook-cage.mdx new file mode 100644 index 0000000..9416e0f --- /dev/null +++ b/src/src/content/blog/breaking-the-chromebook-cage.mdx @@ -0,0 +1,8 @@ +--- +title: Breaking the Chromebook Cage +description: From breaking Chromebooks as a student to breaking Chromebooks to stop students from breaking Chromebooks. +author: Timothy Pidashev +tags: ["uefi", "coreboot", "firmware", "chromebooks"] +date: 2025-09-15 +image: "/blog/breaking-the-chromebook-cage/thumbnail.png" +--- diff --git a/src/src/content/config.ts b/src/src/content/config.ts index 0deb18b..e0f1812 100644 --- a/src/src/content/config.ts +++ b/src/src/content/config.ts @@ -24,17 +24,5 @@ export const collections = { date: z.string(), image: z.string().optional(), }), - }), - resources: defineCollection({ - schema: z.object({ - title: z.string(), - description: z.string(), - date: z.coerce.date().transform((date) => { - return new Date(date.setUTCHours(12, 0, 0, 0)); - }), - duration: z.string(), - image: z.string().optional(), - tags: z.array(z.string()), - }), - }), + }) }; diff --git a/src/src/content/resources/curriculum/terminal/0101-welcome-to-the-terminal.mdx b/src/src/content/resources/curriculum/terminal/0101-welcome-to-the-terminal.mdx deleted file mode 100644 index 9b4dec7..0000000 --- a/src/src/content/resources/curriculum/terminal/0101-welcome-to-the-terminal.mdx +++ /dev/null @@ -1,236 +0,0 @@ ---- -title: "0101 - Welcome to the Terminal" -description: "Week 1 | Lesson 1" -date: 2025-09-27 -duration: "45 minutes" -tags: ["terminal"] ---- - -import Slide from "@/components/resources/slide.astro"; -import Presentation from "@/components/resources/presentation.astro"; - -import { Video } from "@/components/mdx/video"; - - - - -* The terminal is a way to **talk to your computer** using words instead of clicking. -* It’s like giving your computer instructions directly. -* Powerful, fast, and used by programmers every day! -* It's sometimes called a **command-line** because it accepts commands as instructions - ---- - - - -## Video Introduction - - - -## Opening the Terminal - -1. Open your laptops and power them on -2. When prompted to login, enter your credentials: -**Username:** your first and last name (all lowercase, no spaces) `timothypidashev` -**Password:** your birthday in MMDDYYYY format (without slashes) `08052004` -> Once logged in, help the person to your right and left, -> we will continue when everybody is ready! - ---- - - - -## It's Lonely in Here... - -Now you should see a **prompt** that looks something like this: -```fish -timothypidashev@laptop1 ~> -``` -This might look intimidating, but it's actually telling you useful information! - ---- - - - -## Understanding the Prompt - -```fish -timothypidashev@laptop1 ~> -``` - -Breaking it down: -- **`timothypidashev`** - This is **your username**. It tells you who is currently using the computer -- **`@laptop1`** - This is the **computer's name** (hostname). Useful when working with multiple computers! -- **`~`** - This is your **current location** in the computer. The `~` symbol means you're in your "home" folder -- **`>`** - This is the **prompt symbol**. It's waiting for you to type a command! - ---- - - - -## Your First Command - `whoami` - -Let's try our first command! Type this and press **Enter**: - -```fish -whoami -``` - -- This command asks the computer: "Who am I?" -- The computer should respond with your username! - -> **Try it!** Type `whoami` and press Enter - ---- - - - -## Where Am I? - The `pwd` Command - -Now let's find out exactly where we are in the computer. Type: - -```fish -pwd -``` - -- `pwd` stands for **"Print Working Directory"** -- It tells you the **full path** to where you currently are -- You should see something like: `/home/timothypidashev` - -> **Try it!** Type `pwd` and press Enter - ---- - - - -## Looking Around - The `ls` Command - -Let's see what's in our current location. Type: - -```fish -ls -``` - -- `ls` stands for **"list"** - it shows you all the files and folders in your current location -- You might see folders like `Desktop`, `Documents`, `Downloads`, etc. - -> **Try it!** Type `ls` and press Enter. What do you see? - ---- - - - -## Making Your Mark - The `mkdir` Command - -Let's create your first folder using the terminal! Type: - -```fish -mkdir my-first-folder -``` - -- `mkdir` stands for **"make directory"** (folder and directory mean the same thing) -- Now type `ls` again to see your new folder appear! - -> **Try it!** Create a folder, then list the contents to see it - ---- - - - -## Moving Around - The `cd` Command - -Let's go inside the folder we just created. Type: - -```bash -cd my-first-folder -``` - -- `cd` stands for **"change directory"** - it moves you to a different location -- Notice how your prompt changes! The `~` might change to show your new location -- Type `pwd` to confirm where you are now - -> **Try it!** Move into your folder and check your location - ---- - - - -## Going Back - `cd ..` - -To go back to the previous folder (your home), type: - -```bash -cd .. -``` - -- The `..` means **"parent directory"** - the folder that contains your current folder -- You can also type `cd ~` or just `cd` to go back to your home folder anytime - -> **Try it!** Go back to your home folder - ---- - - - -## Creating Files - The `touch` Command - -Let's create your first file using the terminal. Type: - -```bash -touch hello.txt -``` - -- `touch` creates a new, empty file -- Type `ls` to see your new file appear alongside your folder - -> **Try it!** Create a file and list the contents to see it - ---- - - - -## Cleaning Up - The `rm` Command - -Let's clean up by removing the file we just created: - -```bash -rm hello.txt -``` - -- `rm` stands for **"remove"** - it deletes files -- ⚠️ **Warning**: `rm` permanently deletes files - there's no trash can in the terminal! -- Type `ls` to confirm the file is gone - -> **Try it!** Remove your file and verify it's deleted - ---- - - - - -## Command Summary - -Here are the commands we learned today: - -| Command | Purpose | -|---------|---------| -| `whoami` | Shows your username | -| `pwd` | Shows your current location | -| `ls` | Lists files and folders | -| `mkdir` | Creates a new folder | -| `cd` | Changes to a different folder | -| `cd ..` | Goes to the parent folder | -| `touch` | Creates a new file | -| `rm` | Removes/deletes a file | - -> BYTE! | Create a file named `.hidden` and see if you can find it with `ls -a`! - ---- - diff --git a/src/src/pages/resources/[...slug].astro b/src/src/pages/resources/[...slug].astro deleted file mode 100644 index 5f02c29..0000000 --- a/src/src/pages/resources/[...slug].astro +++ /dev/null @@ -1,31 +0,0 @@ ---- -export const prerender = true; - -import { getCollection } from "astro:content"; - -import ResourceLayout from "@/layouts/resource.astro"; - -export async function getStaticPaths() { - const resources = await getCollection("resources"); - return resources.map(resource => ({ - params: { slug: resource.slug }, - props: { resource }, - })); -} - -const { resource } = Astro.props; -const { Content } = await resource.render(); ---- - - -
-
-

- {resource.data.title} -

-
-
- -
-
-
diff --git a/src/src/pages/resources/index.astro b/src/src/pages/resources/index.astro deleted file mode 100644 index 37e5db1..0000000 --- a/src/src/pages/resources/index.astro +++ /dev/null @@ -1,61 +0,0 @@ ---- -// src/pages/resources/index.astro - SIMPLE LISTING -import { getCollection } from "astro:content"; -import ContentLayout from "@/layouts/content.astro"; - -const allResources = (await getCollection("resources")).sort( - (a, b) => b.data.date.valueOf() - a.data.date.valueOf() -); ---- - - - -