GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.
This article is now published on my website: Prefer Subshells for Context.
# Start the old vagrant | |
$ vagrant init centos-6.3 | |
$ vagrant up | |
# You should see a message like: | |
# [default] The guest additions on this VM do not match the install version of | |
# VirtualBox! This may cause things such as forwarded ports, shared | |
# folders, and more to not work properly. If any of those things fail on | |
# this machine, please update the guest additions and repackage the | |
# box. |
@echo off | |
mkdir D:\Workspaces | |
subst W: D:\Workspaces | |
cdd W:\ | |
mkdir dist__12.0-win32-builddist | |
cdd W:\dist__12.0-win32-builddist | |
:: aa dist.build python --no-build --no-package |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
http://www.infoq.com/presentations/Simple-Made-Easy | |
http://www.infoq.com/presentations/integration-tests-scam | |
http://blog.thecodewhisperer.com/2010/09/14/when-is-it-safe-to-introduce-test-doubles | |
http://youtu.be/yTkzNHF6rMs | |
http://pyvideo.org/video/1670/boundaries | |
http://skillsmatter.com/podcast/ajax-ria/enumerators | |
http://alistair.cockburn.us/Hexagonal+architecture | |
http://c2.com/cgi/wiki?PortsAndAdaptersArchitecture | |
http://www.confreaks.com/videos/977-goruco2012-hexagonal-rails | |
http://www.confreaks.com/videos/1255-rockymtnruby2012-to-mock-or-not-to-mock |
- Download and install p4Merge (Helix P4Merge: Visual Merge Tool) from Perforce page
- Configure Git Extensions (Tools / Settings / Git Config) with the follow values (see image):
- Mergetool:
p4merge
- Path to mergetool:
C:/Program Files/Perforce/p4merge.exe
- Mergetool command:
"C:/Program Files/Perforce/p4merge.exe" "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
- Difftool:
p4merge
- Path to difftool:
C:/Program Files/Perforce/p4merge.exe
- Mergetool:
- Difftool command:
"C:/Program Files/Perforce/p4merge.exe" "$LOCAL" "$REMOTE"
You've probably stumbled upon this researching how to remove the Xbox Game Bar. This gist includes a few different methods you can try. Please note that some of these first options are probably not be available unless you are running an older version of Windows 10.
(this is no longer an option on any recent Windows 10 build)
- Press Windows Key or click on the Start menu.
- Start typing
Xbox
orGame Bar
, until you get the Xbox Game Bar app to appear in the results. - Right-click on the app and pick
Uninstall
. AnswerYes
to the prompt, and wait for the process to finish.
For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.
After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft