Author Topic: Tech tips  (Read 2297 times)

Twed

  • I need you so, Medieval Zone, you don't need me
Tech tips
« on: April 18, 2019, 05:28:25 AM »
What little nuggets do you know that other people might not be aware of, but should be?

I was just making a length of cat5e cable and realised that everybody who might ever need an Ethernet cable should know how to do this. A tenner on crimpers and a 30 on a roll of cable and you've got all the Ethernet coords you'll ever need, practically forever, and you get to choose what length they'll be. Winner.

Re: Tech tips
« Reply #1 on: April 18, 2019, 07:31:33 AM »
Typing tree /f into a Command Prompt or PowerShell window makes you look like an l33t h4x0r.

Re: Tech tips
« Reply #2 on: April 18, 2019, 08:05:27 AM »
I was just making a length of cat5e cable
Is that like goatse cable? If it is, I don't want to see your crimper.

Re: Tech tips
« Reply #3 on: April 18, 2019, 03:05:24 PM »
Quite a lot of people that have been using *nix for years are surprised to find that 'cd -' will take you to your previous directory. Same applies for 'git checkout -'.

Although I knew on bash '!!' would replay the last command, I didn't know for quite a while it was clever enough to do 'sudo !!'.


Zetetic

  • Burying isn't the same as killing.
Re: Tech tips
« Reply #4 on: April 18, 2019, 05:07:31 PM »
zsh will tab-complete '!!', which is nice.

Re: Tech tips
« Reply #5 on: April 18, 2019, 05:10:28 PM »
Isn't that three button pushes for when pushing the up arrow would've sufficed?

Zetetic

  • Burying isn't the same as killing.
Re: Tech tips
« Reply #6 on: April 18, 2019, 05:12:52 PM »
Useful in the sort of situation you touched upon: Write out 'sudo !!', and want to check what you're about run as root or to fiddle with it a bit. Eminently doable in other ways, but pleasant to have to the option in a fairly intuitive fashion.

To be honest, I don't tend to find that keypresses are my scarcest resource.

Re: Tech tips
« Reply #7 on: April 18, 2019, 05:27:35 PM »
You can charge a Switch Pro Controller with a Samsung S9 phone charger.

Re: Tech tips
« Reply #8 on: April 18, 2019, 05:51:11 PM »
Instead of shutting down your computer using the start menu just flick it off at the plug its quicker

Re: Tech tips
« Reply #9 on: April 18, 2019, 09:39:58 PM »
Haha, genuine laugh.

Dex Sawash

  • Silver Member
  • ****
  • Upph√§ngningspunkterna
Re: Tech tips
« Reply #10 on: April 18, 2019, 11:45:40 PM »
A regular 6 point metric socket will work on an E torx bolt head

Twed

  • I need you so, Medieval Zone, you don't need me
Re: Tech tips
« Reply #11 on: April 19, 2019, 04:42:23 AM »
To conveniently stop a Windows machine from sleeping (so you can follow a recipe etc.):

Win+X>Mobility Center>Turn Presentation Mode On

Every other way is painfully slow.

Re: Tech tips
« Reply #12 on: April 19, 2019, 05:14:32 PM »
To conveniently stop a Windows machine from sleeping (so you can follow a recipe etc.):

Win+X>Mobility Center>Turn Presentation Mode On

Every other way is painfully slow.

That option isn't available on non-mobile computers. There are loads of tiny freeware programs that you can download that will prevent Windows from sleeping, though, so having one of them handy would probably be the quickest way.

Twed

  • I need you so, Medieval Zone, you don't need me
Re: Tech tips
« Reply #13 on: April 19, 2019, 05:25:41 PM »
Yeah. I actually landed at this solution because the first few of those programs I found were closed source and I don't really trust them (not that open source = malware free, but still).

I don't have a use-case for this with desktop machines (actually all of my non-portable devices are headless servers anyway) so this is a good compromise.

Dex Sawash

  • Silver Member
  • ****
  • Upph√§ngningspunkterna
Re: Tech tips
« Reply #14 on: April 20, 2019, 02:37:20 AM »
Made this tech tip for our moron parts manager this week


the

Re: Tech tips
« Reply #15 on: April 20, 2019, 02:36:39 PM »
In all my years of using Photoshop, something I stumbled across only in the last few years (and wished I knew earlier), is:

While drawing a marquee (square/elliptical), you can hold space to reposition it while you're still drawing it.

I thought it was just me being dim that I'd missed that one (and despite knowing the other Shift/Ctrl/Alt modifiers), but I later spoke to an experienced illustrator who had no idea about it either.

(Without it you end up doing multiple tries to line up the origin before dragging it out.)

Re: Tech tips
« Reply #16 on: April 20, 2019, 02:58:48 PM »
Yeah. I actually landed at this solution because the first few of those programs I found were closed source and I don't really trust them (not that open source = malware free, but still).

I don't have a use-case for this with desktop machines (actually all of my non-portable devices are headless servers anyway) so this is a good compromise.

Tools we shouldn't have to install in 2019 in descending importance:
Clipboard history
Things to make windows/panes 'snap' to a portion of the screen effectively (i know windows does this reasonably well now, but still)
Sleep prevention tools
Vim
« Last Edit: April 20, 2019, 03:20:13 PM by Sebastian Cobb »

Re: Tech tips
« Reply #17 on: April 20, 2019, 07:53:47 PM »
Hide a baby monitor in your bosses house, and sit outside crying as you hear them mock you to their family.

Twed

  • I need you so, Medieval Zone, you don't need me
Re: Tech tips
« Reply #18 on: April 20, 2019, 08:24:40 PM »
Tools we shouldn't have to install in 2019 in descending importance:
Clipboard history
Things to make windows/panes 'snap' to a portion of the screen effectively (i know windows does this reasonably well now, but still)
Sleep prevention tools
Vim
I hope you're saying that Vim is so good it should be installed by default

the

Re: Tech tips
« Reply #19 on: April 20, 2019, 10:28:47 PM »
Hide a baby monitor in your bosses house, and sit outside crying as you hear them mock you to their family.

I thought for a moment you were suggesting impersonating their crying baby through the monitor, causing them to keep going upstairs to check on it.

Re: Tech tips
« Reply #20 on: April 21, 2019, 01:41:33 AM »
I thought for a moment you were suggesting impersonating their crying baby through the monitor, causing them to keep going upstairs to check on it.

That's stage two of the plan.

Cloud

  • Elon who?
Re: Tech tips
« Reply #21 on: April 21, 2019, 03:44:06 PM »
Linus's voice is annoying
Ctrl-; puts the current date in an Excel cell
You can double-click the control box in the top-left of a window (in Windows) to close it, this was the normal way in Windows 3.1 and older and still works now
A lot of system stuff in Windows 10 can be launched by right-clicking the start menu or pressing win-x

Quite a lot of people that have been using *nix for years are surprised to find that 'cd -' will take you to your previous directory. Same applies for 'git checkout -'.

Although I knew on bash '!!' would replay the last command, I didn't know for quite a while it was clever enough to do 'sudo !!'.

Ta, never knew either of those!

Twed

  • I need you so, Medieval Zone, you don't need me
Re: Tech tips
« Reply #22 on: April 21, 2019, 06:49:03 PM »
Quite a lot of people that have been using *nix for years are surprised to find that 'cd -' will take you to your previous directory. Same applies for 'git checkout -'.

Although I knew on bash '!!' would replay the last command, I didn't know for quite a while it was clever enough to do 'sudo !!'.
A good security-related one: putting an empty space before a command will stop it ending up in bash_history. Good for those times where you need to supply a password in the command line.

Re: Tech tips
« Reply #23 on: April 21, 2019, 07:19:47 PM »
A good security-related one: putting an empty space before a command will stop it ending up in bash_history. Good for those times where you need to supply a password in the command line.

I didn't know that.

I quite like using really basic regex hackery when using grep and ps e.g.
Code: [Select]
ps -ef | grep [o]penvpn
It feels sneaky.

And yes I absolutely meant vim should be installed. And tmux.

Re: Tech tips
« Reply #24 on: May 13, 2019, 03:27:15 PM »
I had a bit of a kerfuffle at the weekend mucking around with Docker and trying to get it to use a location that was an NFS mount on the host. Assuming it was either a problem with my docker setup, or the permissions on the host. Turns out it was actually a permissions issue on the NFS - IE root (the default user in the docker container - not sure I like this) was forbidden from writing to it.

Al Tha Funkee Homosapien

  • Nothing is ever as good or bad as you think.
    • http://www.last.fm/user/georgethebadger/
Re: Tech tips
« Reply #25 on: May 13, 2019, 03:53:18 PM »
Use your obsolete DVD-ROM in your desktop PC to store your favourite obsolete CD music album. You can then chuck away the useless CD case and utilise the new storage space in your shelf or CD rack to store one slice of bread or an old birthday card from your dead auntie.

Ronalado

  • RONALADO SCORE FIRST
Re: Tech tips
« Reply #26 on: May 13, 2019, 09:52:05 PM »
if you typing some letters and you type the wrong letter can make is delete with some arrows to left and then botton: DELET

Re: Tech tips
« Reply #27 on: May 13, 2019, 11:12:46 PM »
Woody Allen is short for 'Wooden Allen'.

Al Tha Funkee Homosapien

  • Nothing is ever as good or bad as you think.
    • http://www.last.fm/user/georgethebadger/
Re: Tech tips
« Reply #28 on: May 14, 2019, 09:50:38 PM »
Technically it's 'Wooden Hexagonal'. Wooden Allen is a brand name.

Re: Tech tips
« Reply #29 on: May 15, 2019, 10:26:04 AM »
Have a YouTube channel with millions of followers who now view all computers and phones through the lens of someone who runs benchmarks and processes video for a living.