mirror of
https://github.com/wezm/wezm.net.git
synced 2025-09-11 22:14:14 +00:00
ruby 3.4.3 (2025-04-14 revision d0b7e5b6a0) +PRISM [x86_64-linux] Bundler version 2.6.7
35 lines
581 B
Markdown
35 lines
581 B
Markdown
WezM.net
|
|
========
|
|
|
|
Site Structure
|
|
--------------
|
|
|
|
/articles
|
|
/technical
|
|
/category
|
|
/personal
|
|
/category
|
|
/about
|
|
|
|
Tips
|
|
----
|
|
|
|
Set updated_at on a post in vim:
|
|
|
|
:r! ruby -rtime -e "puts File.mtime('%:r.md').xmlschema"
|
|
|
|
Trim CLI screenshots:
|
|
|
|
convert *.png -set filename:name '%t' -background white -splice 0x1 -background white -splice 0x1 -trim +repage -chop 0x1 '%[filename:name].png'
|
|
|
|
Setup
|
|
-----
|
|
|
|
bundle install
|
|
bundle exec ..
|
|
|
|
Building and Deployment
|
|
-----------------------
|
|
|
|
* Build with: `nanoc co`
|
|
* Deploy with: `nanoc deploy`
|