Neat CLI command of the day

If you executed a command and neglected to use sudo, you can execute “sudo !!” to re-execute the previous command with sudo prepended.

Quickly check if user can sudo

Here’s a shell script to quickly test if a user can run sudo commands.

Bookmark: JTAG explained (finally)

Easy to follow explanation on what JTAG is and how to use it to hack your way into hardware devices.

Note: Flash Photon firmware over USB

Note to self for when I forgot how to flash my Particle Photon firmware over USB. Maybe it is useful information for someone else too.

Fix for not working accent menu macOS

Steps to resolve the non-functioning Accent Menu on macOS. On my Mac this feature disabled itself after one of the recent updates. No reboots required.

Security is not a boolean proposition. It’s not “secure” versus “insecure”, “safe” versus “unsafe”, rather it is a spectrum of controls that all contribute to an overall security posture. There is no “fully”, there is no “completely”; every system – every single one – has weak points and a sufficiently well-equipped and determined adversary will find them.

Troy Hunt

Elliot working for Allsafe Cybersecurity in the TV series ‘Mr Robot’, while he himself is the weak link compromising the whole chain of security.

How to write screen output to a log file

How to have the screen command log its output in realtime to a file. Purely command line, no .screenrc file involved.

Two-factor vs secondary authentication

Just a quick overview about the difference between two-factor (2FA or TFA) and secondary authentication methods, for those new to the concept. Confusing one method by another can lead to a misguided sense of security.

Connecting an Osram Smart+ plug to Philips Hue

How to link an Osram Smart+ on/off switch to the Philips Hue bridge for remote control, scenes and timers

Everyone is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.

— Albert Einstein (or maybe not)

(author unknown)

Speed up Synology DiskStation

Steps to make a Synology DiskStation run faster by disabling the memory compression.

Fix for Bad interpreter: Operation not permitted

Run this command to fix the Operation not permitted error on macOS.

Older Posts »
Page 1 of 6