Skip to content

Commit

Permalink
initial commit ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
tlackemann committed Aug 9, 2024
0 parents commit ec3fd6f
Show file tree
Hide file tree
Showing 25 changed files with 1,687 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# flyctl launch added from .gitignore
**/book

# flyctl launch added from .idea/.gitignore
# Default ignored files
.idea/shelf
.idea/workspace.xml
# Editor-based HTTP Client requests
.idea/httpRequests
# Datasource local storage ignored files
.idea/dataSources
.idea/dataSources.local.xml
fly.toml
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.idea/
book/
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM peaceiris/mdbook as builder
LABEL authors="tom"

WORKDIR /app
COPY . /app
RUN mdbook build

FROM nginx

COPY --from=builder /app/book /usr/share/nginx/html

ENTRYPOINT ["nginx", "-g", "daemon off;"]
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# nullfish.dev

Personal homepage and knowledge base.

## Development

```shell
mdbook serve
```

## Deploy

```shell
fly deploy
```
18 changes: 18 additions & 0 deletions book.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[book]
authors = ["Thomas Lackemann"]
language = "en"
multilingual = false
src = "src"
title = "nullfish.dev"

[preprocessor]

[preprocessor.catppuccin]
assets_version = "2.1.0" # DO NOT EDIT: Managed by `mdbook-catppuccin install`

[output]

[output.html]
additional-css = ["./theme/catppuccin.css", "./theme/catppuccin-admonish.css"]
default-theme = "frappe"
preferred-dark-theme = "macchiato"
18 changes: 18 additions & 0 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# fly.toml app configuration file generated for nullfish-dev on 2024-08-08T23:57:46-04:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = 'nullfish-dev'
primary_region = 'ewr'

[http_service]
internal_port = 80
force_https = true
auto_stop_machines = false
auto_start_machines = true
min_machines_running = 0
processes = ['app']

[[vm]]
size = 'shared-cpu-1x'
22 changes: 22 additions & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Summary

- [Home](./index.md)
- [Living off the land](land/index.md)
- [Chickens]()
- [Composting]()
- [Gardening](land/gardening.md)
- [Microgreens]()
- [Mushroom Farming]()
- [Tractor]()
- [Cooking](cooking/index.md)
- [Recipes]()
- [Bagels]()
- [Brioche Bread]()
- [Pizza Dough]()
- [Skewered Pork Belly w/ Red Potato Chips]()
- [Programming](programming/index.md)
- [Bootstrapping](programming/bootstrapping.md)
- [Games](programming/games/index.md)
- [Pet Pals]()
- [Refractor](programming/games/refractor.md)
- [Untitled Traffic Game]()
1 change: 1 addition & 0 deletions src/cooking/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Cooking
1 change: 1 addition & 0 deletions src/homestead/gardening.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Gardening
1 change: 1 addition & 0 deletions src/homestead/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Living off the land
Binary file added src/images/nullfish-fs8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions src/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Hello

I'm Tom. In 1998, I published my first website. 25-years later, I am still creating sites and applications for the web.

I do not have social media, but you can send me an email at hello[at]nullfish[dot]dev.

<center>
<img src="images/nullfish-fs8.png" alt="nullfish.dev" height="64" width="auto" style="margin-top: 3em;">
</center>

## Work

I currently work as a Senior Software Engineer for [Narmi](https://narmi.com).

I was the previous founder to Astral TableTop and most recently the former co-founder to [dddice](https://dddice.com).

## About this site

This site is built using [mdbook](https://rust-lang.github.io/mdBook/index.html) and serves as a knowledge base (both complete and incomplete) for all things interesting to me.

Sometimes I share what I write; often times I do not. Feel free to browse.
1 change: 1 addition & 0 deletions src/land/chickens.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Chickens
5 changes: 5 additions & 0 deletions src/land/gardening.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Gardening

We have two small 8x4' garden beds on our property that I built with cheap lumber from Home Depot.

They both explore the possibilities of [Hügelkultur](https://richsoil.com/hugelkultur/).
9 changes: 9 additions & 0 deletions src/land/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Living off the land

In 2023, my wife and I purchased our forever home in central New Jersey.

We live on 1.1-acres of land with enough space to do all the things we always wanted to do such as learning to grow
sustainable food, raising chickens, and other hobbies that root us to nature.

We are not true homesteaders. We acknowledge that we are very fortunate to live where we do and get to pursue
our hobbies as just that, hobbies.
1 change: 1 addition & 0 deletions src/land/microgreens.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Microgreens
1 change: 1 addition & 0 deletions src/land/mushroom-farming.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Mushroom Farming
1 change: 1 addition & 0 deletions src/land/mushrooms.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Mushrooms
38 changes: 38 additions & 0 deletions src/programming/bootstrapping.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Bootstrapping

Any new project I start, I always start the with same tech stack.

## Tech

- [Laravel](https://laravel.com/)
- [Filament](https://filamentphp.com/) (Admin)
- [Alpine](https://alpinejs.dev/) / [htmx](https://htmx.org/) (Frontend)

That's it. Most of anything a new project needs (authentication, customization, interactivity) can be achieved with
these three tools.

### Why PHP/Laravel?

PHP has been around a lot longer than any other web language today and it has come a long, long way since the early
days. There are a number of reasons why I like choosing PHP/Laravel for new projects.

1. It's easy to learn
1. It's easy to host
1. It's easy to find developers
1. The ecosystem is unbeatable

PHP is also fast (Octane/FrankenPHP). While I wouldn't go as far to say PHP is the perfect tool for all applications,
for any application I build it certainly is.

## Plumbing

Of course, there's always repository and CI/CD plumbing in which I like to use:

- [husky](https://github.com/typicode/husky) (Git hook runner)
- [lint-staged](https://github.com/lint-staged/lint-staged) (Lint runner)
- [Prettier](https://prettier.io/) (Tidy up files)
- [commitlint](https://commitlint.js.org/) w/ conventional commits

## Database

MySQL or SQLite. Redis for cache.
1 change: 1 addition & 0 deletions src/programming/games/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Games
3 changes: 3 additions & 0 deletions src/programming/games/refractor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Refractor

[Play Refractor](https://refractor-game.com)
5 changes: 5 additions & 0 deletions src/programming/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Programming

I've been a Software Engineer for over a decade now.

I am most proficient in PHP, TypeScript, Python, and Rust. I have dabbled in WebGL and other languages as well.
Loading

0 comments on commit ec3fd6f

Please sign in to comment.