highlights clipboard code for Keynote presentations
If you are presenting code, you should do this as text, as people could copy it after you share your slides. There is no option for code in Keynote, so here is a simple way to do this.
# Becareful! This is not tested with every kind of names and isn't ok to use in production. | |
# So, never execute rm in these files. Please. Or the world will end. | |
# | |
# Be sure to run this command in wp-content/uploads. | |
# Please comment if any strange behavior. | |
# creates backup folder | |
mkdir -p ~/bkp | |
# finds thumbs and move then to ~/bkp. You can run any command after the -exec flag. |
[ | |
{ "keys": ["super+v"], "command": "paste_and_indent" }, | |
{ "keys": ["super+shift+v"], "command": "paste" } | |
] |
Tracker = | |
### | |
Sends Analytics events | |
@param {String} | |
@param {String} | |
@param {String} | |
@returns {Tracker} | |
### | |
trackEvent: (category, action, label) -> |
#!/bin/bash | |
# create folders. Ensure your directory is writable | |
mkdir -p jpegs/share; | |
# loops .NEF files in this directory. Subdirectories aren't supported | |
for f in *.NEF; | |
do | |
# gets filename and inserts .jpg at the end |