Access iLO4's RemoteConsole of HP Proliant Microserver Gen8 from macOS

To access the remote console of a HP Proliant Microserver Gen8 from macOS Safari, you need to reload the page “with plugins”, by long-pressing the reload icon in the url bar and clicking on the “reload with plugins” option.
To use the remote virtual drive feature, you need to give the java applet special permissions to access the disk, the first post in this stackoverflow post shows how to do that.

Repair broken contact syncing on macOS Sierra

Yesterday i fixed a problem with the contacts app on my mac. It said, “some Contacts couldn’t be synced” and didn’t sync some of my contacts, most of them where still synced. To invesitgate, I looked in the and filtered for Contacts. It said:

2017-06-20 23:11:35.008086+0200 0x17f462   Fault       0x80000000000545f6   26290  Contacts: (CardDAVPlugin) [] -_handleAddsOrModifies: could not parse vCard in <private>


2017-06-20 23:16:07.355156+0200 0x182af7   Fault       0x8000000000054af8   28288  Contacts: (CardDAVPlugin) [] CardInfoFromVCardData(): Ignored vCard <private>:<private> because ABPerson create failed. VCard: "<private>"

so i knew there was more info for my problem, but it was hidden behind the <private>. How to change this behavior i decribed in an earlier post. After that you can simply backup the data of this card, delete it from the source device and recreate it, this should fix your problem.

Disable log censoring in macOS Sierra (<private>)

To disable log censoring in macOS Sierra, simply execute:

sudo log config --mode "private_data:on"

to reenable:

sudo log config --mode "private_data:off"

for further information i recommand the man page on log. Thanks to mjtsai for his blog post, where I got the info from.

Default textediting keybindings on macOS

On macOS, there are default keybindings for interacting with text like <Ctrl> + t to swap the places of the characters sourroundig the cursor like this: from “foo ba” to “foo ab”. Another default is that you can move the coursor word-wise, by using the <Option> + <Left or Right arrow key shortcut. For me it feels more natural to use the <Ctrl> key as modifier for this. To change this default, you have to create a ~/Library/KeyBindings/DefaultKeyBinding.Dict as well as the folder containing it. Here is mine:

/* ~/Library/KeyBindings/DefaultKeyBinding.Dict
This file remaps the key bindings of a single user on Mac OS X 10.12.2.

This applies to OS X 10.12.2 and possibly other versions.

Here is a rough cheatsheet for syntax.
Key Modifiers
^ : Ctrl
$ : Shift
~ : Option (Alt)
@ : Command (Apple)
# : Numeric Keypad

Non-Printable Key Codes

Up Arrow:     \UF700        Backspace:    \U0008        F1:           \UF704
Down Arrow:   \UF701        Tab:          \U0009        F2:           \UF705
Left Arrow:   \UF702        Escape:       \U001B        F3:           \UF706
Right Arrow:  \UF703        Enter:        \U000A        ...
Insert:       \UF727        Page Up:      \UF72C
Delete:       \UF728        Page Down:    \UF72D
Home:         \UF729        Print Screen: \UF72E
End:          \UF72B        Scroll Lock:  \UF72F
Break:        \UF732        Pause:        \UF730
SysReq:       \UF731        Menu:         \UF735
Help:         \UF746

"^\UF702"  = "moveWordBackward:";                            /* Ctrl + LeftArrow */
"^\UF703"  = "moveWordForward:";                             /* Ctrl + RightArrow */
"^$\UF702" = "moveWordBackwardAndModifySelection:";   /* Ctrl + Shift + Leftarrow */
"^$\UF703" = "moveWordForwardAndModifySelection:";   /* Ctrl + Shift + Rightarrow */

I stole and customized Heisencoder’s DefaultKeyBinding.Dict and all the helpful comments and lists belong to him.

Copyright © 2018 Impressum, Datenschutzerklärung. Powered by , Hugo and Hyde-X