aboutsummaryrefslogtreecommitdiff
path: root/source (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-07-19index.md: add Keybase linkZhiming Wang1-1/+1
2015-07-17fix line number placementZhiming Wang3-5/+6
Global font size in each style sheet has been tweaked very carefully so that the precise line height is very close to a whole number of pixels, so that precision alignment using em, which aligns something precise (top: 13.5em) to something inprecise (line heights, with accumulated errors due to rounding in every line), is not lost. Note that Firefox is NOT supported, since each line seems to always occupy one more pixel than the calculated line height. For some reason line numbers in the print view are still rather problematic at a page continuation. In Chrome and Safari, the first two line numbers on a new page tend to overlap, so everything afterwards are off (and on Firefox line numbers do not show up on the second page at all). Anyway, printing shouldn't be a big concern.
2015-07-17add print stylesheetZhiming Wang1-0/+15
2015-07-17narrow theme: add 10% padding at article bottomZhiming Wang1-1/+1
2015-07-17design mobile and narrow window friendly themeZhiming Wang3-18/+74
Tested on iPhone 6 Plus (both portrait and landscape).
2015-07-17index.html TOC: use <table> instead of <ul>Zhiming Wang1-5/+7
For better formatting. The following screenshots illustrate the difference: * https://i.imgur.com/ZfkUpBG.png * https://i.imgur.com/S6cRK00.png I also reduced the indentation on the left of each year's index from 2em to 1em.
2015-07-1520150715 Zsh: save stdout, stderr, and return value of command to different ↵Zhiming Wang1-0/+33
variables (without temp file)
2015-07-12index.md: add no-SNS declarationZhiming Wang1-1/+1
2015-06-30dl? cmplnts? in Apple News: update with new screenshotZhiming Wang2-0/+6
2015-06-2920150629 dl? cmplnts? in Apple NewsZhiming Wang2-0/+20
2015-06-2720150627 Automatically clean up "Previous Mobile Applications"Zhiming Wang1-0/+122
2015-06-2720150626 iOS 9: searchable SettingsZhiming Wang3-0/+14
Also update previous post 2015-05-06-searchable-settings-are-one-honking-great-idea-lets-do-more-of-those.md.
2015-06-2320150623 All problems solved!?Zhiming Wang1-0/+28
2015-06-16theme.css: shrink paragraph spacing in and between footnotesZhiming Wang1-0/+4
2015-06-16fix font issues: moving back to Droid Sans Mono for codeZhiming Wang2-2/+12
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.
2015-06-1220150612 The tip of the icebergZhiming Wang2-1/+23
2015-06-1020150610 Chrome disappointment:Zhiming Wang3-0/+54
the shabby and boring old bookmark system from Stone Age strikes back.
2015-06-10upgrade quality of iconsZhiming Wang8-6/+6
Also added a 2048x2048 logo for submission to Apple News Publisher (just curious).
2015-06-10modify template and stylesheet to include RSS iconZhiming Wang3-2/+21
2015-06-10remove trailing whitespace from old postsZhiming Wang2-4/+4
2015-06-08modify title of latest postZhiming Wang1-2/+2
turns to ==> turns into (not sure why I was thinking).
2015-06-08latest post: percent-encode image pathsZhiming Wang1-2/+2
2015-06-08latest post: add OS X 10.11 and iOS 9 previewsZhiming Wang3-1/+7
2015-06-0820150608 Apple turns its homepage to a WWDC liveblogZhiming Wang4-0/+51
2015-06-08minor improvements to latest postZhiming Wang1-2/+2
2015-06-0720150607 StackOverflow review system is completely BSZhiming Wang1-0/+54
2015-05-3020150530 Using a personal helper package in everyday scriptingZhiming Wang1-0/+27
2015-05-29update about meZhiming Wang1-1/+1
2015-05-2920150529 Apple's customer service is still the best (plus an Authy horror story)Zhiming Wang2-1/+25
2015-05-2220150522 Using a command table as wallpaperZhiming Wang3-2/+162
And other minor changes.
2015-05-1920150519 Bash: the special slash character in filename expansionZhiming Wang1-0/+40
2015-05-16update to "Searchable settings are one honking great idea..."Zhiming Wang2-2/+8
2015-05-14add noscript tag for javascript embedded asciicastZhiming Wang2-1/+12
2015-05-14add source code line numbersZhiming Wang5-14/+42
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.
2015-05-13add key.html for my public keyZhiming Wang2-1/+64
2015-05-13add support for lfooter (updated) and top level pages...Zhiming Wang1-4/+12
(other than index.html).
2015-05-13add original asciicast URI to 2015-05-09-storyboard-reached-01.mdZhiming Wang1-1/+1
2015-05-09add tidy5 checkZhiming Wang5-11/+11
Also filled in some originally missing alt attributes of img tags.
2015-05-0920150509 storyboard reached 0.1Zhiming Wang2-0/+84
Also fixed the bugs in pyblog introduced in the last revision and tweaked the theme a bit.
2015-05-0620150506 Searchable settings are one honking great idea — let's do more of ↵Zhiming Wang1-0/+45
those!
2015-05-06improve Why Oh My Zsh is completely brokenZhiming Wang1-17/+40
2015-05-06fix minor invalid HTML issuesZhiming Wang2-1/+2
2015-05-06replace all imgur links with httpsZhiming Wang15-31/+31
Plus a few typo fixes in old posts.
2015-05-05add sitemap.xml and robots.txtZhiming Wang1-5/+2
2015-05-05serve the CC icon locallyZhiming Wang5-1/+34
2015-05-0520150505 Graceful handling of SIGINT when using Python's multiprocessing.ProcessZhiming Wang2-0/+77
Also implemented the "touch" action in pyblog, as well as wrote a README.md for the source branch. And some other minor patching.
2015-05-05add feed icon to footerZhiming Wang5-1/+17
Among other fixes and tweaks.
2015-05-05pyblog: implement previewZhiming Wang3-2/+2
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.)
2015-05-05pyblog: implement deploy and gen_deployZhiming Wang1-1/+1
Also changed month to short format on the index page.
2015-05-0520150505: New blog, new startZhiming Wang5-135/+51
Also fixed several problems: 1. Rending SVG and making it a clickable link is basically impossible across multiple browsers. I'm now using a pretty good PNG; 2. Implemented new_post in pyblog; 3. Footnotes related updates to the theme.