This is a very simple hangman game meant to illustrate concepts for the students, children, of the "Learn Web Development" class. It uses nothing but HTML5, CSS3, and Javascript.
A Pen by John Duprey on CodePen.
| -- Based on numerous posts, but mainly this one: http://smoove-operator.blogspot.com/2011/06/open-links-from-external-applications.html?showComment=1456344705609#c2945803548300096133 | |
| -- See alos: https://apple.stackexchange.com/questions/9500/how-to-make-chrome-open-a-new-window-for-external-links | |
| on handle_url(args) | |
| tell application "/Applications/Google Chrome.app" | |
| make new window | |
| activate | |
| set URL of active tab of first window to |URL| of args | |
| end tell | |
| return 1 | |
| end handle_url |
This is a very simple hangman game meant to illustrate concepts for the students, children, of the "Learn Web Development" class. It uses nothing but HTML5, CSS3, and Javascript.
A Pen by John Duprey on CodePen.
| # This script takes a single parameter - a file name following Dropbox "conflicted" file naming format. | |
| # It will then ask you if you want skip, delete, or move it back (restore it) to the original file name. | |
| # The original file name is determined by removing the Drobox conflicted part of the name. | |
| # e.g. "demo-current (Thor's conflicted copy 2014-09-14).png" --> "demo-current.png" | |
| # If you answer 'y' it will perform a 'NIX mv "SOURCE" "TARGET" command. | |
| # | |
| # Typical usage of this script would be something like the following: | |
| # find . -name "*(*'s conflicted copy [0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9])*" -exec restore_db_conflicted.sh.sh {} \; | |
| # -- Find all the files that look like conflicted copies and run the restore script on them. | |
| # I've used this script a couple of times. It worked for me. |