Skip to content

Instantly share code, notes, and snippets.

View fmosca's full-sized avatar

Francesco Mosca fmosca

View GitHub Profile
{
"gps_control_command": {
"gps_information": {
"name": "GPS Information",
"serviceID": "84A0DD62-E8AA-4D0F-91DB-819B6724C69E",
"characteristicID": "28F59D60-8B8E-4FCD-A81F-61BDB46595A9",
"format": null,
"description": "Acquires and sets the GPS information to the camera.",
"valueFieldsNotes": null,
"propertyRequirements": {
@fmosca
fmosca / vmware-fusion-keyboard.md
Last active March 12, 2019 16:15
Linux in VMWare Fusion on a Mac - Keyboard settings:

~/.Xkbmap:

-option altwin:left_meta_win
-option caps:escape

gnome-tweak-tool:

  • Typing settings (or somewere else in advanced keyboard settings)
    • Alt/Win key behaviour
  • Meta is mapped to Win keys

What is the right programming language for you? Traditionally programming languages are created to concisely model a specific problem, or to maximize expression while solving a broad range of problems. Psychoanalysts have noted that many decisions we make as humans are not based on rational premises

In object-oriented development, we are all familiar with design patterns such as the Strategy pattern and Decorator pattern, and design principles such as SOLID. The functional programming community has design patterns and principles as well. This talk will provide an overview of some of these, and

@fmosca
fmosca / gist:1178453
Created August 29, 2011 14:04
"real" arrows compose-like cocoa keybindings
/* ~/Library/KeyBindings/DefaultKeyBinding.dict */
{
"~-" = {
"<" = ("insertText:", "\U2190");
"\\^" = ("insertText:", "\U2191");
">" = ("insertText:", "\U2192");
"v" = ("insertText:", "\U2193");
};
}