aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* theme.css: shrink paragraph spacing in and between footnotesZhiming Wang2015-06-161-0/+4
|
* fix font issues: moving back to Droid Sans Mono for codeZhiming Wang2015-06-164-5/+16
| | | | | | | | | | | | | | | | | I just noticed that code font is crazy without Consolas installed (I recently reinstalled my OS and got rid of Office for Mac 2011 — that's probably why). The line numbers are all off (since the line heights are carefully pre-calculated, and fallback fonts of different leadings won't help). Therefore, I'm moving to the quite nice looking and controllable Droid Sans Mono. Isn't as satisfactory as Consolas on the web, but certainly better than Monaco. Note: I originally copied my list Consolas, Monaco, 'Andale Mono', monospace (I added Courier since I like it a lot as the primitive monospace font) from MDN Wiki, but now it looks like a bad choice when I don't have Consolas any more. By the way, MDN Wiki renders line numbers using JS, so at least they are able to calculate the line heights. I'm serving everything statically, so this is a problem.
* 20150612 The tip of the icebergZhiming Wang2015-06-122-1/+23
|
* 20150610 Chrome disappointment:Zhiming Wang2015-06-103-0/+54
| | | | the shabby and boring old bookmark system from Stone Age strikes back.
* upgrade quality of iconsZhiming Wang2015-06-108-6/+6
| | | | | Also added a 2048x2048 logo for submission to Apple News Publisher (just curious).
* pyblog: CDATA text cannot be reusedZhiming Wang2015-06-101-1/+1
| | | | Each lxml.etree._Element.text needs a new CDATA.
* pyblog: use lxml instead of xmlZhiming Wang2015-06-102-38/+8
| | | | | | Specifically lxml.etree instead of xml.etree.ElementTree. This allows CDATA without hack.
* modify template and stylesheet to include RSS iconZhiming Wang2015-06-104-4/+22
|
* pyblog: fix typo in atom feed subtitleZhiming Wang2015-06-101-1/+2
| | | | | Subtitle was added along with RSS, but I accidentally used <title> instead of <subtitle> for the tag.
* remove trailing whitespace from old postsZhiming Wang2015-06-102-4/+4
|
* pyblog: implement RSS feedZhiming Wang2015-06-101-23/+204
|
* pyblog: extract script tags from feedsZhiming Wang2015-06-091-0/+3
| | | | Fixes #2.
* pyblog: fix URL formatsZhiming Wang2015-06-091-6/+8
| | | | | Use canonical format for BLOG_HOME, and use urllib.parse.join for safe concatenation.
* pyblog: do not include line-number classes in feedZhiming Wang2015-06-091-0/+3
| | | | | | For one thing, the top attribute is not recommended in feeds (see https://github.com/zmwangx/zmwangx.github.io/issues/2). Also, extracting line numbers (which are useless in feeds) make the feeds smaller.
* modify title of latest postZhiming Wang2015-06-081-2/+2
| | | | turns to ==> turns into (not sure why I was thinking).
* latest post: percent-encode image pathsZhiming Wang2015-06-081-2/+2
|
* latest post: add OS X 10.11 and iOS 9 previewsZhiming Wang2015-06-083-1/+7
|
* 20150608 Apple turns its homepage to a WWDC liveblogZhiming Wang2015-06-084-0/+51
|
* minor improvements to latest postZhiming Wang2015-06-081-2/+2
|
* 20150607 StackOverflow review system is completely BSZhiming Wang2015-06-071-0/+54
|
* 20150530 Using a personal helper package in everyday scriptingZhiming Wang2015-05-301-0/+27
|
* update about meZhiming Wang2015-05-291-1/+1
|
* 20150529 Apple's customer service is still the best (plus an Authy horror story)Zhiming Wang2015-05-292-1/+25
|
* 20150522 Using a command table as wallpaperZhiming Wang2015-05-223-2/+162
| | | | And other minor changes.
* pyblog: bug fix in auto retouchZhiming Wang2015-05-221-7/+11
|
* pyblog: smarter auto touchZhiming Wang2015-05-191-15/+16
| | | | Now reading date directly from post.
* 20150519 Bash: the special slash character in filename expansionZhiming Wang2015-05-191-0/+40
|
* update to "Searchable settings are one honking great idea..."Zhiming Wang2015-05-162-2/+8
|
* add noscript tag for javascript embedded asciicastZhiming Wang2015-05-143-1/+14
|
* pyblog: fix bug in re match object handlingZhiming Wang2015-05-141-3/+3
| | | | Somehow the linter failed to catch the obvious syntax errors.
* add source code line numbersZhiming Wang2015-05-147-25/+89
| | | | | | | | | | The way I handle line numbers and the pre block in general is inspired by the MDN wiki. See, for instance, https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript a screenshot is here: https://i.imgur.com/982TBDc.png Also tweaked other styles, e.g., changed the primary monospace font to Consolas, and slightly tweaked a few old posts.
* pyblog: smarter autotouch in gen_deployZhiming Wang2015-05-131-3/+13
|
* correct typo in template.htmlZhiming Wang2015-05-131-1/+1
|
* sitemap.xml: correct <lastmod> datetime formatZhiming Wang2015-05-131-3/+5
| | | | | | | | | | | | | | | | | coreutils date --iso-8601=s generates output like 2015-05-13T13:04:24-0700 while the correct format (at least the format Python datetime.datetime.isoformat() prints, and the format Google expects) is 2015-05-13T13:04:24-07:00 Account for this problem. I didn't read the RFC, so not sure.
* add key.html for my public keyZhiming Wang2015-05-132-1/+64
|
* add support for lfooter (updated) and top level pages...Zhiming Wang2015-05-133-21/+58
| | | | (other than index.html).
* pyblog: put hard coded string literals into constantsZhiming Wang2015-05-131-20/+43
| | | | | | Configuration constants are configurable at the top of the source file. This is not final: they should be put into a YAML/INI config file in the end.
* add original asciicast URI to 2015-05-09-storyboard-reached-01.mdZhiming Wang2015-05-131-1/+1
|
* .travis.yml: clone repo via HTTPS insteadZhiming Wang2015-05-091-1/+1
|
* add tidy5 checkZhiming Wang2015-05-096-11/+23
| | | | Also filled in some originally missing alt attributes of img tags.
* install latest pandocZhiming Wang2015-05-091-2/+2
| | | | | It turns out that the version of pandoc (1.9.1.1-1) in precise universe is just too old to handle metadata.
* try to debug failed buildZhiming Wang2015-05-091-26/+32
| | | | | | | https://travis-ci.org/zmwangx/zmwangx.github.io/builds/61860458 First step in debugging: dump the HTML to see what's missing and how it missed.
* 20150509 storyboard reached 0.1Zhiming Wang2015-05-093-7/+87
| | | | | Also fixed the bugs in pyblog introduced in the last revision and tweaked the theme a bit.
* README.md: only display build status of the source...Zhiming Wang2015-05-071-1/+1
| | | | | | | | | | | | | | branch. Two other notes: * Giving up on Heroku deployment since I'll need to write a server script and a buildpack to serve the static site. * It is possible to install Pandoc in a container -- use linuxbrew! However, building the entire Haskell platform and Pandoc is too time consuming. I might as well just wait in line for a non-container machine.
* add requirements.txtZhiming Wang2015-05-073-3/+9
| | | | | | | Also install requirements in .travis.yml. By the way, I explored ways to install Pandoc in a Travis container environment (without sudo), but that's just too hard. Giving up.
* configure simple Travis integrationZhiming Wang2015-05-072-0/+13
|
* pyblog: implement auto touching in gen_deployZhiming Wang2015-05-071-18/+74
| | | | | | Even after implementing touch, I can't remember to touch a new post before deploying. Now gen_deploy tries to smartly determine the latest post and prompts for touching.
* 20150506 Searchable settings are one honking great idea — let's do more of ↵Zhiming Wang2015-05-061-0/+45
| | | | those!
* improve Why Oh My Zsh is completely brokenZhiming Wang2015-05-062-18/+43
|
* fix minor invalid HTML issuesZhiming Wang2015-05-064-4/+6
|