This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
presentations:cfunited2010 [2010/07/10 14:00] thecrumb |
presentations:cfunited2010 [2017/06/15 20:45] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== INTRODUCTION ====== | + | |
- | ===== Who Am I? ===== | + | * [[presentations:CFUnited2010:code|Code Examples]] |
- | | + | |
- | * Blog: thecrumb.com | + | |
- | * Wiki: thecrumb.com/ | + | |
- | * Email: priest@thecrumb.com | + | |
- | + | ||
- | I co-manage the Triangle Area ColdFusion User Group, help keep the CFEclipse project organized. In 2010 I helped organize NCDevCon, a free ColdFusion/ | + | |
- | + | ||
- | ===== WHY AUTOMATE ===== | + | |
- | ==== Not What But Who ==== | + | |
- | Tools are important. | + | |
- | + | ||
- | < | + | |
- | Main Entry: au•to•mate | + | |
- | Pronunciation: | + | |
- | Function: verb | + | |
- | To convert to largely automatic operation | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | ==== Three R’s ==== | + | |
- | === Repetition === | + | |
- | We’ve all gone through the struggle of learning a new tool whether it is a new operating system or IDE. Learning new tools and techniques takes time. | + | |
- | === Resolution === | + | |
- | It also takes patience. | + | |
- | === Re-evaluate === | + | |
- | No tool is perfect. | + | |
- | ==== Time Savings ==== | + | |
- | Your time is precious. | + | |
- | ===== TYPE MORE (mouse less) ===== | + | |
- | While the mouse is a useful tool in some circumstances the majority of our time as coders is spent typing in code. The less we need to stop typing and move a mouse the more we can accomplish. | + | |
- | ==== AutoHotkey ==== | + | |
- | AutoHotkey is a free, open-source utility for Windows. | + | |
- | * Automate almost anything by sending keystrokes and mouse clicks. | + | |
- | * Create hotkeys. | + | |
- | * Expand abbreviations. For example, typing " | + | |
- | * AutoHotkey can automate the tedious things you type over and over every day. | + | |
- | >Q. But my IDE already has something similar… why not use snippets in ColdFusion Builder/ | + | |
- | >A. Snippets are only available in your IDE. What happens when you are editing some code in Notepad? | + | |
- | Several AutoHotkey examples are available on my wiki (see links and resources at the end of this handout). | + | |
- | 3.2 Zen Coding | + | |
- | Zen Coding is difficult to describe – from their website: “the core of this plugin is a powerful abbreviation engine which allows you to expand expressions…into HTML code”. | + | |
- | You Type You Get | + | |
- | div# | + | |
- | <div class=" | + | |
- | <ul id=" | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | While you could replicate some of this functionality with AutoHotKe, | + | |
- | + | ||
- | 3.3 Eclipse Shortcut Plugin | + | |
- | This one helps you learn some of the many Eclipse shortcuts. | + | |
- | 3.4 Browser URL Shortcuts | + | |
- | Enter a word in the address bar and hit CTRL+ENTER and automatically add the http:// and .com bits. Type ALT+ENTER and add .org. | + | |
- | 3.5 Firefox Bookmark Keywords | + | |
- | When you create a bookmark in Firefox pay attention to the keyword field. This allows you to assign easily type keywords to your often used bookmarks. | + | |
- | 3.6 Stop Filling in Forms | + | |
- | Stop filling in the same information into the same form fields day after day. How many times do you enter the same information into forms like blog comments and order forms? | + | |
- | + | ||
- | 3.7 Clipboard Manager | + | |
- | How many times a day do you cut-and-paste text, snippets of code, email? | + | |
- | Reuse it from the clipboard memory! | + | |
- | Easily accessible via a keyboard shortcut the clipboard manager can remember what you copied so you don’t have to. Most allow searching, support images and have lots of options. | + | |
- | + | ||
- | 4 GET ORGANIZED | + | |
- | 4.1 Launchers | + | |
- | Is your desktop littered with icons for programs and documents? | + | |
- | 4.2 Virtual Desktops | + | |
- | Hopefully you have two monitors but wouldn’t it be nice to have 4? Or 6? Virtual Desktops can do just that. Have a desktop dedicated to email. | + | |
- | 4.3 Eclipse Full Screen Plugin | + | |
- | Make the most of your IDE screen real estate. | + | |
- | 5 WORK SMARTER | + | |
- | Don’t forget the tools you use every day. I recently cleaned up a huge spam mess on a Trac install by mashing up some ColdFusion, Ant and Selenium. | + | |
- | 5.1 DOS / Shell | + | |
- | Do you restart ColdFusion by clicking through 5 menus to get to the Services panel? Write a simple batch file to do it, and launch it with a AutoHotkey shortcut or through your launcher. | + | |
- | 5.2 Ant | + | |
- | I love Ant and if you have not tried it yet you should. I maintain a wiki full of Ant links – see the resources section at the end of this article for a link. | + | |
- | 5.3 ColdFusion (insert every other programming language here) | + | |
- | Facing an odd problem? | + | |
- | 5.4 Cron | + | |
- | Do you fill out a timesheet every day? I do. But I don’t click though 5 menus to open it. I setup an automated cron job that starts the application every weekday at 4: | + | |
- | 5.5 Selenium | + | |
- | Selenium is a great testing tool but you can also use it to easily record any time consuming repetitive task you do in your browser. | + | |
- | 6 RESOURCES / LINKS | + | |
- | All the bookmarks below can also be found online: | + | |
- | 6.1 AutoHotkey & Alternatives | + | |
- | • AutoHotkey http:// | + | |
- | • TextExpander (Mac) http:// | + | |
- | • Typinator (Mac) http:// | + | |
- | • Texter (Win) http:// | + | |
- | 6.2 Launchers | + | |
- | • Find and Run Robot (Win) http:// | + | |
- | • Launchy (Win, Mac) http:// | + | |
- | • Quicksilver (Mac) http:// | + | |
- | • GnomeDo (Linux) http:// | + | |
- | 6.3 Clipboard Utilities | + | |
- | • Ditto (Win) http:// | + | |
- | • CLCL (Win) http:// | + | |
- | • PTHPasteboard (Mac) http:// | + | |
- | • Glipper/ | + | |
- | 6.4 Form Fill | + | |
- | • RoboForm http:// | + | |
- | • LastPass http:// | + | |
- | • Lazarus http:// | + | |
- | • Autofill (Firefox) https:// | + | |
- | 6.5 Virtual Desktops | + | |
- | • Built in by default – (Spaces – Mac), (Compiz – Linux) | + | |
- | • Dexpot (Win) http:// | + | |
- | • VituaWin (Win) http:// | + | |
- | 6.6 Misc | + | |
- | • Eclipse Full Screen http:// | + | |
- | • Cron (Win) http:// | + | |
- | • Ant http:// | + | |
- | 6.7 Further Reading: | + | |
- | • lifehacker.com | + | |
- | • freewaregenius.com | + | |
- | • lifehack.org | + | |
- | “An apprentice carpenter may want only a hammer and saw, but a master craftsman employs many precision tools. | + | |
- | –Robert L. Kruse, Data Structures and Program Design | + | |