View iOS device console in Terminal
I think the macOS console app is a bit overkill to watch the console output of an attached iOS device. So how to get the same data to show up in your Terminal? Thats quite easy. First install the ...
I think the macOS console app is a bit overkill to watch the console output of an attached iOS device. So how to get the same data to show up in your Terminal? Thats quite easy. First install the ...
When you open a video file (MP4, MKV, MPEG, etc.) in macOS, is GateKeeper (macOS Security) attempting to “verify” the file on first open? Run this in Terminal: defaults write com.apple.LaunchServi...
If you have multiple user accounts on your Mac but don't want to use the Fast User switching functionality, here is a small trick to quickly access them. First step: SSH to your local machine and ...
Tired of re-typing the same argument twice for different commands? For bash there is an easy solution: mkdir testdir cd !$ The '!$' maps to the last argument of the previous command, a real time...
My new Sony digital camera stores movies inside an AVCHD container. Luckily this format is supported on OSX natively and you can at least browse all clips inside with ease. However, if you want to ...
When you're building a VOIP server you soon encounter the problem that a client is behind a NAT (instead of a directly reachable public IP). In this scenario the server can't send packets directly ...
One thing I was missing when downloading torrents with 'magnet:' links was an easy way to transfer this link to my bittorent client (which is running on a different server). After copy-pasting many...
One of the more popular posts on this blog is about textual enums in C++. You can find it here I've received a very friendly e-mail this weekend from Anton Bachin, the author of the better enums l...
I've recently installed a program (let's call it Foo) on my home server that requires one port (let's call that 12345) to be forwarded from the public interface on my ADSL modem to my internal serv...
While setting up an SSH jump host I had the need for a small chroot environment that users would end up in. The 'regular' way is to create a jail directory somewhere, set up basic directories (/bin...