Your favorite shortcut

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Your favorite shortcut

Post 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
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

I particularly like nesting ternary if..else statements. Noone who reads my code later likes me doing it though.
User avatar
AnarKy
Forum Contributor
Posts: 119
Joined: Tue Nov 02, 2004 1:49 am
Location: South Africa

Firefox

Post by AnarKy »

I am also Lazy :wink: ...

I love the firefox ext's especially:
All-in-One Gestures Extension
http://perso.wanadoo.fr/marc.boullet/ex ... ns-en.html

Lazy navigation....
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post 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?
theda
Forum Contributor
Posts: 332
Joined: Sat Feb 19, 2005 8:35 am
Location: USA

Post 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...
User avatar
AnarKy
Forum Contributor
Posts: 119
Joined: Tue Nov 02, 2004 1:49 am
Location: South Africa

Programmable buttons on keyboards.

Post 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
User avatar
nielsene
DevNet Resident
Posts: 1834
Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA

Post by nielsene »

Ctrl-space, Alt-W, Ctl-Y

:)
User avatar
AnarKy
Forum Contributor
Posts: 119
Joined: Tue Nov 02, 2004 1:49 am
Location: South Africa

PSX controller

Post 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. :cry:
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post 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 :)
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post 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
User avatar
AnarKy
Forum Contributor
Posts: 119
Joined: Tue Nov 02, 2004 1:49 am
Location: South Africa

Macro's

Post 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)
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post 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.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
theda
Forum Contributor
Posts: 332
Joined: Sat Feb 19, 2005 8:35 am
Location: USA

Post by theda »

Yay for 30 more seconds in your life!
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

jshpro2 wrote:Ternary's? Good idea for simple conditionals, nesting them? are you insane?
No, just a git. :twisted:
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post 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.
Post Reply