2009-11-17 02:18:28 +00:00
|
|
|
WezM.net
|
|
|
|
========
|
|
|
|
|
|
|
|
Site Structure
|
|
|
|
--------------
|
|
|
|
|
|
|
|
/articles
|
|
|
|
/technical
|
|
|
|
/category
|
|
|
|
/personal
|
|
|
|
/category
|
|
|
|
/about
|
2019-03-02 04:47:45 +00:00
|
|
|
|
|
|
|
Tips
|
|
|
|
----
|
|
|
|
|
|
|
|
Set updated_at on a post in vim:
|
|
|
|
|
|
|
|
:r! ruby -rtime -e "puts File.mtime('%:r.md').xmlschema"
|
2019-10-26 03:15:56 +00:00
|
|
|
|
|
|
|
Trim CLI screenshots:
|
|
|
|
|
|
|
|
convert *.png -set filename:name '%t' -background white -splice 0x1 -background white -splice 0x1 -trim +repage -chop 0x1 '%[filename:name].png'
|
2022-01-15 00:47:51 +00:00
|
|
|
|
|
|
|
Setup
|
|
|
|
-----
|
|
|
|
|
|
|
|
frum install (then cd ..; cd -)
|
|
|
|
gem install bundler --no-doc --version '~> 1'
|
|
|
|
bundle install
|
|
|
|
|
|
|
|
Building and Deployment
|
|
|
|
-----------------------
|
|
|
|
|
|
|
|
* Build with: `nanoc co`
|
|
|
|
* Deploy with: `nanoc deploy`
|