From 6e9988fd29027e5e204da04d56d6a462ca6bb438 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Tue, 11 Nov 2025 17:02:21 -0800 Subject: [PATCH] WIP: remove cruft --- pressa/test-site/posts/2025/11/test-post.md | 40 ------------- pressa/test-site/public/css/style.css | 51 ---------------- pressa/test-www/css/style.css | 51 ---------------- pressa/test-www/feed.json | 33 ---------- pressa/test-www/feed.xml | 60 ------------------- pressa/test-www/index.html | 36 ----------- pressa/test-www/posts/2025/11/index.html | 36 ----------- .../posts/2025/11/test-post/index.html | 36 ----------- pressa/test-www/posts/2025/index.html | 1 - pressa/test-www/posts/index.html | 1 - pressa/test-www/projects/bin/index.html | 1 - pressa/test-www/projects/config/index.html | 1 - pressa/test-www/projects/index.html | 1 - pressa/test-www/projects/strftime/index.html | 1 - pressa/test-www/projects/unix-node/index.html | 1 - 15 files changed, 350 deletions(-) delete mode 100644 pressa/test-site/posts/2025/11/test-post.md delete mode 100644 pressa/test-site/public/css/style.css delete mode 100644 pressa/test-www/css/style.css delete mode 100644 pressa/test-www/feed.json delete mode 100644 pressa/test-www/feed.xml delete mode 100644 pressa/test-www/index.html delete mode 100644 pressa/test-www/posts/2025/11/index.html delete mode 100644 pressa/test-www/posts/2025/11/test-post/index.html delete mode 100644 pressa/test-www/posts/2025/index.html delete mode 100644 pressa/test-www/posts/index.html delete mode 100644 pressa/test-www/projects/bin/index.html delete mode 100644 pressa/test-www/projects/config/index.html delete mode 100644 pressa/test-www/projects/index.html delete mode 100644 pressa/test-www/projects/strftime/index.html delete mode 100644 pressa/test-www/projects/unix-node/index.html diff --git a/pressa/test-site/posts/2025/11/test-post.md b/pressa/test-site/posts/2025/11/test-post.md deleted file mode 100644 index 6030136..0000000 --- a/pressa/test-site/posts/2025/11/test-post.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -Title: Testing Pressa with Ruby and Phlex -Author: Trent Reznor -Date: 11th November, 2025 -Timestamp: 2025-11-11T14:00:00-08:00 -Tags: Ruby, Phlex, Static Sites ---- - -This is a test post to verify that Pressa is working correctly. We're building a static site generator using: - -- Ruby 3.4 -- Phlex for HTML generation -- Kramdown with Rouge for Markdown and syntax highlighting -- dry-struct for immutable data models - -## Code Example - -Here's some Ruby code: - -```ruby -class Post < Dry::Struct - attribute :title, Types::String - attribute :body, Types::String -end - -post = Post.new(title: "Hello World", body: "This is a test") -puts post.title -``` - -## Features - -The generator supports: - -1. Hierarchical post organization (year/month) -2. Link posts (external URLs) -3. JSON and RSS feeds -4. Archive pages -5. Projects section - -Pretty cool, right? diff --git a/pressa/test-site/public/css/style.css b/pressa/test-site/public/css/style.css deleted file mode 100644 index 6831b38..0000000 --- a/pressa/test-site/public/css/style.css +++ /dev/null @@ -1,51 +0,0 @@ -body { - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; - line-height: 1.6; - max-width: 800px; - margin: 40px auto; - padding: 0 20px; - color: #333; -} - -header { - border-bottom: 2px solid #eee; - margin-bottom: 40px; - padding-bottom: 20px; -} - -header h1 { - margin: 0; -} - -header nav ul { - list-style: none; - padding: 0; - display: flex; - gap: 20px; -} - -.post { - margin-bottom: 60px; -} - -.post-meta { - color: #666; - font-size: 0.9em; -} - -.fin { - text-align: center; - color: #999; - margin: 40px 0; -} - -pre { - background: #f5f5f5; - padding: 15px; - border-radius: 4px; - overflow-x: auto; -} - -code { - font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; -} diff --git a/pressa/test-www/css/style.css b/pressa/test-www/css/style.css deleted file mode 100644 index 6831b38..0000000 --- a/pressa/test-www/css/style.css +++ /dev/null @@ -1,51 +0,0 @@ -body { - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; - line-height: 1.6; - max-width: 800px; - margin: 40px auto; - padding: 0 20px; - color: #333; -} - -header { - border-bottom: 2px solid #eee; - margin-bottom: 40px; - padding-bottom: 20px; -} - -header h1 { - margin: 0; -} - -header nav ul { - list-style: none; - padding: 0; - display: flex; - gap: 20px; -} - -.post { - margin-bottom: 60px; -} - -.post-meta { - color: #666; - font-size: 0.9em; -} - -.fin { - text-align: center; - color: #999; - margin: 40px 0; -} - -pre { - background: #f5f5f5; - padding: 15px; - border-radius: 4px; - overflow-x: auto; -} - -code { - font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; -} diff --git a/pressa/test-www/feed.json b/pressa/test-www/feed.json deleted file mode 100644 index 312dbb1..0000000 --- a/pressa/test-www/feed.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "version": "https://jsonfeed.org/version/1.1", - "title": "samhuri.net", - "home_page_url": "http://localhost:8000", - "feed_url": "http://localhost:8000/feed.json", - "description": "The personal blog of Sami Samhuri", - "authors": [ - { - "name": "Sami Samhuri", - "url": "http://localhost:8000" - } - ], - "items": [ - { - "id": "http://localhost:8000/posts/2025/11/test-post", - "url": "http://localhost:8000/posts/2025/11/test-post", - "title": "Testing Pressa with Ruby and Phlex", - "content_html": "

This is a test post to verify that Pressa is working correctly. We’re building a static site generator using:

\n\n\n\n

Code Example

\n\n

Here’s some Ruby code:

\n\n
class Post < Dry::Struct\n attribute :title, Types::String\n attribute :body, Types::String\nend\n\npost = Post.new(title: \"Hello World\", body: \"This is a test\")\nputs post.title\n
\n\n

Features

\n\n

The generator supports:

\n\n
    \n
  1. Hierarchical post organization (year/month)
  2. \n
  3. Link posts (external URLs)
  4. \n
  5. JSON and RSS feeds
  6. \n
  7. Archive pages
  8. \n
  9. Projects section
  10. \n
\n\n

Pretty cool, right?

\n", - "summary": "This is a test post to verify that Pressa is working correctly. We're building a static site generator using: - Ruby 3.4 - Phlex for HTML generation - Kramdown with Rouge for Markdown and syntax highlighting - dry-struct for immutable data models ## Code Example Here's some Ruby code: ```ruby class ...", - "date_published": "2025-11-11T14:00:00-08:00", - "authors": [ - { - "name": "Trent Reznor" - } - ], - "tags": [ - "Ruby", - "Phlex", - "Static Sites" - ] - } - ] -} \ No newline at end of file diff --git a/pressa/test-www/feed.xml b/pressa/test-www/feed.xml deleted file mode 100644 index 700677d..0000000 --- a/pressa/test-www/feed.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - samhuri.net - http://localhost:8000 - The personal blog of Sami Samhuri - en-us - Tue, 11 Nov 2025 14:00:00 -0800 - Tue, 11 Nov 2025 14:52:39 -0800 - - - Testing Pressa with Ruby and Phlex - http://localhost:8000/posts/2025/11/test-post - http://localhost:8000/posts/2025/11/test-post - - This is a test post to verify that Pressa is working correctly. We’re building a static site generator using:

- -
    -
  • Ruby 3.4
  • -
  • Phlex for HTML generation
  • -
  • Kramdown with Rouge for Markdown and syntax highlighting
  • -
  • dry-struct for immutable data models
  • -
- -

Code Example

- -

Here’s some Ruby code:

- -
class Post < Dry::Struct - attribute :title, Types::String - attribute :body, Types::String -end - -post = Post.new(title: "Hello World", body: "This is a test") -puts post.title -
- -

Features

- -

The generator supports:

- -
    -
  1. Hierarchical post organization (year/month)
  2. -
  3. Link posts (external URLs)
  4. -
  5. JSON and RSS feeds
  6. -
  7. Archive pages
  8. -
  9. Projects section
  10. -
- -

Pretty cool, right?

-]]> -
- Tue, 11 Nov 2025 14:00:00 -0800 - sami@samhuri.net (Sami Samhuri) - Ruby - Phlex - Static Sites -
-
-
diff --git a/pressa/test-www/index.html b/pressa/test-www/index.html deleted file mode 100644 index 742fbc6..0000000 --- a/pressa/test-www/index.html +++ /dev/null @@ -1,36 +0,0 @@ -samhuri.net

samhuri.net

Testing Pressa with Ruby and Phlex

This is a test post to verify that Pressa is working correctly. We’re building a static site generator using:

- -
    -
  • Ruby 3.4
  • -
  • Phlex for HTML generation
  • -
  • Kramdown with Rouge for Markdown and syntax highlighting
  • -
  • dry-struct for immutable data models
  • -
- -

Code Example

- -

Here’s some Ruby code:

- -
class Post < Dry::Struct - attribute :title, Types::String - attribute :body, Types::String -end - -post = Post.new(title: "Hello World", body: "This is a test") -puts post.title -
- -

Features

- -

The generator supports:

- -
    -
  1. Hierarchical post organization (year/month)
  2. -
  3. Link posts (external URLs)
  4. -
  5. JSON and RSS feeds
  6. -
  7. Archive pages
  8. -
  9. Projects section
  10. -
- -

Pretty cool, right?

-
\ No newline at end of file diff --git a/pressa/test-www/posts/2025/11/index.html b/pressa/test-www/posts/2025/11/index.html deleted file mode 100644 index fb42447..0000000 --- a/pressa/test-www/posts/2025/11/index.html +++ /dev/null @@ -1,36 +0,0 @@ -November 2025 – samhuri.net

samhuri.net

November 2025

Testing Pressa with Ruby and Phlex

This is a test post to verify that Pressa is working correctly. We’re building a static site generator using:

- -
    -
  • Ruby 3.4
  • -
  • Phlex for HTML generation
  • -
  • Kramdown with Rouge for Markdown and syntax highlighting
  • -
  • dry-struct for immutable data models
  • -
- -

Code Example

- -

Here’s some Ruby code:

- -
class Post < Dry::Struct - attribute :title, Types::String - attribute :body, Types::String -end - -post = Post.new(title: "Hello World", body: "This is a test") -puts post.title -
- -

Features

- -

The generator supports:

- -
    -
  1. Hierarchical post organization (year/month)
  2. -
  3. Link posts (external URLs)
  4. -
  5. JSON and RSS feeds
  6. -
  7. Archive pages
  8. -
  9. Projects section
  10. -
- -

Pretty cool, right?

-
\ No newline at end of file diff --git a/pressa/test-www/posts/2025/11/test-post/index.html b/pressa/test-www/posts/2025/11/test-post/index.html deleted file mode 100644 index fd252ce..0000000 --- a/pressa/test-www/posts/2025/11/test-post/index.html +++ /dev/null @@ -1,36 +0,0 @@ -Testing Pressa with Ruby and Phlex – samhuri.net

samhuri.net

Testing Pressa with Ruby and Phlex

This is a test post to verify that Pressa is working correctly. We’re building a static site generator using:

- -
    -
  • Ruby 3.4
  • -
  • Phlex for HTML generation
  • -
  • Kramdown with Rouge for Markdown and syntax highlighting
  • -
  • dry-struct for immutable data models
  • -
- -

Code Example

- -

Here’s some Ruby code:

- -
class Post < Dry::Struct - attribute :title, Types::String - attribute :body, Types::String -end - -post = Post.new(title: "Hello World", body: "This is a test") -puts post.title -
- -

Features

- -

The generator supports:

- -
    -
  1. Hierarchical post organization (year/month)
  2. -
  3. Link posts (external URLs)
  4. -
  5. JSON and RSS feeds
  6. -
  7. Archive pages
  8. -
  9. Projects section
  10. -
- -

Pretty cool, right?

-
\ No newline at end of file diff --git a/pressa/test-www/posts/2025/index.html b/pressa/test-www/posts/2025/index.html deleted file mode 100644 index c204ff0..0000000 --- a/pressa/test-www/posts/2025/index.html +++ /dev/null @@ -1 +0,0 @@ -2025 – samhuri.net

samhuri.net

\ No newline at end of file diff --git a/pressa/test-www/posts/index.html b/pressa/test-www/posts/index.html deleted file mode 100644 index 4dbeca9..0000000 --- a/pressa/test-www/posts/index.html +++ /dev/null @@ -1 +0,0 @@ -Archive – samhuri.net

samhuri.net

\ No newline at end of file diff --git a/pressa/test-www/projects/bin/index.html b/pressa/test-www/projects/bin/index.html deleted file mode 100644 index fca7053..0000000 --- a/pressa/test-www/projects/bin/index.html +++ /dev/null @@ -1 +0,0 @@ -bin – samhuri.net

samhuri.net

bin

my collection of scripts in ~/bin

View on GitHub →

Statistics

Loading...

Contributors

Loading...

Languages

Loading...

\ No newline at end of file diff --git a/pressa/test-www/projects/config/index.html b/pressa/test-www/projects/config/index.html deleted file mode 100644 index 0301952..0000000 --- a/pressa/test-www/projects/config/index.html +++ /dev/null @@ -1 +0,0 @@ -config – samhuri.net

samhuri.net

config

important dot files

View on GitHub →

Statistics

Loading...

Contributors

Loading...

Languages

Loading...

\ No newline at end of file diff --git a/pressa/test-www/projects/index.html b/pressa/test-www/projects/index.html deleted file mode 100644 index 9d3af58..0000000 --- a/pressa/test-www/projects/index.html +++ /dev/null @@ -1 +0,0 @@ -Projects – samhuri.net

samhuri.net

Projects

Open source projects I've created or contributed to.

  • bin – my collection of scripts in ~/bin
  • config – important dot files
  • unix-node – Node.js CommonJS module that exports useful Unix commands
  • strftime – strftime for JavaScript
\ No newline at end of file diff --git a/pressa/test-www/projects/strftime/index.html b/pressa/test-www/projects/strftime/index.html deleted file mode 100644 index 41cd0fd..0000000 --- a/pressa/test-www/projects/strftime/index.html +++ /dev/null @@ -1 +0,0 @@ -strftime – samhuri.net

samhuri.net

strftime

strftime for JavaScript

View on GitHub →

Statistics

Loading...

Contributors

Loading...

Languages

Loading...

\ No newline at end of file diff --git a/pressa/test-www/projects/unix-node/index.html b/pressa/test-www/projects/unix-node/index.html deleted file mode 100644 index b179573..0000000 --- a/pressa/test-www/projects/unix-node/index.html +++ /dev/null @@ -1 +0,0 @@ -unix-node – samhuri.net

samhuri.net

unix-node

Node.js CommonJS module that exports useful Unix commands

View on GitHub →

Statistics

Loading...

Contributors

Loading...

Languages

Loading...

\ No newline at end of file