From 4b2bc03b153bf96642ae0167783b9c143ff5d0c6 Mon Sep 17 00:00:00 2001 From: Roland Thomas Date: Mon, 12 Feb 2024 23:00:29 -0500 Subject: [PATCH] Revert and Test deploy --- content/posts/Rylan.md | 27 -------------- content/posts/creatures.md | 76 -------------------------------------- hugo.toml | 2 +- 3 files changed, 1 insertion(+), 104 deletions(-) delete mode 100644 content/posts/Rylan.md delete mode 100644 content/posts/creatures.md diff --git a/content/posts/Rylan.md b/content/posts/Rylan.md deleted file mode 100644 index 1010375..0000000 --- a/content/posts/Rylan.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -author: "Roland Thomas Jr" -title: "Rylan asked about this!" -date: "2023-08-03" -description: "Rylan is curious" -tags: ["post"] -ShowToc: false -ShowBreadCrumbs: true ---- - -# Rylan is best daughter! Favorite daughter of all time!!! - -## Reasons why -- Smart -- Artistic -- Awesome -- Honest -- Friendly -- Kind -- Gracious -- Beautiful -- Thankful -- Athletic -- Intelligent -- Hard Working - ---- \ No newline at end of file diff --git a/content/posts/creatures.md b/content/posts/creatures.md deleted file mode 100644 index e5e8e2e..0000000 --- a/content/posts/creatures.md +++ /dev/null @@ -1,76 +0,0 @@ ---- -author: "Roland Thomas Jr" -title: "Creatures" -date: "2023-08-04" -description: "Python readline" -tags: ["post"] -ShowToc: false -ShowBreadCrumbs: true ---- -creatures.py -```python -import readline - -creatures = [] - -def add_creature(): - creature = input("Enter a creature name: ") - creatures.append(creature) - print(f"{creature} added to the list of creatures.") - -def lookup_creature(): - def completer(text, state): - options = [c for c in creatures if c.startswith(text)] - if state < len(options): - return options[state] - else: - return None - - readline.set_completer(completer) - readline.parse_and_bind("tab: complete") - - print("List of creatures:") - for creature in creatures: - print(f"- {creature}") - - while True: - creature = input("Enter the name of a creature or press enter to return to the main menu: ") - if not creature: - break - elif creature in creatures: - print(f"{creature} found!") - else: - print(f"{creature} not found.") - - readline.set_completer(None) - readline.parse_and_bind("tab: ") - -def quit(): - print("Goodbye!") - exit() - -menu = { - "1": add_creature, - "2": lookup_creature, - "3": quit -} - -while True: - print("Menu:") - print("[1] Add Creature") - print("[2] Lookup Creature") - print("[3] Quit") - - choice = input("Enter your choice: ") - action = menu.get(choice) - if action: - action() - else: - print(f"{choice} is not a valid option.") -``` - -```rust -things -``` - ---- \ No newline at end of file diff --git a/hugo.toml b/hugo.toml index 4efb83e..f6e821e 100644 --- a/hugo.toml +++ b/hugo.toml @@ -41,7 +41,7 @@ ShowToc = false [params.homeInfoParams] Title = "Roland Thomas Jr \U0001F525" - Content = 'Welcome to my blog!!' + Content = 'Welcome to my blog!' [[params.socialIcons]] name = 'github'