1
0
Fork 0
forked from wezm/wezm.net

Compare commits

...

159 commits

Author SHA1 Message Date
3d8ae03a2a
Fix typos in OpenBSD crash post 2023-09-22 11:57:16 +10:00
ee4b17e1ca
Add OpenBSD VM post 2023-09-17 12:51:07 +10:00
ed2d4bd2b3
Set v2 base_url to https 2023-07-03 09:35:07 +10:00
d4ed662cdf
Add v2 sitemap.xml to root robots.txt 2023-07-03 09:34:54 +10:00
8c16278ffc
Tweak YouTube post 2023-04-14 12:16:28 +10:00
3b2c0dd92d
Add Psivewri 2023-04-14 10:50:11 +10:00
25b701e10a
Add ANZ YouTubers post 2023-04-11 10:05:01 +10:00
1fe0245e1f
Add new classic Mac OS Rust post 2023-03-31 20:59:03 +10:00
3395f3edac
Add DeRez post 2023-03-31 13:43:52 +10:00
8b7103180c
Fix binutils-powerpc-linux-gnu package name 2023-03-26 14:27:55 +10:00
4e2eeb415f
Update work status 2023-03-06 10:18:50 +10:00
b16ca174ca
Fix typo in podcast URL 2023-03-01 21:55:16 +10:00
4451d995d4
Add XSLT podcast post 2023-03-01 20:06:37 +10:00
531f2fec35
Add rust-on-ppc-classic-mac-os post 2023-02-27 12:46:33 +10:00
4b12ad7fef
Add Docker debug post 2023-02-25 11:43:00 +10:00
ab0d9faafe
Update Mastodon links on old site 2023-01-30 11:13:07 +10:00
fe65d4982d
Update Fediverse accoun 2023-01-30 10:37:40 +10:00
35ad9543a9
Put Fediverse first in post footer 2023-01-21 07:35:31 +10:00
0e5ed74517
Remove Twitter button from home page 2023-01-21 07:35:18 +10:00
e0209f1456
Add sign in with google post 2023-01-21 07:35:07 +10:00
0a4f1d2a45
Update divmod post 2023-01-11 21:11:43 +10:00
e00bb7868c
Add divmod post 2023-01-11 20:32:56 +10:00
7f389d2055
Add referral link 2022-12-01 07:47:26 +10:00
0504ad56a3
Fix link between garage door monitor posts 2022-10-17 16:02:19 +10:00
ae8277de63
Add garage-door-monitor-update post 2022-10-17 15:57:46 +10:00
13a14637e3
Add note to Kobo post that it no longer works 2022-08-22 14:14:08 +10:00
8724d5daa5
Tweak rsspls post 2022-07-24 09:28:41 +10:00
e0bedd3568
Add resuming-read-rust-tweeting 2022-07-11 11:42:52 +10:00
34559284b1
Add rsspls to projects sidebar 2022-07-04 15:14:49 +10:00
03cacc6120
Add Generating RSS Feeds From Web Pages With RSS Please 2022-07-04 14:07:33 +10:00
cb659b6780
Update garage-door-monitor post 2022-04-21 09:08:11 +10:00
229168516a
Add garage-door-monitor post 2022-04-20 06:48:54 +10:00
760f4b20f7
Add Kobo monospace font post 2022-04-10 10:06:32 +10:00
7a607242dd
Link to new Alpine post from old one 2022-02-28 14:56:26 +10:00
19c3abc488
Update Justfile 2022-02-28 14:50:57 +10:00
902b75077e
Add Alpine Linux and Docker Infrastructure Three Years Later 2022-02-28 14:50:24 +10:00
f0eed29ba7
Tweak username post 2022-01-27 21:09:33 +10:00
8fefeafc48
Add usernames post 2022-01-27 20:04:03 +10:00
1d7d18c0ac
Fix post ordering 2022-01-27 20:03:53 +10:00
3bcc719e6a
Update copyright date 2022-01-15 10:56:30 +10:00
e2d787166e
Update Alpine infra post to note move to lego 2022-01-15 10:47:51 +10:00
666a9e1ace
Add some new projects 2021-11-12 08:26:40 +10:00
fc0a8acbbd
make => just 2021-10-27 17:29:15 +10:00
71f4cfad2e
Add Twitter follow button 2021-10-15 09:07:14 +10:00
3474c63eec
Add RustConf 2021 post 2021-10-09 08:57:04 +10:00
ae11983d44
Fix typo in slowing-read-rust-posting.md 2021-10-01 10:46:19 +10:00
8bd50ce5af
Fix some typos in turning-one-hundred-tweets-into-a-blog-post.md 2021-10-01 09:20:30 +10:00
0d3db0c69d
Make 2021 posts come first on home page 2021-08-26 19:38:41 +10:00
b86b79c000
Format nitter post 2021-08-26 19:24:02 +10:00
0f85f2165f
Add --delete to deployment rsync 2021-08-26 19:23:18 +10:00
dbcea56dd4
Add section index for 2021 2021-08-26 09:12:13 +10:00
c0f032325c
Compatibility with newer Zola 2021-08-26 09:11:44 +10:00
8a129c1b36
Add nitter-bandwidth post 2021-08-26 09:11:44 +10:00
9a365c6716
Update amdgpu pixel format post 2021-05-15 10:23:05 +10:00
972ea340fc
Order project alphabetically and add maintenance note to Read Rust 2021-05-14 11:16:06 +10:00
27f58173d2
Fix leaf link on homepage 2021-05-14 11:08:42 +10:00
94171be290
Update projects and about info 2021-01-04 07:37:22 +10:00
4f04936330
Link to making-of post from one hundred Rust binaries post 2020-11-05 08:27:48 +11:00
8acfbbcba6
Add turning-one-hundred-tweets-into-a-blog-post post 2020-11-03 11:41:30 +11:00
59c8c21b14
Make the 100 binaries posts not in the future 2020-11-02 13:48:27 +11:00
4eefa4ff7d
Add excerpt to 100 binaries post 2020-11-02 13:46:39 +11:00
d1c8f9e9a4
Merge pull request #5 from wezm/100-binaries
100 binaries summary post
2020-11-02 13:44:41 +11:00
f0e3db2e68
Add terminal info to 100 binaries post 2020-11-02 13:35:47 +11:00
746c6f2c63
Add alt text to 100 binaries screenshots 2020-11-02 13:34:33 +11:00
d5c8f664b9
Wrap up 100 binaries pages 2020-11-02 12:47:56 +11:00
7890c07140
Add last tweet to 100 binaries JSON 2020-11-02 12:47:56 +11:00
6d9173ab07
Remove pic.twitter.com links from 100 binaries JSON 2020-11-02 12:47:55 +11:00
2e45666552
Add media info to 100 binaries JSON 2020-11-02 12:47:55 +11:00
aff5c4c939
Expand t.co links in 100 binaries JSON 2020-11-02 12:47:47 +11:00
d3e6114ed1
Add initial 100 binaries page 2020-11-02 12:47:47 +11:00
a17d8bc9fa
Add OpenGraph and Twitter metadata to posts 2020-09-14 10:53:19 +10:00
a05086f29e
Update config for newer Zola 2020-09-07 10:48:16 +10:00
1c4a9bfd70
Add slowing-read-rust-posting 2020-09-07 10:19:22 +10:00
e0cfe47ed4
Not using Patreon anymore 2020-06-24 07:41:02 +10:00
9ec0d2e00b
Fix typo 2020-06-19 18:20:35 +10:00
35f7d3568f
Add github-emoji-linux post 2020-06-19 18:10:50 +10:00
b7208e08d1
Add cairo bounty 2020-06-19 09:44:30 +10:00
739c7cb2ba
Credit original source of EDID hack 2020-06-02 08:16:33 +10:00
09138c0889
Fix typos 2020-05-30 11:21:38 +10:00
10e0390a94
YCbCr 2020-05-30 10:09:00 +10:00
cfdd67ec5b
Add more marker 2020-05-30 10:03:06 +10:00
55f4a110a8
Add linux-amdgpu-pixel-format 2020-05-30 10:02:23 +10:00
91370548ef
Small tweaks to bounties post 2020-05-30 08:46:30 +10:00
06d887c085
Add keep in touch footer to posts 2020-05-22 21:57:17 +10:00
5c45bdd5f8
Add bounties page 2020-05-22 21:57:10 +10:00
4a69b79d60
Small about page tweaks 2020-05-10 11:06:34 +10:00
8115919aa9
Add note about zenith supporting ZFS pools now 2020-03-27 21:55:46 +11:00
20e7c4e666
Don't use resize_image on the in top post
The resized version is bigger then the original.
2020-03-23 09:12:06 +11:00
3b6941f5e9
Use page.permalink in page/post H1 2020-03-22 14:03:10 +11:00
ea2015c1f1
Change screenshots to indexed PNGs to make them smaller 2020-03-22 14:02:44 +11:00
0abf63917b
Fix typo 2020-03-22 14:02:25 +11:00
865604126e
Add top alternatives post 2020-03-21 14:51:11 +11:00
df8557ddf6
Add missing word 2020-02-07 15:48:56 +11:00
e2763c3caf
Add note to cross-compile-freebsd-rust-binary-with-docker 2020-02-02 09:01:03 +11:00
b6e7772471
Use new GoatCounter site code/sub-domain 2020-01-31 10:07:58 +11:00
472fef1823
Make v1 banner less intrusive (only show on some pages) 2020-01-31 08:09:05 +11:00
9ab8e66a0e
Update GoatCounter script 2020-01-31 07:42:11 +11:00
145777deae
Build before deploy 2020-01-29 22:00:52 +11:00
ef29b23609
Replace photo on About page with me in a warm place 2020-01-29 21:59:48 +11:00
8c9b242562
Add banner to v1 pointing at v2 2020-01-29 20:51:52 +11:00
909bfb61ba
Less echo in Makefile 2020-01-29 20:34:38 +11:00
0e50bc2618
Add pointer to old posts on v2 archives page 2020-01-29 20:27:11 +11:00
3d51494c68
Replace testing domain in config.yaml 2020-01-29 20:26:54 +11:00
368f893fe2
Add Makefile for deployment 2020-01-29 20:26:39 +11:00
b67809803b Tweaks to config and new design post 2020-01-29 09:04:25 +11:00
3902ccc818 Tweak homepage copy and h2 positioning 2020-01-29 09:04:25 +11:00
4ba1b2a048 Initial v2 commit 2020-01-29 09:04:25 +11:00
82cec59118 Move existing site to v1 directory 2020-01-29 09:04:25 +11:00
1bbbf68e0f
Add software-contributions-2019 2020-01-26 13:33:14 +11:00
c0e0615336
bb isn't Linux specific apparently 2019-11-01 08:01:06 +11:00
8a97b2fba4
Add bb 2019-10-31 21:04:42 +11:00
7cde30eaa0
Fix pass link 2019-10-28 21:48:29 +11:00
be26a34d0a
Add changelog to cli post 2019-10-28 09:23:25 +11:00
6b607899f0
Add hyperfine 2019-10-28 09:19:55 +11:00
389b2b072b
Link to vim alt config 2019-10-27 17:10:57 +11:00
68cad8ab17
Fix some small typos 2019-10-27 14:46:44 +11:00
a845f22988
jq is written in C 2019-10-27 09:18:36 +11:00
c1086c5020
Add useful-command-line-tools 2019-10-26 14:15:56 +11:00
c74b1c585e
Remove most SymbolMate and Binary Trance links 2019-10-05 14:13:14 +10:00
e51951d1dc
Add Fediverse to Mastodon link 2019-10-05 14:12:51 +10:00
832fb6f0da
Update Mastodon references 2019-09-05 20:21:57 +10:00
3dfe710afa
Add GoatCounter 2019-08-17 08:47:19 +10:00
46b38d2e57
Fix typo in URL 2019-07-15 09:24:32 +10:00
eea6de609b
Add Desktop Institute to projects list 2019-07-15 09:22:00 +10:00
e60a74e2a7
Update Mastodon link in footer 2019-06-23 08:47:30 +10:00
69a72367b8
Add action-button to CSS 2019-06-01 09:34:09 +10:00
71cd12f6a8
Add lobsters post 2019-04-25 16:13:36 +10:00
154e83459d
Add update about cross to freebsd-docker 2019-03-30 10:03:23 +11:00
cea5c57ef0
Add Lobsters discussion link to professional-rust post 2019-03-25 17:01:19 +11:00
115709f379
Add cross-compile-freebsd-rust-binary-with-docker 2019-03-25 16:20:57 +11:00
97df303218
Fix Sourcehut link on about page 2019-03-25 08:29:58 +11:00
04ba9f0c79
Fix things identified by Di 2019-03-24 17:30:42 +11:00
2b672eece1
Ignore generated rouge CSS file 2019-03-24 13:09:52 +11:00
ac9650d7cc
Add first-3-weeks-of-professional-rust post 2019-03-24 13:08:28 +11:00
7cc2622fbe
Add crate info to coding retreat post 2019-03-23 13:17:47 +11:00
46798fbf65
Add Sourcehut to About and add post nav to coding retreat post 2019-03-13 20:48:57 +11:00
8df754b720
Add coding retreat post 2019-03-13 20:43:15 +11:00
15b1bc8c93
Update docker post with custom base image info 2019-03-02 15:47:45 +11:00
c39af6ccc0
Add locations to old servers 2019-03-01 10:07:44 +11:00
125ba9f211
Fix typo 2019-03-01 07:56:15 +11:00
73ff610c09
Tone down the disclaimer 2019-03-01 02:02:55 +11:00
a27850e32d
Tweak rsync flags 2019-02-28 18:19:03 +11:00
cd37a544b8
Add alpine-linux-docker-infrastructure 2019-02-28 18:09:53 +11:00
5d02e6572d
Deploy to new server 2019-02-28 09:43:11 +11:00
c48d6b6076
Add Dockerfile 2019-02-11 11:46:44 +11:00
f0dfb1c0c4
Fix some typos and grammar in linux-conf-au-rust-epaper-badge 2019-01-28 20:08:56 +11:00
d82a2da7ac
Fix 'e' in e-Paper 2019-01-27 14:02:03 +11:00
0ef5f3d8b5
Fix grammar and typos in old iPhone 3G post 2019-01-27 13:58:58 +11:00
a12f0395d0
Finish lca2019 post 2019-01-27 11:30:28 +11:00
20c7413375
Add linux-conf-au-rust-epaper-badge 2019-01-27 11:30:27 +11:00
acb04ed675
Add Rust 2019 post 2019-01-27 08:35:59 +11:00
d3c8391693
Add social links to footer 2018-10-31 19:39:16 +11:00
200f4df7be
Fix typo in title 2018-08-19 20:29:15 +10:00
080f48e2ae
Change slug of anatomy of Rust blog post 2018-08-19 14:46:53 +10:00
2764237730
Finish anatomy-of-a-great-rust-blog-post 2018-08-19 14:43:16 +10:00
8c2f3e9487
WIP: Writing a Great Rust Blog Post 2018-08-19 09:18:42 +10:00
0dcb34a4d6
Small design and layout tweaks 2018-08-19 09:18:26 +10:00
7659eeb4f1
Add Rouge 2018-08-19 09:17:59 +10:00
cac44fba1e
Upgrade to nanoc 4 2018-08-18 17:49:02 +10:00
1029 changed files with 11248 additions and 306 deletions

View file

@ -1 +0,0 @@
2.4.1

View file

@ -1,111 +0,0 @@
GEM
remote: https://rubygems.org/
specs:
adsf (1.4.0)
rack (>= 1.0.0, < 3.0.0)
bitly (1.1.0)
httparty (>= 0.7.6)
multi_json (~> 1.3)
oauth2 (>= 0.5.0, < 2.0)
builder (3.2.3)
coderay (1.1.2)
colored (1.2)
cri (2.9.1)
colored (~> 1.2)
faraday (0.12.2)
multipart-post (>= 1.2, < 3)
ffi (1.9.18)
formatador (0.2.5)
fssm (0.2.10)
guard (2.14.1)
formatador (>= 0.2.4)
listen (>= 2.7, < 4.0)
lumberjack (~> 1.0)
nenv (~> 0.1)
notiffany (~> 0.0)
pry (>= 0.9.12)
shellany (~> 0.0)
thor (>= 0.18.1)
guard-nanoc (1.0.3)
guard (~> 2.8)
nanoc (~> 3.6)
haml (5.0.3)
temple (>= 0.8.0)
tilt
httparty (0.15.6)
multi_xml (>= 0.5.2)
jwt (1.5.6)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
lumberjack (1.0.12)
method_source (0.9.0)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_portile2 (2.3.0)
multi_json (1.12.2)
multi_xml (0.6.0)
multipart-post (2.0.0)
nanoc (3.8.0)
cri (~> 2.3)
nenv (0.3.0)
nokogiri (1.8.1)
mini_portile2 (~> 2.3.0)
notiffany (0.1.1)
nenv (~> 0.1)
shellany (~> 0.0)
oauth2 (1.4.0)
faraday (>= 0.8, < 0.13)
jwt (~> 1.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (>= 1.2, < 3)
pry (0.11.1)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
rack (2.0.3)
rake (12.1.0)
rb-fsevent (0.10.2)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rb-kqueue (0.2.5)
ffi (>= 0.5.0)
rdiscount (2.2.0.1)
ruby_dep (1.5.0)
rubypants (0.6.0)
sass (3.5.1)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
shellany (0.0.1)
systemu (2.6.5)
temple (0.8.0)
thor (0.20.0)
tilt (2.0.8)
PLATFORMS
ruby
DEPENDENCIES
adsf
bitly
builder
fssm
guard-nanoc
haml
listen
mime-types
nanoc (~> 3.0)
nokogiri
rake
rb-kqueue (>= 0.2)
rdiscount
rubypants
sass
systemu
BUNDLED WITH
1.16.0

23
README.md Normal file
View file

@ -0,0 +1,23 @@
wezm.net
========
My website. Corrections for typos and other minor errors welcome via issue or
pull request.
v2
--
This is the current version of the website, built with [Zola].
v1
--
This is the original version of the website containing posts from 20082019. It
is built with [Nanoc].
---
Copyright © 2003 2022 Wesley Moore. All rights reserved
[Nanoc]: https://nanoc.ws/
[Zola]: https://www.getzola.org/

View file

@ -1,12 +0,0 @@
WezM.net
========
Site Structure
--------------
/articles
/technical
/category
/personal
/category
/about

View file

@ -1 +0,0 @@
require 'nanoc3/tasks'

27
TODO
View file

@ -1,27 +0,0 @@
Now
---
* Setup monothumb on server
* Exclude photo and photos.xml from deploy:rsync
Deployment
----------
* Move Wordpress to old. and add robots.txt
Later
-----
* Add monothumb to GitHub
* Revise About page content
* Get proper lens specs for About page
* Fully convert to HTML5
* Microdata on About/Contact pages
* Add favicon
* Add weights to sitemap
Future
------
* Make it possible to purchase the HTML
* Make a Wordpress theme out of the site

View file

@ -1,3 +0,0 @@
User-Agent: *
Disallow:
Sitemap: <%= @site.config[:base_url] %>/sitemap.xml

View file

@ -1,3 +0,0 @@
<footer>
<span class="copyright">Copyright &copy; 2004 &ndash; <%= Date.today.year %> Wesley Moore</span>
</footer>

View file

@ -1,24 +0,0 @@
<% post_date = WezM::Helpers.parse_post_date(@item) %>
<% short = @item[:short_url] %>
<div class="published">
Published on
<abbr class="calender date" title="<%= post_date.iso8601 %>">
<span class="weekday"><%= post_date.strftime('%a') %></span>,
<span class="day"><%= post_date.day %></span>
<span class="month"><%= post_date.strftime('%B') %></span>
<span class="year"><%= post_date.year %></span>
</abbr>
</div>
<%= yield %>
<div id="respond">
<h2>
<img src="/images/comment.svg" width="32" height="32" alt="Comment icon" class="comment align-top" />
Stay in touch!
</h2>
<p>Follow me on <a href="https://twitter.com/wezm">Twitter</a>, or <a href="https://mastodon.social/@wezm">Mastodon</a>, <a href="/feed/">subscribe to the feed</a>, or <a href="mailto:wes@wezm.net">send me an email</a>.
</p>
<div class="text-right">
<span class="short">Short URL: <a href="<%= short %>"><%= short %></a></span>
</div>
</div>

View file

@ -1,10 +0,0 @@
# All files in the 'lib' directory will be loaded
# before nanoc starts compiling.
require 'json'
include Nanoc3::Helpers::Rendering
include Nanoc3::Helpers::Blogging
include Nanoc3::Helpers::XMLSitemap
include Nanoc3::Helpers::HTMLEscape
include WezM::Helpers::Articles

View file

@ -3,6 +3,7 @@ output/fonts/*
output/about/
output/articles/
output/css/screen.css
output/css/rouge.css
output/feed/
output/index.html
output/personal/

1
v1/.ruby-version Normal file
View file

@ -0,0 +1 @@
2.7.5

38
v1/Dockerfile Normal file
View file

@ -0,0 +1,38 @@
FROM alpine:3.9 AS build
ARG WEZMUID=2000
ARG WEZMGID=2000
ARG USER=wezm
RUN apk --update add --no-cache ruby-dev ruby-bundler ruby-bigdecimal ruby-json build-base zlib-dev \
&& addgroup -g ${WEZMGID} ${USER} \
&& adduser -D -u ${WEZMUID} -G ${USER} -h /home/${USER} -D ${USER}
RUN mkdir /usr/share/www && chown wezm:wezm /usr/share/www
WORKDIR /usr/share/www
USER wezm
COPY --chown=wezm:wezm Gemfile .
COPY --chown=wezm:wezm Gemfile.lock .
RUN bundle install -j 4 --deployment --without 'test development'
COPY --chown=wezm:wezm . .
RUN bundle exec nanoc co
FROM 791569612186.dkr.ecr.ap-southeast-2.amazonaws.com/nginx
ARG WEZMUID=2000
ARG WEZMGID=2000
ARG USER=wezm
RUN addgroup -g ${WEZMGID} ${USER} \
&& adduser -D -u ${WEZMUID} -G ${USER} -h /home/${USER} -D ${USER}
COPY --from=build --chown=wezm:wezm /usr/share/www/output /usr/share/www
EXPOSE 80

View file

@ -4,7 +4,7 @@ source 'https://rubygems.org'
gem 'rake'
gem 'mime-types'
gem 'nanoc', '~> 3.0'
gem 'nanoc', '~> 4.0'
gem 'bitly'
gem 'haml'
gem 'sass'
@ -15,9 +15,12 @@ gem 'builder'
gem 'fssm'
gem 'systemu'
gem 'listen'
gem 'guard-nanoc'
gem 'adsf'
gem 'rouge'
if RbConfig::CONFIG['target_os'] =~ /(?i-mx:bsd|dragonfly)/
gem 'rb-kqueue', '>= 0.2'
group :development do
gem 'guard-nanoc'
if RbConfig::CONFIG['target_os'] =~ /(?i-mx:bsd|dragonfly)/
gem 'rb-kqueue', '>= 0.2'
end
end

139
v1/Gemfile.lock Normal file
View file

@ -0,0 +1,139 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.6.0)
public_suffix (>= 2.0.2, < 4.0)
adsf (1.4.1)
rack (>= 1.0.0, < 3.0.0)
bitly (1.1.2)
httparty (>= 0.7.6)
multi_json (~> 1.3)
oauth2 (>= 0.5.0, < 2.0)
builder (3.2.3)
coderay (1.1.2)
colored (1.2)
concurrent-ruby (1.1.4)
cri (2.15.3)
colored (~> 1.2)
ddmemoize (1.0.0)
ddmetrics (~> 1.0)
ref (~> 2.0)
ddmetrics (1.0.1)
ddplugin (1.0.2)
faraday (0.15.4)
multipart-post (>= 1.2, < 3)
ffi (1.10.0)
formatador (0.2.5)
fssm (0.2.10)
guard (2.15.0)
formatador (>= 0.2.4)
listen (>= 2.7, < 4.0)
lumberjack (>= 1.0.12, < 2.0)
nenv (~> 0.1)
notiffany (~> 0.0)
pry (>= 0.9.12)
shellany (~> 0.0)
thor (>= 0.18.1)
guard-compat (1.2.1)
guard-nanoc (2.1.4)
guard (~> 2.8)
guard-compat (~> 1.0)
nanoc (>= 4.3.8, < 5.0)
haml (5.0.4)
temple (>= 0.8.0)
tilt
hamster (3.0.0)
concurrent-ruby (~> 1.0)
httparty (0.16.3)
mime-types (~> 3.0)
multi_xml (>= 0.5.2)
json_schema (0.20.1)
jwt (2.1.0)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
lumberjack (1.0.13)
method_source (0.9.2)
mime-types (3.2.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2018.0812)
mini_portile2 (2.4.0)
multi_json (1.13.1)
multi_xml (0.6.0)
multipart-post (2.0.0)
nanoc (4.11.0)
addressable (~> 2.5)
cri (~> 2.15)
ddmemoize (~> 1.0)
ddmetrics (~> 1.0)
ddplugin (~> 1.0)
hamster (~> 3.0)
json_schema (~> 0.19)
parallel (~> 1.12)
ref (~> 2.0)
slow_enumerator_tools (~> 1.0)
tomlrb (~> 1.2)
nenv (0.3.0)
nokogiri (1.10.1)
mini_portile2 (~> 2.4.0)
notiffany (0.1.1)
nenv (~> 0.1)
shellany (~> 0.0)
oauth2 (1.4.1)
faraday (>= 0.8, < 0.16.0)
jwt (>= 1.0, < 3.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (>= 1.2, < 3)
parallel (1.13.0)
pry (0.12.2)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
public_suffix (3.0.3)
rack (2.0.6)
rake (12.3.2)
rb-fsevent (0.10.3)
rb-inotify (0.10.0)
ffi (~> 1.0)
rdiscount (2.2.0.1)
ref (2.0.0)
rouge (3.3.0)
ruby_dep (1.5.0)
rubypants (0.7.0)
sass (3.7.3)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
shellany (0.0.1)
slow_enumerator_tools (1.1.0)
systemu (2.6.5)
temple (0.8.0)
thor (0.20.3)
tilt (2.0.9)
tomlrb (1.2.8)
PLATFORMS
ruby
DEPENDENCIES
adsf
bitly
builder
fssm
guard-nanoc
haml
listen
mime-types
nanoc (~> 4.0)
nokogiri
rake
rdiscount
rouge
rubypants
sass
systemu
BUNDLED WITH
1.17.2

36
v1/README.mkdn Normal file
View file

@ -0,0 +1,36 @@
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
-----
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`

1
v1/Rakefile Normal file
View file

@ -0,0 +1 @@
require 'nanoc/tasks'

View file

@ -21,6 +21,7 @@ compile %r(/\d{4}/.*) do
layout 'article'
layout 'default'
filter :rubypants
filter :colorize_syntax, default_colorizer: :rouge
end
compile %r(/about/.*) do
@ -41,8 +42,13 @@ compile %r{^/(?:screen|mobile)/$} do
filter :sass
end
compile %r{/rouge/$} do
filter :erb
end
compile '*' do
filter :rdiscount
layout 'page'
layout 'default'
filter :rubypants
end
@ -64,7 +70,7 @@ end
# (path.dirname + 'articles.json').to_s
# end
route %r{^/(?:screen|mobile)/$} do
route %r{^/(?:screen|mobile|rouge)/$} do
File.join("", "css", File.basename(item.identifier) + ".css")
end

View file

@ -24,11 +24,13 @@ enable_output_diff: false
# hashes; each array element represents a single data source. By default,
# there is only a single data source that reads data from the “content/” and
# “layout/” directories in the site directory.
string_pattern_type: legacy
data_sources:
-
# The type is the identifier of the data source. By default, this will be
# `filesystem_unified`.
type: filesystem_unified
identifier_type: legacy
# The path where items should be mounted (comparable to mount points in
# Unix-like systems). This is “/” by default, meaning that items will have
@ -41,11 +43,11 @@ data_sources:
# same as the items root, but applies to layouts rather than items.
layouts_root: /
base_url: 'http://www.wezm.net'
base_url: 'https://www.wezm.net'
deploy:
default:
kind: rsync
dst: "eforce.binarytrance.com:/usr/local/www/www.wezm.net"
dst: "hardforze.binarytrance.com:infrastructure/volumes/www/wezm.net"
#options: [ '-rlpgoDvz', '--delete', '--exclude=".svn"' ]
options: [ '-avz', '--omit-dir-times', '--delete', '--exclude=".svn"' ]
options: [ '-avz' ]

View file

@ -18,13 +18,12 @@ Find me on the Internet in one of these places:
<ul>
<li>Email <a href="mailto:wes@wezm.net">wes@wezm.net</a></li>
<li><a href="https://binarytrance.com/">Binary Trance Software</a> My app development company</li>
<li><a href="http://bitcannon.net/">Bit Cannon</a> My other blog</li>
<li><a href="http://readrust.net/">Read Rust</a>
Aggregator of content related to the <a href="https://www.rust-lang.org/">Rust</a> programming language</li>
<li><a href="http://readrust.net/">Read Rust</a>
Aggregator of content related to the <a href="https://www.rust-lang.org/">Rust</a> programming language</li>
<li><a href="http://www.flickr.com/photos/wezm/">Flickr</a></li>
<li><a href="https://github.com/wezm">GitHub</a></li>
<li><a href="https://mastodon.social/@wezm">Mastodon</a></li>
<li><a href="https://mastodon.decentralised.social/@wezm">Mastodon/Fediverse</a></li>
<li><a href="https://patreon.com/wezm">Patreon</a></li>
<li><a href="http://stackoverflow.com/users/38820/wes">Stack Overflow</a></li>
<li><a href="https://twitter.com/wezm">Twitter</a></li>

View file

@ -6,26 +6,26 @@ A friend asked the following today, the reply was big enough I decided to post i
>
> Has it changed your life? Has the battery life been crappy for you? Talk time OK?
Its definitely the best phone I've had. Part of that is due to the tight integration with Mac OS X, which obviously very few companies were going to pull off. As a device its brilliant to use and full of functionality. I'm loving the apps and decent browser. The WiFi is really nice at home. The iPod part obviously works as well and better than any prior iPod.
Its definitely the best phone I've had. Part of that is due to the tight integration with Mac OS X, which obviously very few companies were going to pull off. As a device it's brilliant to use and full of functionality. I'm loving the apps and decent browser. The WiFi is really nice at home. The iPod part obviously works as well and better than any prior iPod.
The on screen keyboard is pretty much as described. You have to give it time to get the hang of it and you have to trust it. If you're typing a word that would be in the English dictionary you're best to keep on typing even if the word is way off. By the time you get to pressing space its usually selected the right word, which is selected automatically upon space. Two irritations with typing though. Its less likely to get shorter word right, particularly when there's multiple valid options. There's no way that I'm aware of to get a list of possibilities and choose the one you want. Of course being a small word means its not hard to fix and if you type it correctly in the first place then it isn't a problem at all. The other minor annoyance is when you get to the last word in a sentence that is mis-typed with a correct suggestion it appears the only way to accept it is to press space (and then delete the space) or grab a full stop.
The on screen keyboard is pretty much as described. You have to give it time to get the hang of it and you have to trust it. If you're typing a word that would be in the English dictionary you're best to keep on typing even if the word is way off. By the time you get to pressing space it's usually selected the right word, which is selected automatically upon space. Two irritations with typing though. Its less likely to get shorter word right, particularly when there's multiple valid options. There's no way that I'm aware of to get a list of possibilities and choose the one you want. Of course being a small word means it's not hard to fix and if you type it correctly in the first place then it isn't a problem at all. The other minor annoyance is when you get to the last word in a sentence that is mis-typed with a correct suggestion it appears the only way to accept it is to press space (and then delete the space) or grab a full stop.
<!--more-->
<a href="/images/2008/07/img_0012.png" class="alignright"><img src="/images/2008/07/img_0012-200x300.png" alt="Byline" title="img_0012" width="200" height="300" class="alignnone size-medium wp-image-48" /></a>I haven't missed MMS at all, especially with a decent email client built in that can talk to Gmail via IMAP and send photos to flickr that way.
<a href="/images/2008/07/img_0012.png" class="alignright"><img src="/images/2008/07/img_0012-200x300.png" alt="Byline" title="img_0012" width="200" height="300" class="alignnone size-medium wp-image-48" /></a>I haven't missed MMS at all, especially with a decent email client built in that can talk to Gmail via IMAP and send photos to Flickr that way.
I have missed Todo functionality. I have no idea why Apple have not got this syncing. The support is there in iSync and todos sync with my old phone (Nokia 6280) just fine. I'm hoping that its one of these things that will make it eventually. There's two reasons I miss todo, one to track things to be done, the other is for reminders for things that don't have a duration (which can be put in as calendar entries). There is no way to do reminders without a duration at the moment. Having said that the calendar functionality is comprehensive. It supports multiple calendars, full editing, meeting acceptance and basically anything you can do on the desktop.
I have missed Todo functionality. I have no idea why Apple have not got this syncing. The support is there in iSync and todos sync with my old phone (Nokia 6280) just fine. I'm hoping that it's one of these things that will make it eventually. There's two reasons I miss todo, one to track things to be done, the other is for reminders for things that don't have a duration (which can be put in as calendar entries). There is no way to do reminders without a duration at the moment. Having said that the calendar functionality is comprehensive. It supports multiple calendars, full editing, meeting acceptance and basically anything you can do on the desktop.
<a href="/images/2008/07/img_0019.png" class="alignleft clear"><img src="/images/2008/07/img_0019-200x300.png" alt="Twinkle" title="img_0019" width="200" height="300" class="alignnone size-medium wp-image-55" /></a>Another annoyance surrounds SMS. When on silent you only get a single vibration on new message, which is easily missed. My old phone did three, which was better. Also when you get an SMS my old phone would show an envelope on the black and white standby screen. With the iPhone you have to wake it up to see if you've got a message after the display goes back off.
The AppStore is great, some of the apps are very well done. I'm really liking <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284946773&mt=8">Byline</a>, <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284967867&mt=8">Twinkle</a>, <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284919489&mt=8">Exposure</a> and <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284825922&mt=8">MoPhoTo</a>. I'm not much of a Facebook user but the <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284882215&mt=8">Facebook app</a> is very well done. It just the core parts of Facebook without all the crap. Of those five, three are free, one is free by ad-supported (with a pay for version available) and the other AU$12.99. I think that's a pretty good spread for some top quality apps. Some screenshots of these apps are scattered below.
The AppStore is great, some of the apps are very well done. I'm really liking <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284946773&mt=8">Byline</a>, <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284967867&mt=8">Twinkle</a>, <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284919489&mt=8">Exposure</a> and <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284825922&mt=8">MoPhoTo</a>. I'm not much of a Facebook user but the <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284882215&mt=8">Facebook app</a> is very well done. It's just the core parts of Facebook without all the crap. Of those five, three are free, one is free by ad-supported (with a pay for version available) and the other AU$12.99. I think that's a pretty good spread for some top quality apps. Some screenshots of these apps are scattered below.
<a href="/images/2008/07/img_0016.png" class="alignright clear"><img src="/images/2008/07/img_0016-200x300.png" alt="Exposure" title="img_0016" width="200" height="300" class="alignnone size-medium wp-image-52" /></a>Battery life is nothing brilliant as has been reported elsewhere. You'd probably want to change it every day. Today I watched a video podcast on the way to work, send a couple of SMSs during the day, added a calendar event, got a call from Steve, called the dentist, listened to music, read in Google Reader via the Byline app, read and updated Twitter via the Twinkle app and used the timer to cook dinner and its showing half battery. It was off the changer all last night too.
<a href="/images/2008/07/img_0016.png" class="alignright clear"><img src="/images/2008/07/img_0016-200x300.png" alt="Exposure" title="img_0016" width="200" height="300" class="alignnone size-medium wp-image-52" /></a>Battery life is nothing brilliant as has been reported elsewhere. You'd probably want to change it every day. Today I watched a video podcast on the way to work, send a couple of SMSs during the day, added a calendar event, got a call from Steve, called the dentist, listened to music, read in Google Reader via the Byline app, read and updated Twitter via the Twinkle app and used the timer to cook dinner and it's showing half battery. It was off the changer all last night too.
A complaint of the old one was that the ringer and message volume was very low and easily missed. I've it plenty loud enough and its only on about three quarters. Speaking on the phone the volume is good, although I haven't tried extreme environments like a club.
A complaint of the old one was that the ringer and message volume was very low and easily missed. I've it plenty loud enough and it's only on about three quarters. Speaking on the phone the volume is good, although I haven't tried extreme environments like a club.
One of the best built-in apps on the whole phone is maps. Whenever you want to find something, or get the details for a business, get directions, just bring up Maps and it will sort it out. Its as good as, if not better than Google Maps on the desktop. It has the same three views too: Maps, Satellite and Hybrid. The location awareness is great and there's some basic uses of it in the apps so far, hopefully more creative uses come out. One interesting one is an app called Exposure that is a flickr client with a 'near me' function. It shows photos near your current location. Doing so at home brings ups photos of St Kilda Rd, the fountain in the gardens out the front (Pictured above).
One of the best built-in apps on the whole phone is maps. Whenever you want to find something, or get the details for a business, get directions, just bring up Maps and it will sort it out. Its as good as, if not better than Google Maps on the desktop. It has the same three views too: Maps, Satellite and Hybrid. The location awareness is great and there's some basic uses of it in the apps so far, hopefully more creative uses come out. One interesting one is an app called Exposure that is a Flickr client with a 'near me' function. It shows photos near your current location. Doing so at home brings ups photos of St Kilda Rd, the fountain in the gardens out the front (Pictured above).
Maybe I'm easily sold on such things but the UI is truly beautiful and being solely finger driven is revolutionarily (on a phone). I'm a happy customer.
Maybe I'm easily sold on such things but the UI is truly beautiful and being solely finger driven is revolutionary (on a phone). I'm a happy customer.
<a href="/images/2008/07/img_0017.png" class="alignleft clear"><img src="/images/2008/07/img_0017-200x300.png" alt="Facebook" title="img_0017" width="200" height="300" class="alignnone size-medium wp-image-53" /></a><a href="/images/2008/07/img_0018.png" class="alignright"><img src="/images/2008/07/img_0018-200x300.png" alt="MoPhoTo" title="img_0018" width="200" height="300" class="alignnone size-medium wp-image-54" /></a>
<div style="clear: both;">&nbsp;</div>
<div style="clear: both;">&nbsp;</div>

View file

@ -1,50 +1,37 @@
Binary Trance Software
----------------------
Through my app development company [Binary Trance Software][bt] I've
built the following apps:
* [SymbolMate][symbolmate] -- Quickly find and copy symbols and Emoji
[bt]: https://binarytrance.com/
[symbolmate]: https://binarytrance.com/apps/symbolmate
Websites
--------
A couple of other websites I maintain are:
Other websites I maintain are:
* [Read Rust][readrust] -- an aggregator of news about the [Rust programming
language][Rust].
* [Bit Cannon][bitcannon] -- a new blog that I designed and built with
[Hugo][hugo] as a bit of an experiment, the exact nature of which is still
* [Desktop Institute][desktop-institute] -- Documenting the search for a
desktop environment that combines the, "it just works", nature of [GNOME] with
the window management of [Awesome].
* [Bit Cannon][bitcannon] -- a blog that I designed and built with
[Hugo] as a bit of an experiment, the exact nature of which is still
evolving.
* [Linked List][linkedlist] -- "a semi-organized collection of knowledge
that I have accumulated.", created as a reference for myself but also published
publically in the hope it may be useful to others as well. The code ([pkb])
publicly in the hope it may be useful to others as well. The code ([pkb])
is open source.
[Awesome]: https://awesomewm.org/
[bitcannon]: https://bitcannon.net/
[desktop-institute]: https://desktop.institute/
[GNOME]: https://www.gnome.org/
[Hugo]: https://gohugo.io/
[readrust]: https://readrust.net/
[Rust]: https://www.rust-lang.org/
[bitcannon]: http://bitcannon.net/
[hugo]: http://gohugo.io/
BSD CI
------
[BSD CI] (currently in development) aims to provide a simple way for software
projects to build and test on [BSD operating systems][run-bsd].
[BSD CI]: http://bsd-ci.com/
[run-bsd]: http://runbsd.info/
Open Source Projects
--------------------
I have a collection of open-source software on [GitHub][github]. Some of the
I have a collection of open-source software on [GitHub] and [Sourcehut]. Some of the
more noteworthy projects are listed below.
[github]: http://github.com/wezm
[GitHub]: https://github.com/wezm
[Sourcehut]: https://git.sr.ht/~wezm/
### Read Rust
@ -62,7 +49,7 @@ to quickly publish snippets of knowledge. It powers
[linkedlist.org][linkedlist], which is my instance of pkb.
[pkb]: https://github.com/wezm/pkb
[Rails]: http://rubyonrails.org/
[Rails]: https://rubyonrails.org/
[linkedlist]: https://linkedlist.org/
### titlecase
@ -86,17 +73,6 @@ Compiler][ragel] in the hope that it will help ensure fast and correct parsing.
[mustache]: http://mustache.github.com/
[ragel]: http://www.complang.org/ragel/
### node-genx
[node-genx] is a [node.js][node] binding to the [Genx][genx] XML generation
library. It allows fast and correct XML generation from the Javascript based
node.js environment. Available for easy install via [npm].
[node-genx]: https://github.com/wezm/node-genx
[node]: http://nodejs.org/
[genx]: http://www.tbray.org/ongoing/When/200x/2004/02/20/GenxStatus
[npm]: http://npmjs.org/
### Weather Station
I previously had a weather station at my home for keeping track of the local
@ -118,3 +94,10 @@ See the following posts for more information on the weather station:
* [Weather Station Install](/personal/2010/09/weather-station/)
* [Weather Station Software Update](/technical/2010/09/weather-station-software/)
Old Apps
--------
* [SymbolMate][symbolmate] -- Quickly find and copy symbols and Emoji
[symbolmate]: https://binarytrance.com/apps/symbolmate

4
v1/content/robots.txt Normal file
View file

@ -0,0 +1,4 @@
User-Agent: *
Disallow:
Sitemap: <%= @config[:base_url] %>/sitemap.xml
Sitemap: <%= @config[:base_url] %>/v2/sitemap.xml

6
v1/content/rouge.css.erb Normal file
View file

@ -0,0 +1,6 @@
<%= Rouge::Themes::Base16::Solarized.render(scope: 'pre') %>
pre {
padding: 0 5px 5px;
border-radius: 3px;
}

View file

@ -1,4 +1,6 @@
$ans-serif: Carlito, Calibri, sans-serif
$header-colour: #242424
$link-color: #36454F
body
font-family: $ans-serif
@ -76,7 +78,7 @@ a
text-decoration: underline
&:link, &:visited
color: #36454F
color: $link-color
h1 a
text-decoration: none
@ -126,6 +128,10 @@ img.cover-photo
display: block
margin: 0 auto
img.lobsters
position: relative
top: 2px
video
max-width: 100%
@ -134,7 +140,7 @@ body > header
font-size: 18px
color: white
padding: 0.5em
background: #1C1C1C
background-color: $header-colour
a
-webkit-transition: border-bottom-color 500ms ease-out
@ -147,16 +153,16 @@ body > header
&:hover
border-bottom-color: rgba(255, 255, 255, 1.0)
span
display: none
#menu
float: right
padding-right: 0.25em
li
font-size: inherit
font-size: 14px
font-weight: bold
text-transform: uppercase
letter-spacing: 0.5px
#content
@ -168,18 +174,62 @@ body > header
footer
color: #999
border-top: 1px solid #999
margin: 20px
margin: 3em 20px 2em
clear: both
.copyright
font-family: $ans-serif
font-size: 14px
padding-top: 1em
margin-top: 1em
display: block
.align-top
vertical-align: top
.with-border
border: 1px solid #D8D8D8
.no-border
border: none
text-decoration: none
.socials
margin-top: 1em
float: right
.social-icon
margin: 0 0.5em
.social-icon-wide
margin: 0 0.6em
.action-button
background-color: $link-color
border-radius: 0.25em
border: 2px solid $link-color
color: white
display: inline-block
font-size: 12px
font-weight: bold
margin: 0.75em 0
padding: 0.5em 1em
text-decoration: none
text-transform: uppercase
.action-button-ghost
background-color: initial
color: $link-color
.action-button-ghost:hover
background-color: $link-color
color: white
.archive-banner
padding: 0.5em 0.5em
background-color: #fffff1
font-weight: 400
border-bottom: 1px solid #eae4b9
font-size: smaller
.home
h1 > a:first-child
@ -198,6 +248,10 @@ footer
max-width: 1200px
min-height: 85vh
.cli-tools
h3
margin-top: 4em
#posts
width: 100%
@ -303,17 +357,12 @@ body.articles #content nav
#respond
margin-top: 10px
padding: 10px
background-color: #ddd
margin: 3em 0
clear: both
h2
margin-top: 0
.short
font-size: smaller
#content
.published
font-family: $ans-serif
@ -439,6 +488,10 @@ table
.text-right
text-align: right
.heading-icon
height: 20px
margin-right: 0.25em
// Weather
body.weather
@ -521,13 +574,10 @@ body.weather
body
font-size: 20px
body > header span
float: right
display: inline
cursor: pointer
body > header
text-align: center
#menu
display: none
float: none
padding: 0.5em 0 0 0
line-height: 2

Some files were not shown because too many files have changed in this diff Show more