In Windows, I use either the PrintScreen key or the Snip program for screenshots. But I can never remember the keyboard commands for screenshots in OSX, so here is a quick reference:
- Shift Command 3: Capture the whole screen.
- Shift Command 4: Use crosshairs to select an area to capture.
Both of the above methods will save the screenshot on your Desktop.
If I'm working in Firefox, I just use the built-in screenshot tools in Firefox too. (The files are saved in Downloads.)
Pages might just be one of my favorite things about GitHub. Though I often use them for lists of links to go along with my presentations, they are capable of much more complex static sites.
Here is a quick reminder of how to set up a new GitHub Pages site:
- Create a new repo on GitHub.
- Don't create any new files yet, even licenses or readmes. If you have already created files, then stash them.
- Clone that repo locally and check out a new
gh-pages branch (
git checkout -b gh-pages).
- Pop any files you've stashed. Add any other files you want in your repo.
- Commit the changes, and then push the
gh-pages branch up to Github.
You're done! You can now view your new page at
If you have somehow ended up with a master branch with commits, you can remove it thusly:
- On the GitHub site, make the gh-pages branch the default.
- Delete the master branch both on the GitHub site and locally.