Little Discoveries

Soldato
Joined
10 Mar 2009
Posts
4,473
Location
South West
The middle mouse button opens links in a new tab, I really don't know how I missed that

MW

And the middle mouse button closes tabs in FireFox, annoyingly after trying it on this page! :mad:

Alt and Print Screen highlights the live window rather than the entire screen. Oldy but amazing how many people don't know about it.

That you can get away with buying large screen TV's for £20 by putting them through on self service checkouts as button mushrooms. ;)
 
Associate
Joined
21 Sep 2010
Posts
1,215
That 'F2' will put whatever is highlighted, editable. I.e. a file name/field in excel

Genius!

The middle mouse button opens links in a new tab, I really don't know how I missed that

Mega genius!

Alt and Print Screen highlights the live window rather than the entire screen.

Mmmmmmmonster genius!

How did I miss all these?

Now, do I have anything to add? Hmmm, F4 repeating whatever your last command was in MS programmes. Can there be a human being alive who doesn't already know that one?
 
Man of Honour
Man of Honour
Joined
7 Nov 2002
Posts
7,613
Location
The Winchester
Learning that I had been tying my shoelaces the wrong way round all my life and correcting it has literally changed my life as they never come undone anymore.

Same. Thirty years of doing it wrong and all I needed to change was right-over-left instead of left-over-right at the start, so it was a reef knot rather than a granny knot. No more infuriating double knots required.
 
Soldato
Joined
16 Nov 2010
Posts
16,498
Location
Swimming in a lake
That you can pinch apart the touch keyboard on ios 5 to split it rather than having to press and hold the split button... Also found five finger close apps the other day, and remembered the four finger swipe.

The keyboard one is most used, but still all were nice..

kd
 
Soldato
Joined
4 Aug 2009
Posts
5,310
Location
London
That you can pinch apart the touch keyboard on ios 5 to split it rather than having to press and hold the split button... Also found five finger close apps the other day, and remembered the four finger swipe.

The keyboard one is most used, but still all were nice..

kd


Didn't know that you could split the kb. Thanks.

I'll share another recent discovery... the unix join command. Saves a lot of hassle merging files that have a common key! Despite my example, it's best to ensure that both files are sorted by the common key first to avoid any unpredictable behaviour.

EG:

$ cat file1
John,3841
Dave,3692
Harry,3102

$ cat file2
John,Accounts
Dave,Support
Harry,Sales

$ join -t "," -j1 1 -j2 1 -o 1.1 1.2 2.2 file1 file2

(so join with comma as delimiter, join on field 1 of file 1 and field 1 of file 2, then output file1.field1, file1.field2, file2.field2 - and the input files are file1 and file2)

Dave,3692,Support
Harry,3102,Sales
John,3841,Accounts

It's very fast and I use it in some scripts to merge some rather large output tables. The method I was using before I discovered this was a fair bit slower.

This is really useful. Thanks.
 
Man of Honour
Joined
11 Dec 2002
Posts
10,815
Location
Darkest Norfolk
That you can pinch apart the touch keyboard on ios 5 to split it rather than having to press and hold the split button... Also found five finger close apps the other day, and remembered the four finger swipe.

The keyboard one is most used, but still all were nice..

kd

if you split the keyboard by touch it sits lower on the screen rather randomly, but its a much nicer position.

Shoe laces wise if the loops point up and down rather that side to side your doing it wrong - when your tieing the bows together you need to change the side that goes under around...
 
Soldato
Joined
14 Mar 2004
Posts
8,040
Location
Brit in the USA
Alt and Print Screen highlights the live window rather than the entire screen. Oldy but amazing how many people don't know about it.

:eek: You, sir, are a god among men. How have I been using Windows since 1993 and not discovered this? :p

I found that middle mouse button trick for opening something in a new tab a while back - I just can't get myself to use it for some reason. Just always right click the link and do it there....can't stop myself.
 
Caporegime
Joined
18 Oct 2002
Posts
32,618
'Git bisect' blew my mind when it was shown to me last week.

If you have some units tests in your code base that can output success or failure then you can write a short script that runs these tests checking for success and git bisect will do a binary search through all previous revisions to find the revision which broke your code (i.e where the bug was introduced).
 
Caporegime
Joined
18 Oct 2002
Posts
32,618
I'll share another recent discovery... the unix join command. Saves a lot of hassle merging files that have a common key! Despite my example, it's best to ensure that both files are sorted by the common key first to avoid any unpredictable behaviour.

EG:

$ cat file1
John,3841
Dave,3692
Harry,3102

$ cat file2
John,Accounts
Dave,Support
Harry,Sales

$ join -t "," -j1 1 -j2 1 -o 1.1 1.2 2.2 file1 file2

(so join with comma as delimiter, join on field 1 of file 1 and field 1 of file 2, then output file1.field1, file1.field2, file2.field2 - and the input files are file1 and file2)

Dave,3692,Support
Harry,3102,Sales
John,3841,Accounts

It's very fast and I use it in some scripts to merge some rather large output tables. The method I was using before I discovered this was a fair bit slower.

thats handy.
 
Back
Top Bottom