https://github.com/tylerjw/tylerjw.dev
tylerjw.dev
https://github.com/tylerjw/tylerjw.dev
Last synced: about 1 month ago
JSON representation
tylerjw.dev
- Host: GitHub
- URL: https://github.com/tylerjw/tylerjw.dev
- Owner: tylerjw
- Created: 2023-09-26T17:51:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-04T20:31:26.000Z (over 1 year ago)
- Last Synced: 2025-02-24T04:42:56.205Z (over 1 year ago)
- Language: Python
- Size: 6.22 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tylerjw.dev
[](https://results.pre-commit.ci/latest/github/tylerjw/tylerjw.dev/main)
[](https://github.com/tylerjw/tylerjw.dev/actions/workflows/deploy.yaml)
## Run linters
```bash
pixi run lint
```
## Static Site
To build and serve the site locally, watching for changes:
```bash
pixi run blog
```
## Slides
To watch for changes to the slides python files in the slides directory and re-run them when they change:
```bash
pixi run slides
```
## Generate QR codes for slides
Use [qrcode-monkey](https://www.qrcode-monkey.com/).
## Resizing Images
Enter the pixi shell
```bash
pixi shell
```
To resize an image to be 1080 pixels wide:
```bash
magick PXL_20250903_161814058.MP.jpg -resize 1080x PXL_20250903_161814058.MP-r.jpg
```
To get the width and height of an image:
```bash
identify -format "%wx%h\n" PXL_20250904_181454627.jpg
```
## Env Setup
Install system dependencies:
- inkscape `yay -S inkscape`
- Rust `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh`
- pixi `curl -fsSL https://pixi.sh/install.sh | bash`