Troubleshooting “digispark” (ATtiny85) on Mac OS X

attiny85-breakout-boardIf you encounter problems programming your “digispark” this info might be helpful. First of all I will assume you have followed the getting started guide on the Digistump wiki (Connecting and Programming Your Digispark). Should you after completing these steps experience issues with programming your “digispark”, check out these basic troubleshooting tips (try different cables, USB hubs etc).

In addition to the tips mentioned above you might also experience an error similar to this: Cannot run program "/Users/{USERNAME}/Library/Arduino15/packages/digistump/tools/micronucleus/2.0a4/launcher": error=13, Permission denied

If you get this error this might be caused due to security restrictions and you need to make the micronucleus tools executable on your machine. Run the following commands (your actual path may vary, i.e. due to a different version of micronucleus):

$ cd ~/Library/Arduino15/packages/digistump/tools/micronucleus/2.0a4/
$ chmod a+wx launcher
$ chmod a+wx micronucleus

Complete error message:

Read More


Guide: Mastering your Apple keyboard on Windows

AppleKeyboardWinWhether you just prefer using the Apple keyboard with your Windows computer, or you are running a Windows virtual machine guest on your Apple hardware, this guide will help get the most out of your experience.

Please note: these tips is based on my experience with a Swedish keyboard layout, and this might differ depending on your actual layout.

Make your keyboard work as it normally does

Once you have installed you keyboard and all basic functionality is in place (i.e. you can log in, write text etc) I recommend the convinient tool Apple Wireless Keyboard (AWK) from UX Soft. This utility program will fix most of your function keys to behave like they normally do on your native Mac OS X experience. You can easily switch between Special/Media Keys mode (Brightness, Media Playback, Volume etc) or Function Keys mode (F1-F12).

Improve your effectiveness by using your keyboard as you’re used to

Although AWK fixes the basic special key functionality for your Apple keyboard in Windows there is one area that (previously) caused me a lot of headache. And that is all the Cmd + XXX combinations you are used to. Take “Copy” for example. On your Mac OS X machine you would use Cmd + C to copy some text, while logged into Windows you have to use Ctrl + C instead. And if you are like me and rely heavily on keyboard shortcuts to be effective and also switch back and forth between OS X and Windows this becomes annoying and a real productivity killer.

So I’ve put together a small utility (actually a compiled AutoHotKey script) to fix a lot of these shortcuts. Below you will find some examples, for full details refer to the Apple Keyboard for Windows (AKfoW) project page.

Basic features of AKfoW:

  • Now Media Playback works with other programs than iTunes, like Spotify for example
  • You can now use Cmd + T to open tabs and Cmd + W/Q to close windows and entire applications (the latter is equivalent to Alt + F4)
  • Copy, Cut and Paste works as you are used to
  • Cmd + Arrow works like Home / End / Page Up / Page Down
  • Cmd & Shift & Alt + Arrow will snap the current window to Left / Top / Right / Bottom (like Docker etc works on OS X)
  • F13 can be used to take screenshots
  • Also there is a “developers special”: Alt + 8/9 will get you square brackets and adding the Alt-key modifier will give you curly brackets instead

Unfortunately I haven’t found a solid replacement for Alt + Tab (which still causing some frustration for me).

Guide: Backup your e-mail signatures in Outlook for Mac

How you put som effort in you e-mail signatures in Outlook for Mac then you maybe want to keep the safe. Follow these simples steps to backup your signatures, wether you just want to keep them safe or if you intend to move to a new computer.

  1. Close Outlook
  2. Locate your Office 2011 Identities-folder (~/Documents/Microsoft User Data/Office 2011 Identities/)
  3. Open the identity folder to backup signatures from (i.e. any of the subfolders in the Office 2011 Identities folder) a) Typically you have only one identity and this one should be named Main Identity (~/Documents/Microsoft User Data/Office 2011 Identities/Main Identity)) b) If you have multiple identities you could either backup all the subfolders, or you choose one subfolder to backup
  4. Navigate into the Data Records subfolder (for example ~/Documents/Microsoft User Data/Office 2011 Identities/Main Identity/Data Records/)
  5. Copy the Signatures folder to a safe place
    1. Optionally you could zip this folder
  6. Done

More details about recovering identities can be found at

Ok, now the files are safe. How about restoring these files on a new computer? It is almost as simple, just follow these steps: Read More