aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* replace all imgur links with httpsZhiming Wang2015-05-0615-31/+31
| | | | Plus a few typo fixes in old posts.
* add sitemap.xml and robots.txtZhiming Wang2015-05-052-7/+48
|
* serve the CC icon locallyZhiming Wang2015-05-055-1/+34
|
* suppress TLS insecure warningZhiming Wang2015-05-051-1/+1
| | | | | | by replacing http://fonts.googleapis.com with ://fonts.googleapis.com . Credit goes to http://goo.gl/KWcZJu .
* install Google Analytics tracking codeZhiming Wang2015-05-051-0/+9
|
* 20150505 Graceful handling of SIGINT when using Python's multiprocessing.ProcessZhiming Wang2015-05-054-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.
* add feed icon to footerZhiming Wang2015-05-057-3/+21
| | | | Among other fixes and tweaks.
* pyblog: get preview rightZhiming Wang2015-05-051-81/+36
| | | | | | | | | Apparently I didn't know what I was doing. Stopping the server is such a simple problem, yet I made it so complicated. Handling SIGINT gracefully, on the other hand, is a little bit tricky, due to blocked communication between different processes. Anyway, I've got it covered now.
* pyblog: implement previewZhiming Wang2015-05-055-22/+173
| | | | | | | | | | | | | | Also tweaked icons a bit. Note that this commit doesn't really work: I implemented a "stoppable HTTP Server" here to be stopped when "mother process" receives SIGINT (i.e., KeyboardInterrupt), without realizing that all porcesses get SIGINT. Therefore, the custom server is hardly needed. See http://git.io/vJ9yA for more information. (This implementation has some value tought, that's why I'm committing to keep it in history.)
* pyblog: implement deploy and gen_deployZhiming Wang2015-05-052-12/+151
| | | | Also changed month to short format on the index page.