Undo/Redo keys can be used to quickly go back to the place in the text where you've been. Like if you scroll up to where the #includes are, press Ctrl-Z and then Ctrl-Shift-Z to jump back to the place in the code you've been modifying.
Works with Office, too - although unfortunately the newest Word either doesn't have a Redo hotkey or something else is not quite right. A positive thing about the newest Word's hotkeys is, however, that they've kept the Ctrl-P to print, otherwise I would know how to print.
But the trick works where I do most of the text editing: with Visual Studio and I think I got it to work with Eclipse, so - w00t.
Showing posts with label trickery. Show all posts
Showing posts with label trickery. Show all posts
21 April, 2008
15 April, 2008
How to get a new car using a cell phone.
Pretty simple - if someone yakking on the cell phone smashes into your car, totaling it, their insurance would pay for a new car. The problem didn't specify you have to use the phone, did it?
10 April, 2008
Perpetual calendar in the head
Today is Thrusday, April 10th, which day of the week is September 3rd? It is actually easy to calculate these things, without the computer's help:
As today is Thursday, 17th, 24th and 31st are also Thursdays. April has only 30 days, so 31st of April is actually May 1st (and it is a Thursday).
Continue with Thursdays: May 1st, 8th, 15th, 22nd, 29th, 36th. May 36th is (36 - 31) = 5th of June.
June 5th, 12th, 19th, 26th, 33rd [-30] = July 3rd, 10th, 17th, 24th, 31st, July 38th = August 7th, 14th, 21st, 28th, 35th, which is September 4th - those were all Thursdays, so September 3rd is a Wednesday.
To go faster we could add several weeks at a time - like 3 or 4 to not overshoot a month completely. 3 weeks (21 days) probably is easier to add, arithmetics-wise, than 28 days.
Let's check October 17th: September 3rd is Wednesday, so September 24th is, too and so is September 45th, which is October 15th. Therefore, October 17th is a Friday.
As today is Thursday, 17th, 24th and 31st are also Thursdays. April has only 30 days, so 31st of April is actually May 1st (and it is a Thursday).
Continue with Thursdays: May 1st, 8th, 15th, 22nd, 29th, 36th. May 36th is (36 - 31) = 5th of June.
June 5th, 12th, 19th, 26th, 33rd [-30] = July 3rd, 10th, 17th, 24th, 31st, July 38th = August 7th, 14th, 21st, 28th, 35th, which is September 4th - those were all Thursdays, so September 3rd is a Wednesday.
To go faster we could add several weeks at a time - like 3 or 4 to not overshoot a month completely. 3 weeks (21 days) probably is easier to add, arithmetics-wise, than 28 days.
Let's check October 17th: September 3rd is Wednesday, so September 24th is, too and so is September 45th, which is October 15th. Therefore, October 17th is a Friday.
Subscribe to:
Posts (Atom)