The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,861 other subscribers

Archive for the ‘Mac OS X / OS X / MacOS’ Category

some more lsof, netstat and rpcinfo examples

Posted by jpluimers on 2016/03/07

Last friday I updated the examples at *nix networking – lsof: How to tell what process has a specific port open on Linux (via: Server Fault) as I needed to document some of the machines around here (so it becomes easier replacing them).

I also added some links to background information and (when I get to using it: OS X still goes without) a good iproute2 starter page.

–jeroen

Posted in *nix, *nix-tools, Apple, Communications Development, Cygwin, Development, Internet protocol suite, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.6 Snow Leopard, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, TCP | Leave a Comment »

my ScanSnap ix500 has a box too…

Posted by jpluimers on 2016/03/04

So my ScanSnap ix500 has a box too (actually a Leitz Rotho Profiline 10 Schübe drawer). The ix500 scans double sided and takes like 2 seconds per sheet. Works through WiFi (or USB) on both PC and Mac.

This is the process:

  1. I scan and roughly sort the document by destination in a drawer.
  2. A Windows VM creates OCR PDF and puts them into the cloud.
  3. It gets synced to my Macs, where spotlight indexes them by content.
  4. Once a month I split off the parts for my bookkeeper, file important non bookkeeping stuff and shred the rest.
  5. I name files on a selective base (as spotlight is very good at finding the rest).

This is why I like it over scanning with your mobile phone any time:

My ix500 setup just works.

Now I need to optimise the S510 scanned files. Maybe linux – optimize PDF files (with Ghostscript or other) – Stack Overflow (from the same thread) works.

–jeroen

via: Hey everyone, we are currently preparing the next release.

Posted in Fujitsu ScanSnap, ix500, LifeHacker, Power User, Scanners, SpotLight | Leave a Comment »

Reloop RMX-40 USB – when your Mac doesn’t recognise it.

Posted by jpluimers on 2016/02/29

Reloop has posted the below for DJ controlers (like Contour IE, Jockey 3 ME and Digital Jockey 2 ME), but it also applies to their mixers, for instance my Reloop RMX-40 USB – Reloop (but not limited to Reloop audio equipment) in combination with either of my:

  • MacBook Air (13-inch, Mid 2011)
  • MacBook Pro (Retina, 15-inch, Late 2013)

All these machines have USB 3.0 ports. But the workarounds below work:

Read the rest of this entry »

Posted in Apple, LifeHacker, Mac OS X / OS X / MacOS, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | Leave a Comment »

Tip: How to play a playlist one song at a time … – via: Apple Support Communities

Posted by jpluimers on 2016/02/26

It’s obvious if you have seen this once, but it wasn’t clear to me how to play only individual songs from a playlist. Luckily my search got this step by step guide as the first hit:

  1. Create the playlist.
  2. Uncheck all of the check boxes in the playlist (In iTunes for Windows, ctrl click one of the check marks to uncheck all of the checkboxes at once)
  3. Now double click (or select and press spacebar) a song to play it. It will stop when finished because there is no other song checked to be played next.
  4. If you want to change back to normal sequential play, ctrl click one of the check marks again to change all of the checkboxes back to the checked status.

The tip works for both Mac and Windows.

I needed this as part of a pub-quiz so I could finish the questions and answers before moving on to the next track in the playlist.

Thanks hiker1251!

–jeroen

via: Tip: How to play a playlist one song at a time … | Apple Support Communities.

Posted in Apple, iTunes, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, Power User, Windows | Leave a Comment »

Building and running upc_keys.c on Mac OS X

Posted by jpluimers on 2016/01/27

Even after the SpeedTouch password algorithms were disclosed 2008, ISPs keep using weak algorithms to generate their default WPA/WPA2 passwords in their routers:

A short while ago, blasty published code to generate the WPA2 passwords for UPC routers. Even though Ziggo now owns UPC, a lot of  this UPC equipment is still in use. I guess it won’t be for long that similar code for Ziggo routers will be published too.

The code at https://haxx.in/upc_keys.c is easy to download, build and run on a Mac OS X machine even when you don’t have Xcode installed (use the “xcode-select –install” trick):

wget https://haxx.in/upc_keys.c
gcc -O2 -o upc_keys upc_keys.c -lcrypto
./upc_keys UPC0053284 5
./upc_keys UPC0053284 24

–jeroen

Posted in *nix, *nix-tools, Apple, C, Development, gcc, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, Power User, Software Development | Leave a Comment »

dig show only the answer section: specify both +noall and +answer – via: Server Fault

Posted by jpluimers on 2016/01/25

The solution: add both the +noall and +answer flags before the query.

dig +noall +answer google.de

–jeroen

via dig show only answer – Server Fault.

Posted in *nix, *nix-tools, Apple, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, Power User, SuSE Linux | Leave a Comment »

Getting your public IP address from the command-line

Posted by jpluimers on 2016/01/13

Many sites giving your public IP address return a web page with a bloat of html. From the command-line, you are usually only interested in the IP-address itself. Few services return exactly that.

Below are command-line examples to provide the public IP address mostly from a *nix perspective. Usually you can get similar commands to work with Windows binaries for wget and Windows binaries for curl.

In the end, I’ve opted for commands in this format, as I think akamai will last longer than the other sites (but does not include an end-of-line in the http result hence the echo on Mac/*nix):

I’ve not tried aria2 yet, but might provide commands for that in the future.

These are the Linux permutations for akamai:

curl whatismyip.akamai.com && echo
curl ipv4.whatismyip.akamai.com && echo
curl ipv6.whatismyip.akamai.com && echo
curl ipv4.whatismyip.akamai.com && echo && curl ipv6.whatismyip.akamai.com && echo

The last two are convenient when you have both IPv4 and IPv6 configured on “the outside”.

You can replace curl with wget -q -O – (which outputs to stdout) for each command. You can even ommit the http:// (as that is the default protocol for both curl and wget).

Read the rest of this entry »

Posted in *nix, *nix-tools, Apple, bash, bash, Batch-Files, cURL, Development, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Scripting, Software Development, SuSE Linux, wget | Leave a Comment »

Mac OS X: integrating Beyond Compare 4 into SourceTree 2.x

Posted by jpluimers on 2015/12/28

Unlike SourceTree for Windows, SourceTree for Mac still doesn’t automagically detect Beyond Compare even though that has been available for Mac OS X since :  [SRCTREE-2092] Add built-in support for Beyond Compare version 4 – Atlassian JIRA.

Even modifying my ~/.gitconfig didn’t work, but manual configuration did. Here are the steps:

  1. Start the UI version of Beyond Compare
  2. Select the Beyond Compare menu, install the command-line tools
    Read the rest of this entry »

Posted in Apple, Beyond Compare, Development, DVCS - Distributed Version Control, Keyboards and Keyboard Shortcuts, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Source Code Management, SourceTree | 3 Comments »

How to verify app signatures in OS X | MacIssues

Posted by jpluimers on 2015/12/18

Interesting:

For codesign verification:

find /Applications -d 1 -name "*.app" -exec codesign --verify --verbose {} \;

For system policy assessment:

find /Applications -d 1 -name "*.app" -exec spctl --assess --verbose {} \;

–jeroen

Source: How to verify app signatures in OS X | MacIssues

Posted in Apple, bash, Development, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.6 Snow Leopard, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Scripting, Software Development | Leave a Comment »

Double up two Ultimate Ears devices to your Mac (or PC)

Posted by jpluimers on 2015/12/16

Two great Ultimate Ears tricks. First pairing them (thanks daleph, see also the video below):

To pair 2 devices without an app:

  1. Pair the FIRST speaker with your mac:
    1. Go to System Preferences > Bluetooth
    2. Press and hold the Bluetooth button until a tone is heard, it should appear as UM BOOM, pair it.
  2. Start playing music
  3. On the device now playing music press and hold the + and the Bluetooth keys until a tone is heard
  4. On the SECOND speaker press the Bluetooth button twice quickly
  5. After a few seconds both speakers will join together

They are only added as an identical pair, NOT Left and Right stereo

HTH

Dale

Source: Re: UE Boom app for Mac – Logitech Forums

Then doing double up in stereo (thanks tomborai and McAllan):

There IS a way… you just gotta find a buddy who has the UE Boom App on either iOS or Android.

Set up STEREO mode and enable “Double Up Lock” just once with the App, ensure it plays proper stereo, then disconnect and power off both speakers.

App no longer needed.

Whenever you desire, power on both speakers around the same time, they will pair within seconds.

Then take your MAC, pair the first speaker only (LEFT), et voila, the speakers have memorized the stereo mode, enjoy!

Sources:

–jeroen

Read the rest of this entry »

Posted in Apple, Mac OS X / OS X / MacOS, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | 4 Comments »