Topic: https://brettterpstra.com/2012/03/04/cheaters-customizable-cheat-sheet-system/
hide preview

What's next? verify your email address for reply notifications!

dbexternal 12y, 290d ago

Wow - this looks great! But, index.html doesn't seem to be in the cheaters.zip download? Am I missing something? Thanks!

hide preview

What's next? verify your email address for reply notifications!

lamike 12y, 291d ago

I am now running Brett's elegant Cheaters on my iPad alongside my iMac screen. Cheaters is running on iPad's mobile Safari by calling up Brett's index.html file that resides resides in Dropbox and syncs to my iPad via GoodReader. Those wishing to set this up need to visit Don McAllister's ScreencastsOnLine. You'll need to become a SCOL member, something you will never regret. Then, watch the Cheaters show that is found in the Mac Tutorial section and is numbered SCOM0339. Next, you need to watch GoodReader Part 2 in the iPad Tutorial section. Along the way, Don will teach you how to create cheatsheets from html code found on the net as well as pdf cheatsheets also found on the net.

Brett, again, thanks to you and Gabe at Macdrifter for sharing this elegant idea with the community. Thanks also to Don for putting the final touches on it. All we need now is a repository of cheatsheets the community might share and plug into Brett's engine.

remark link
hide preview

What's next? verify your email address for reply notifications!

lamike 12y, 290d ago

Unzip Brett's Download file. A folder called Cheaters will be created. Index.html is located inside that folder.

remark link parent
hide preview

What's next? verify your email address for reply notifications!

dbexternal 12y, 290d ago

I think something got corrupted because I've downloaded the file several times, and I don't see an index.html inside the folder. Thanks though....

remark link parent
hide preview

What's next? verify your email address for reply notifications!

Brett 12y, 290d ago

I just double-checked the download, everything's there…

remark link parent

load more (1 remarks)
hide preview

What's next? verify your email address for reply notifications!

dbexternal 12y, 290d ago

Sorry! It was always there, I was looking in the cheatsheets sub-dir. Boy do I feel stupid.

hide preview

What's next? verify your email address for reply notifications!

Phaedra Deepsky 12y, 310d ago

This is a cool idea and I'm looking forward to playing with it this weekend. My particular hack was to take screen shots of the PDF markdown cheat sheets from Station in the Metro and edit it as a desktop background.

hide preview

What's next? verify your email address for reply notifications!

Brian 12y, 336d ago

This is great! I was looking for some sort of a toolbar app to do this, but this works great.

Anyone know of a web app that generates cheat sheet HTML?

hide preview

What's next? verify your email address for reply notifications!

Paul 13y, 6d ago

Very nice idea. Not a programmer, so the CSS, HTML stuff doesn't really apply, but I've been looking for a way to show up my Keyboard Maestro shortcuts elegantly. This is it.
One question: it takes about 5 seconds for the cheat sheet to show up - I'm guessing it's the whole "start a new window in safari and go fetch that url" thingy, but I just want to make sure everyone has the same delay - otherwise, I may have an issue?
Thx again. Paul

remark link
hide preview

What's next? verify your email address for reply notifications!

Peter N Lewis 12y, 338d ago

Keyboard Maestro can open the workflow as an application (as described in this article), or alternatively, it can execute the workflow directly. It might be worth trying both out to see if one or the other is faster.

hide preview

What's next? verify your email address for reply notifications!

Brett 13y, 6d ago

It's an Automator thing. Services and apps just take a moment to launch, especially the first time you run them. Not much to be done about it at this point, but it's not just you :).

hide preview

What's next? verify your email address for reply notifications!

DW 13y, 7d ago

This is very cool. I had a quick question. I've got the cheats up and running, both as an Automator application, and just using a web browser. Using the browser works for Safari and Firefox, but for some reason when I open the index.html with Chrome, all I get is the menu--no actual content appears. I get normal hovering behavior over the menu items, but clicking the links doesn't take me any where, the page just stays blank. I've poked around in my Chrome settings, but I'm not seeing anything that seems to be related.

Any thoughts or hints in the right direction would be appreciated.

Thanks again

remark link
hide preview

What's next? verify your email address for reply notifications!

Brett 13y, 6d ago

I haven't tested in Chrome, but I'll take a look. It uses jQuery to load the pages when you click a menu item, but I don't know of any reason it wouldn't work. I'll get back to you on that.

hide preview

What's next? verify your email address for reply notifications!

Poxo-Musik 13y, 12d ago

Remarkable! Its genuinely amazing post, I have got much clear idea concerning from this post.

hide preview

What's next? verify your email address for reply notifications!

fukurokujo 13y, 13d ago

Hm how did you create that html5.html file? i really like it's design and cannot easily reproduce it with markdown stuff

remark link
hide preview

What's next? verify your email address for reply notifications!

Brett 13y, 6d ago

I stole the basics from natbat and applied the styling from a default style in the upcoming release of Marked. Same for all of them, source credits at the bottom of each page.

hide preview

What's next? verify your email address for reply notifications!

strunkait 13y, 14d ago

Thanks Brett, it's almost exactly what I never knew I was looking for—great idea! Now it's on me to expand on that and come up with a PHP cheat sheet--if only I could remember the preg_match and replace syntax…

remark link
hide preview

What's next? verify your email address for reply notifications!

Brett 13y, 14d ago

Have you seen PHPfi? It's a handy cheat sheet all on its own. It uses the downloadable HTML version of the PHP docs. Those docs all come in separate HTML files as a side benefit, which could probably be markdownified into smaller cheat sheets :).

remark link parent
hide preview

What's next? verify your email address for reply notifications!

strunkait 13y, 12d ago

you just blew my mind ;)

hide preview

What's next? verify your email address for reply notifications!

Lamike 13y, 15d ago

Brett: This is simply elegant. The step by step process of creating these floating Cheat Sheets is greatly appreciated. I especially like the idea of creating personal Apps by creating a ~/Applications folder. Don't know where I'd be without guys like you and Gabe over at MacDrifter.

hide preview

What's next? verify your email address for reply notifications!

Rick Martin 13y, 15d ago

Looks great. I tried doing this on 10.6.8 though, and couldn't find that second 'popup' action. Perhaps it's a new addition in Lion?

remark link
hide preview

What's next? verify your email address for reply notifications!

Rico 12y, 331d ago

The action existed for quite a while and could be downloaded from Apple's http://www.macosxautomation.com
It does not work anymore, though - since Safari 5.1 or so...

Fortunately, the folks in Apple's forums have a solution for all the SL users out there: the action that came with Lion. Just download it (link in the thread), drop it in ~ /Library/Automator and you should be good to go.

hide preview

What's next? verify your email address for reply notifications!

Brett 13y, 6d ago

Quite likely a Lion-only feature. I actually didn't know it existed until Gabe pointed it out over at Macdrifter.com.

hide preview

What's next? verify your email address for reply notifications!

NaOH 13y, 15d ago

Great strategy. I'd seen Gabe's idea, which gave me some ideas, but this gives me even more. I had been using something much less flexible with Keyboard Maestro running a shell script to run Quick Look on certain files.

do shell script "qlmanage -p /Users/UserName/Path/To/File"

Your approach is much better. One way I suspect I'll use it is to help me with Maestro. My extensive use of that application is taxing the limits of my memory. I'll probably do something whereby pressing a shortcut like F1 will display a screen shot of the Maestro macros for the current application and Command-F1 will show global macros.

Along with the generally great strategy shown here, my thanks for the HTML example. I lack that skill, so that's a big help.

hide preview

What's next? verify your email address for reply notifications!

David Wang 13y, 15d ago

Hey Brett this is really smart. I've got a question: where do you save your Automator application? I bet you have lots of them and would love any tips for keeping them organized. Thanks :)

remark link
hide preview

What's next? verify your email address for reply notifications!

Brett 13y, 15d ago

Truth be told, this is the only Automator Application on my current system. I have a ton of Services, but rarely use Automator to create apps. That being said, most of my applications created with AppleScript Editor, Automator, Platypus, etc. go into ~/Applications (an Applications folder in my home directory). Most launchers and indexers know to look there, so it doesn't take any extra work to get them, say, into LaunchBar.

remark link parent
hide preview

What's next? verify your email address for reply notifications!

David Wang 13y, 15d ago

Ooh, I didn't know you could create an ~/Applications folder for your own apps. That makes sense, thanks!

hide preview

What's next? verify your email address for reply notifications!