This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Solution to Boggle Solver challenge | |
// Working example at http://boggle.mcgees.me | |
// 2014-06-28 | |
// Joshua McGee | |
(function() { | |
"use strict"; | |
// My solution was to load the Scrabble dictionary into a search tree, then search the board | |
// for possible matching words by checking each starting position and recursively checking |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Click the magnifying glass icon near the upper-right of your screen, type "Terminal", and open that program. | |
2. Paste (or type) the following into Terminal and press enter: | |
defaults write com.apple.DiskUtility DUDebugMenuEnabled 1 | |
3. Click the magnifying glass icon again, type "Disk Utility", and open that program. | |
4. Choose "Debug" in the menu bar, select "Debug Message Level", and set it to "All messages". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Combine two flags and add a "vs" overlay | |
# v0.1 (2016-07-07) | |
convert -size 600x800 gradient: gradient.png | |
convert gradient.png -rotate -90 gradient-left-orig.png | |
padright 100 black gradient-left-orig.png gradient-left.png | |
convert gradient-left.png -alpha copy gradient-left-mask.png | |
convert gradient-left-mask.png -rotate 180 gradient-right-mask.png |