From 7db0f99db806560475be747f720986cbef4b4d4b Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Fri, 8 Jan 2016 16:41:44 -0800 Subject: Fix slight styling issues in md source files... discovered when doing site refresh. --- .../2015-12-29-catches-when-installing-windows-7-with-boot-camp.md | 2 +- source/blog/2016-01-01-virtualenvs-for-everyone.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'source/blog') diff --git a/source/blog/2015-12-29-catches-when-installing-windows-7-with-boot-camp.md b/source/blog/2015-12-29-catches-when-installing-windows-7-with-boot-camp.md index 3d00a0df..2e8f1b96 100644 --- a/source/blog/2015-12-29-catches-when-installing-windows-7-with-boot-camp.md +++ b/source/blog/2015-12-29-catches-when-installing-windows-7-with-boot-camp.md @@ -22,6 +22,6 @@ Apple has a pretty thorough walkthrough in the support article [Install Windows 5. Even after formatting the Boot Camp partition, it is still possible to get the error *Setup was unable to create a new system partition or locate an existing system partition*. It this happens, check if you have any USB drives (other than the installation media) plugged in. In my case my Time Capsule was plugged in, and rebooting with it unplugged fixed the problem. The exact cause of the problem is unclear to me. Some say it's due to Master Boot Record limiting the number of partitions to four, but why the heck is my external drive counted towards that limitation? I'd go for Win 7 installer is just confused. Anyway, just unplug anything that's not needed during Windows installation. -Hopefully you're good after solving the aforementioned problems. If you followed Apple's walkthrough correctly, Boot Camp's setup.exe will be invoked automatically immediately after Windows finishes installation, and after a certain number of reboots your drivers will be up and running. Now you're ready to take control of your Windows. Install Chrome ^[You can't even browse Microsoft's own websites with stock IE8. And IE11 is locked behind a hell lot of Windows Updates (even then it is crap). Doing Windows Update is like building up a tech tree.] and Microsoft Security Essentials immediately, then hop right into the Windows Update hell to patch your four-year-old system. Of course, Windows Update being Windows Update won't be smooth — servers will be crowded as ever and just checking for updates will likely take forever, let alone downloads. After a semi-infinite amount of time you'll get your estimates (I got 212 updates). Click update and let Windows Update grind for hours. And wish yourself a good luck (that no update errors will occur — luckily I didn't get any). +Hopefully you're good after solving the aforementioned problems. If you followed Apple's walkthrough correctly, Boot Camp's setup.exe will be invoked automatically immediately after Windows finishes installation, and after a certain number of reboots your drivers will be up and running. Now you're ready to take control of your Windows. Install Chrome^[You can't even browse Microsoft's own websites with stock IE8. And IE11 is locked behind a hell lot of Windows Updates (even then it is crap). Doing Windows Update is like building up a tech tree.] and Microsoft Security Essentials immediately, then hop right into the Windows Update hell to patch your four-year-old system. Of course, Windows Update being Windows Update won't be smooth — servers will be crowded as ever and just checking for updates will likely take forever, let alone downloads. After a semi-infinite amount of time you'll get your estimates (I got 212 updates). Click update and let Windows Update grind for hours. And wish yourself a good luck (that no update errors will occur — luckily I didn't get any). By the way, the otherwise great Apple trackpad is almost unusable on Boot Camp Windows under any setting. I'm forced to use a mouse. diff --git a/source/blog/2016-01-01-virtualenvs-for-everyone.md b/source/blog/2016-01-01-virtualenvs-for-everyone.md index d39882ca..bf7b9b7a 100644 --- a/source/blog/2016-01-01-virtualenvs-for-everyone.md +++ b/source/blog/2016-01-01-virtualenvs-for-everyone.md @@ -63,7 +63,9 @@ def find_packages(**kwargs): pass Now, let `$HERE` be the directory containing our fake `setuptools/`, and `$PROJECT_ROOT` be the project root directory containing `setup.py`. Run - PYTHONPATH=$HERE:$PYTHONPATH python $PROJECT_ROOT/setup.py +```zsh +PYTHONPATH=$HERE:$PYTHONPATH python $PROJECT_ROOT/setup.py +``` and bam! We get the names of all scripts on stdout. -- cgit v1.2.1