Page 1 of 2
Your favorite shortcut
Posted: Wed Aug 03, 2005 11:09 pm
by josh
What is your favorite time saving "shortcut"
For instance, setting up keywords for your firefox bookmarks, or an icon in the quick launch bar in windows, that when clicked opens up explorer to a folder you specified
(I put %SystemRoot%\explorer.exe /e,C:\path\path as the shortcut's target)
Another time saving thing I do is google's home page, I use the links thing to add my most visited links, so when I launch firefox I get google search, a link to devnetwork and a few of my other most visited sites, everythings 1 click away.
Share your time saving things!!
- I admit it, I'm a lazy bastard
Posted: Thu Aug 04, 2005 2:48 am
by onion2k
I particularly like nesting
ternary if..else statements. Noone who reads my code later likes me doing it though.
Firefox
Posted: Thu Aug 04, 2005 3:21 am
by AnarKy
I am also Lazy

...
I love the firefox ext's especially:
All-in-One Gestures Extension
http://perso.wanadoo.fr/marc.boullet/ex ... ns-en.html
Lazy navigation....
Posted: Thu Aug 04, 2005 3:43 am
by josh
onion2k wrote:I particularly like nesting
ternary if..else statements. Noone who reads my code later likes me doing it though.
I would write a script to go and convert all your ternary's into a standard conditional construct if I had to read your code
Ternary's? Good idea for simple conditionals, nesting them? are you insane?
Posted: Thu Aug 04, 2005 8:35 am
by theda
For me, I have on my Wireless Desktop Elite Keyboard/Optical Mouse five buttons that I use for shortcutting my way through the webernet

First one links to redvsblue.com, second I have set to the devnet boards, third to a german dictionary website, fourth to gmail, the last goes to nothing in peticular as I really don't use that one yet...
Programmable buttons on keyboards.
Posted: Thu Aug 04, 2005 8:41 am
by AnarKy
Programmable buttons on keyboards.
Some keyboards have buttons to control volume and other stuff…
One of my old keyboards had a few programmable buttons that you could link to commands, like shortcuts, etc
Posted: Thu Aug 04, 2005 9:00 am
by nielsene
Ctrl-space, Alt-W, Ctl-Y

PSX controller
Posted: Thu Aug 04, 2005 9:08 am
by AnarKy
My Friend had this programmable Playstation control – he programmed entire combos for TEKKEN III.
That is the height of laziness… plus it took the thrill away from the game….
I’m just bitter – I couldn’t beat him.

Posted: Thu Aug 04, 2005 9:12 am
by hawleyjr
I have about 10 or 15 macros I wrote into UltraEdit all accessible by shortcuts. It’s pretty cool for code snippets that you typically write on a regular basis:
Alt-R Will print:
Code: Select all
echo '<HR><PRE>'; print_r($); echo '</PRE>';
Alt-F will print:
Code: Select all
echo '<HR><PRE>'; print_r(func_get_args()); echo '</PRE>';
...and more

Posted: Thu Aug 04, 2005 9:15 am
by josh
hawleyjr wrote:I have about 10 or 15 macros I wrote into UltraEdit all accessible by shortcuts. It’s pretty cool for code snippets that you typically write on a regular basis:
Alt-<span style='color:blue' title='ignorance is bliss'>are</span> Will print:
Code: Select all
echo '<HR><PRE>'; print_r($); echo '</PRE>';
Alt-F will print:
Code: Select all
echo '<HR><PRE>'; print_r(func_get_args()); echo '</PRE>';
...and more

awesome
Macro's
Posted: Thu Aug 04, 2005 9:40 am
by AnarKy
jshpro2 wrote:hawleyjr wrote:I have about 10 or 15 macros I wrote into UltraEdit all accessible by shortcuts. It’s pretty cool for code snippets that you typically write on a regular basis:
Alt-<span style='color:blue' title='ignorance is bliss'>are</span> Will print:
Code: Select all
echo '<HR><PRE>'; print_r($); echo '</PRE>';
Alt-F will print:
Code: Select all
echo '<HR><PRE>'; print_r(func_get_args()); echo '</PRE>';
...and more

awesome
Macro's are cool... Makes it less frustrating.
That and code completion - Good for people who:
1. are lazy
2. have bad memory
3. cant spell (like me)
Posted: Thu Aug 04, 2005 9:58 am
by pickle
I code in Linux and I usually work in a particular directory. So, I wrote a short script 'gui' that automatically changes my directory to the passed argument, exports my display to my IP, runs Xemacs, and logs into MySQL. Saves me about 30 seconds.
Posted: Thu Aug 04, 2005 10:20 am
by theda
Yay for 30 more seconds in your life!
Posted: Thu Aug 04, 2005 10:55 am
by onion2k
jshpro2 wrote:Ternary's? Good idea for simple conditionals, nesting them? are you insane?
No, just a git.

Posted: Thu Aug 04, 2005 11:57 am
by josh
Code completion is nice, but when I'm typing so fast it takes more time to take my hands away from the keys and reach for the mouse so I usually just type it out, if only dreamweaver had an option to hold alt + X where X is the # of the line of suggestions that you want to use.