From b6b98023da7822835c574012ac33c2ceb826fcad Mon Sep 17 00:00:00 2001 From: Timothy Pidashev Date: Thu, 10 Apr 2025 11:09:12 -0700 Subject: [PATCH] Add interactive script message to blog --- .../blog/thinkpad-t440p-coreboot-guide.mdx | 11 ++ .../blog-posts/corebooting-my-thinkpad.md | 104 ------------------ 2 files changed, 11 insertions(+), 104 deletions(-) delete mode 100644 src/src/data/blog-posts/corebooting-my-thinkpad.md diff --git a/src/src/content/blog/thinkpad-t440p-coreboot-guide.mdx b/src/src/content/blog/thinkpad-t440p-coreboot-guide.mdx index 7a0c213..9da9ca7 100644 --- a/src/src/content/blog/thinkpad-t440p-coreboot-guide.mdx +++ b/src/src/content/blog/thinkpad-t440p-coreboot-guide.mdx @@ -6,3 +6,14 @@ tags: [t440p, coreboot, thinkpad] date: 2025-01-15 image: "/blog/thinkpad-t440p-coreboot-guide/thumbnail.png" --- + +> **Interactive Script Available!** +> Want to skip the manual steps in this guide? +> I've created an interactive script that can automate the entire process step by step as you follow along. +> Simply run the following command in your terminal to get started: +> +> ``` +> curl -fsSL https://timmypidashev.dev/scripts/run.sh | sh -s -- -t coreboot-t440p +> ``` + + diff --git a/src/src/data/blog-posts/corebooting-my-thinkpad.md b/src/src/data/blog-posts/corebooting-my-thinkpad.md deleted file mode 100644 index 9f5ba64..0000000 --- a/src/src/data/blog-posts/corebooting-my-thinkpad.md +++ /dev/null @@ -1,104 +0,0 @@ ---- -title: "I corebooted my T440p, here's how I did it." -author: "Timothy Pidashev" -date: "2024/06/05" -description: "This is a sample MDX file." -tags: ["coreboot", "t440p", "dgpu"] ---- - - -```python -# discord api -import discord -from discord.ext import commands - -# custom utilities -from Utilities import log - -log = log.Logger("errors") - -class Errors(commands.Cog): - def __init__(self, client): - self.client = client - - @commands.Cog.listener() - async def on_ready(self): - await log.info("Errors cog loaded.") - - @commands.Cog.listener() - async def on_command_error(self, context, error): - - if isinstance(error, commands.CheckFailure): - await context.reply( - "You are not priveleged enough to use this command.", - mention_author=False - ) - - else: - await context.reply( - f"**Error**\n```diff\n- {error}```", - mention_author=False - ) - -def setup(client): - client.add_cog(Errors(client)) -``` - -# Heading 1 - -## Heading 2 - -### Heading 3 - -#### Heading 4 - -##### Heading 5 - -###### Heading 6 - -*Italic Text* - -_Italic Text_ - -**Bold Text** - -__Bold Text__ - -* Bullet List - * Item 1 - * Item 2 - * Subitem 1 - * Subitem 2 - -1. Numbered List - 1. Item 1 - 2. Item 2 - - Subitem 1 - - Subitem 2 - -[Link Text](https://example.com) - -![Image Alt Text](https://example.com/image.jpg) - -> Blockquote -> -> Lorem ipsum dolor sit amet, consectetur adipiscing elit. - -`Inline Code` - -| Table Header 1 | Table Header 2 | -|----------------|----------------| -| Table Row 1 | Table Row 1 | -| Table Row 2 | Table Row 2 | - -Superscript Text - -Subscript Text - -Highlighted Text - -Underlined Text - -Strikethrough Text - -Abbreviation