Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pyblog: use lxml instead of xml | Zhiming Wang | 2015-06-10 | 2 | -38/+8 |
| | | | | | | Specifically lxml.etree instead of xml.etree.ElementTree. This allows CDATA without hack. | ||||
* | modify template and stylesheet to include RSS icon | Zhiming Wang | 2015-06-10 | 4 | -4/+22 |
| | |||||
* | pyblog: fix typo in atom feed subtitle | Zhiming Wang | 2015-06-10 | 1 | -1/+2 |
| | | | | | Subtitle was added along with RSS, but I accidentally used <title> instead of <subtitle> for the tag. | ||||
* | remove trailing whitespace from old posts | Zhiming Wang | 2015-06-10 | 2 | -4/+4 |
| | |||||
* | pyblog: implement RSS feed | Zhiming Wang | 2015-06-10 | 1 | -23/+204 |
| | |||||
* | pyblog: extract script tags from feeds | Zhiming Wang | 2015-06-09 | 1 | -0/+3 |
| | | | | Fixes #2. | ||||
* | pyblog: fix URL formats | Zhiming Wang | 2015-06-09 | 1 | -6/+8 |
| | | | | | Use canonical format for BLOG_HOME, and use urllib.parse.join for safe concatenation. | ||||
* | pyblog: do not include line-number classes in feed | Zhiming Wang | 2015-06-09 | 1 | -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 post | Zhiming Wang | 2015-06-08 | 1 | -2/+2 |
| | | | | turns to ==> turns into (not sure why I was thinking). | ||||
* | latest post: percent-encode image paths | Zhiming Wang | 2015-06-08 | 1 | -2/+2 |
| | |||||
* | latest post: add OS X 10.11 and iOS 9 previews | Zhiming Wang | 2015-06-08 | 3 | -1/+7 |
| | |||||
* | 20150608 Apple turns its homepage to a WWDC liveblog | Zhiming Wang | 2015-06-08 | 4 | -0/+51 |
| | |||||
* | minor improvements to latest post | Zhiming Wang | 2015-06-08 | 1 | -2/+2 |
| | |||||
* | 20150607 StackOverflow review system is completely BS | Zhiming Wang | 2015-06-07 | 1 | -0/+54 |
| | |||||
* | 20150530 Using a personal helper package in everyday scripting | Zhiming Wang | 2015-05-30 | 1 | -0/+27 |
| | |||||
* | update about me | Zhiming Wang | 2015-05-29 | 1 | -1/+1 |
| | |||||
* | 20150529 Apple's customer service is still the best (plus an Authy horror story) | Zhiming Wang | 2015-05-29 | 2 | -1/+25 |
| | |||||
* | 20150522 Using a command table as wallpaper | Zhiming Wang | 2015-05-22 | 3 | -2/+162 |
| | | | | And other minor changes. | ||||
* | pyblog: bug fix in auto retouch | Zhiming Wang | 2015-05-22 | 1 | -7/+11 |
| | |||||
* | pyblog: smarter auto touch | Zhiming Wang | 2015-05-19 | 1 | -15/+16 |
| | | | | Now reading date directly from post. | ||||
* | 20150519 Bash: the special slash character in filename expansion | Zhiming Wang | 2015-05-19 | 1 | -0/+40 |
| | |||||
* | update to "Searchable settings are one honking great idea..." | Zhiming Wang | 2015-05-16 | 2 | -2/+8 |
| | |||||
* | add noscript tag for javascript embedded asciicast | Zhiming Wang | 2015-05-14 | 3 | -1/+14 |
| | |||||
* | pyblog: fix bug in re match object handling | Zhiming Wang | 2015-05-14 | 1 | -3/+3 |
| | | | | Somehow the linter failed to catch the obvious syntax errors. | ||||
* | add source code line numbers | Zhiming Wang | 2015-05-14 | 7 | -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_deploy | Zhiming Wang | 2015-05-13 | 1 | -3/+13 |
| | |||||
* | correct typo in template.html | Zhiming Wang | 2015-05-13 | 1 | -1/+1 |
| | |||||
* | sitemap.xml: correct <lastmod> datetime format | Zhiming Wang | 2015-05-13 | 1 | -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 key | Zhiming Wang | 2015-05-13 | 2 | -1/+64 |
| | |||||
* | add support for lfooter (updated) and top level pages... | Zhiming Wang | 2015-05-13 | 3 | -21/+58 |
| | | | | (other than index.html). | ||||
* | pyblog: put hard coded string literals into constants | Zhiming Wang | 2015-05-13 | 1 | -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.md | Zhiming Wang | 2015-05-13 | 1 | -1/+1 |
| | |||||
* | .travis.yml: clone repo via HTTPS instead | Zhiming Wang | 2015-05-09 | 1 | -1/+1 |
| | |||||
* | add tidy5 check | Zhiming Wang | 2015-05-09 | 6 | -11/+23 |
| | | | | Also filled in some originally missing alt attributes of img tags. | ||||
* | install latest pandoc | Zhiming Wang | 2015-05-09 | 1 | -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 build | Zhiming Wang | 2015-05-09 | 1 | -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.1 | Zhiming Wang | 2015-05-09 | 3 | -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 Wang | 2015-05-07 | 1 | -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.txt | Zhiming Wang | 2015-05-07 | 3 | -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 integration | Zhiming Wang | 2015-05-07 | 2 | -0/+13 |
| | |||||
* | pyblog: implement auto touching in gen_deploy | Zhiming Wang | 2015-05-07 | 1 | -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 Wang | 2015-05-06 | 1 | -0/+45 |
| | | | | those! | ||||
* | improve Why Oh My Zsh is completely broken | Zhiming Wang | 2015-05-06 | 2 | -18/+43 |
| | |||||
* | fix minor invalid HTML issues | Zhiming Wang | 2015-05-06 | 4 | -4/+6 |
| | |||||
* | replace all imgur links with https | Zhiming Wang | 2015-05-06 | 15 | -31/+31 |
| | | | | Plus a few typo fixes in old posts. | ||||
* | add sitemap.xml and robots.txt | Zhiming Wang | 2015-05-05 | 2 | -7/+48 |
| | |||||
* | serve the CC icon locally | Zhiming Wang | 2015-05-05 | 5 | -1/+34 |
| | |||||
* | suppress TLS insecure warning | Zhiming Wang | 2015-05-05 | 1 | -1/+1 |
| | | | | | | by replacing http://fonts.googleapis.com with ://fonts.googleapis.com . Credit goes to http://goo.gl/KWcZJu . | ||||
* | install Google Analytics tracking code | Zhiming Wang | 2015-05-05 | 1 | -0/+9 |
| | |||||
* | 20150505 Graceful handling of SIGINT when using Python's multiprocessing.Process | Zhiming Wang | 2015-05-05 | 4 | -21/+197 |
| | | | | | Also implemented the "touch" action in pyblog, as well as wrote a README.md for the source branch. And some other minor patching. |