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,862 other subscribers

Archive for the ‘Apple’ Category

Sudoku Solver v2.0 for the Apple II. (via: This week we solve Sudoku on the 6502)

Posted by jpluimers on 2014/08/22

Nice: Sudoku Solver v2.0 for the Apple II.

–jeroen

via: This week we solve Sudoku on the 6502.

Posted in //e, Apple, Apple ][, Power User | Leave a Comment »

How to Move the Dock to a External Display on a Mac (YouTube video)

Posted by jpluimers on 2014/08/08

Most things are simple when you know how to do it.

In this case it was to move the Dock to a different monitor (or to restore it to your main monitor when you accidentally moved it to a secondary monitor).

TbonesTech explains it in the below video, and it is this simple:

On the monitor on which you want the Dock to appear, move the mouse to the bottom of the screen.

Then wait a moment for the Dock to move to that location.

It works in Mavericks. It might work in older versions as well, but I’ve not checked that yet.

–jeroen

via: How to Move the Dock to a External Display on a Mac – YouTube.

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

Windows key character that displays on non-Windows systems (like Mac)

Posted by jpluimers on 2014/08/08

Though there is a Unicode character for the Apple Command Key, there is none for the Windows Key.

The Windows font WinDings does have a character 255 for it, but that font usually is not installed on non-Windows systems. There it will look like Unicode Character ‘LATIN SMALL LETTER Y WITH DIAERESIS’ (U+00FF)

This Unicode code point comes closest to the Windows key: Unicode Character ‘SQUARED PLUS’ (U+229E) and is used by Windows Key page on WikiPedia.

  • The WinDings character looks like this: ÿ
    (non no Windows systems, it will look like an y with two dots on it: ÿ)
  • The Unicode Codepoint U+229E like this: ⊞
    Not a complete match, but pretty close.

The Unicode code points for Mac modifier keys are these:

–jeroen

Posted in Development, Encoding, 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 Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, Software Development, Unicode, Windows, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Vista, Windows XP, Windows-1252 | Leave a Comment »

7zip on a Mac: Keka, 7zip on Windows: their plain installer.

Posted by jpluimers on 2014/08/04

Though I’ve written only a few blog posts about 7zip – my compressor of choice ever since I discovered 7zip some 10 years ago around version 3.13 (their history goes much further back: 1999) – here is a fresh one:

7zip is a fast, free, multi-platform and has great compression. No wonder Toms Hardware gave them an award last year: And The Undisputed Winner Is… 7-Zip.

For Windows, I take the downloads from 7-Zip: there are both x64 and x86 versions (x64 supports more memory so can handle bigger archives).

For Mac, I’ve been using Keka – the free Mac OS X file archiver. Both compressing and decompressing involve dragging the uncompressed or compressed files to the Keka dock icon.

That is slightly more involved than the context menu in Windows, but it works great.

For Windows command line usage, I use either 7za.exe or 7z.exe (uses DLLs, supports more compression)

For Mac command line usage, I use p7zip.

–jeroen

Posted in 7zip, Apple, Compression, 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, OS X 10.8 Mountain Lion, Power User, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »

Mac/PC: sending Wake-on-LAN (WOL) packets

Posted by jpluimers on 2014/07/25

I’ve succesfully woken up these machines:

  • HP XW6600 running ESXi 5.1
  • ThinkPad W701U running Windows 7

I still need to try to wake up a Mac Mini Server running OS X 10.6 (Snow Leopard).

MacBook Air on 10.7 (Lion) and Retina on 10.8 (Mountain Lion) won’t work as they are WiFi only, and WOL does not work over WiFi.

On 10.7 and up it might not work on a Mac Mini Server either, as Apple Introduced Dark Wake.

I used these tools to send WOL packets: Read the rest of this entry »

Posted in *nix, Apple, ESXi5.1, Ethernet, Hardware, HP XW6600, Linux, Mac OS X / OS X / MacOS, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, Network-and-equipment, openSuSE, OS X 10.8 Mountain Lion, Power User, SuSE Linux, Virtualization, VMware, VMware ESXi, Wake-on-LAN (WoL), Windows, Windows 7 | Leave a Comment »

BitTorrent Labs: BitTorrent Sync – distributed peer-to-peer syncing your files without online cloud storage

Posted by jpluimers on 2014/07/18

Interesting for people that do not trust Cloud Storage providers: BitTorrent Labs’ BitTorrent Sync.

I’ve tried an early version, and it works “OK”. Not yet as well-integrated like for instance DropBox, but stable and fast enough.

Important thing for me: works on *nix, OS X and Windows. Hopefully mobile devices will follow soon.

At the time of writing (May 2013), it is the only cross platform freeware entry in Comparison of file synchronization software – Wikipedia, the free encyclopedia.

In the mean time, Thomas Mueller (dummzeuch)wrote a nice blog post with background information on this: Bittorrent Sync, a secure DropBox alternative » twm’s blog.

–jeroen

Posted in *nix, Apple, DropBox, Linux, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, SocialMedia, SuSE Linux | Leave a Comment »

How to change the WiFi network my Chromecast is connected to (via: Frequently Asked Questions – Chromecast Help)

Posted by jpluimers on 2014/07/15

Duh: don’t start the Chromecast extension in Google Chrome, but run Chromecast.app on your Macbook (:

To change the WiFi network your Chromecast is connected to, simply open up the Chromecast app on your phone, tablet, or computer and select your Chromecast from the list. From the Chromecast settings page, select your current Wi-Fi network name and select a new network from the drop-down list.

–jeroen

via: Frequently Asked Questions – Chromecast Help.

Posted in Apple, Chromecast, Google, Mac, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, Power User | Leave a Comment »

HTTP debugging tools

Posted by jpluimers on 2014/07/15

Any web developer should know how to capture and trace HTTP traffic.

I’ve written about Fiddler before, but that’s a Windows specific tool.

Time to have a small list of posts and links to tools that work on various platforms.

I’ve left out Java based tools as there have been too many security issues with Java over the last couple of years.

Tools: Read the rest of this entry »

Posted in *nix, Apple, Development, Fiddler, 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, OS X 10.8 Mountain Lion, Power User, SOAP/WebServices, Software Development, SuSE Linux, Web Development, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | 2 Comments »

Windows: programmatically setting date/time stamps of files

Posted by jpluimers on 2014/07/01

For DOS programs, date and time stamps were used to mark versions of files. For instance, Turbo Pascal 6.0, had a 06:00 time stamp on every file.

You can still do this in Windows, but need to watch for a couple of things:

  • daylight saving time
  • more than one time stamp per file

There are various ways to do it. Besides a graphical Attribute Changer at www.petges.lu (thanks User Randolf Richardson), these are console approaches via How can I change the timestamp on a file?:
Read the rest of this entry »

Posted in *nix, Apple, Batch-Files, Cygwin, 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, OS X 10.8 Mountain Lion, Power User, PowerShell, Scripting, Software Development, SuSE Linux, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | 2 Comments »

“Textmate.app would like to access your contacts”

Posted by jpluimers on 2014/06/25

Both TextMat 1.5 and 2.0 will ask you this upon the first time use:

“Textmate.app would like to access your contacts”

According to their Troubleshooting / MountainLion browse — TextMate Wiki it is valid, but the way they phrase it any sensible user should answer “No way!”.

If you ever want to reverse a decision to such an addressbook question, the only way is to reset it for all the times you answered it:

Perform “tccutil reset addressbook” in a Terminal window as shown in the man page tccutil section 1.

What TextMat should have done instead is customize the text of the question in order to show the intent. This isn’t difficult, as explained on Red Sweater Blog – Can I Get Your Address? by Daniel Jalkut:

In the info.plist, edit the value of the NSContactsUsageDescription key, as suggested by a Tweet from Cabel Maxfield Sasser.

Daniel points to the documentation PDF, where it indeed is stated when you read it very carefully: the detailed text indicates it is for iOS only, but in fact it is there in Mac OS X 10.8 and up as well.

It is also inside the Information Property List Key Reference: Cocoa Keys: the key tells it it for iOS 6+ and OS X 10.8+, but browsing to NSContactsUsageDescription only indicates iOS 6.

–jeroen

via Twitter / voidspace: “Textmate.app would like to ….

Posted in Apple, Development, 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, OS X 10.8 Mountain Lion, Power User, Software Development, xCode/Mac/iPad/iPhone/iOS/cocoa | 2 Comments »