Skip to content

Instantly share code, notes, and snippets.

View andrsd's full-sized avatar
🦖
alive

David Andrs andrsd

🦖
alive
  • Idaho Falls, Idaho, United States
View GitHub Profile
@andrsd
andrsd / Inkscape.md
Last active May 8, 2020 13:29
Settings for STIKA SV-8

HPGL export

Plotter settings

  • Resolution X: 1016.0
  • Resolution Y: 1016.0
  • Pen number: 1
  • Pen force: 0 (has no effect)
  • Pen speed: 1 (increase to faster cutting)
  • Rotation: 270
@andrsd
andrsd / customkeys.md
Last active March 19, 2020 12:23
Volume on Up/Down buttons for OSMC remote control in KODI

Place this in ~/.kodi/userdata/keymaps/customkeys.xml

<keymap>
 <visualisation>
  <keyboard>
   <key id="166">volumeup</key>
   <key id="167">volumedown</key>
   <key id="168">skipnext</key>
   <key id="169">skipprevious</key>
 playpause
@andrsd
andrsd / README.md
Created April 15, 2016 22:38
Remapping keys for Apple remote (silver) in Kodi

Using Apple Remote (silver) with Kodi

Having Kodi installed on Mac mini and trying to use Apple Remote?

You do not need lircd, the remote behaves like a keyboard and sends VolumeUp, VolumeDown, Back, Forward, Enter, Menu and PlayPause when a buton is pressed. Thus, we need to change the key mapping if we want the behavior of moving left, right, up, down and back.

  1. Place the file apple.remote.xml (below) in KODI_DATA_DIR/userdata/keymaps.
  2. Restart Kodi.
@andrsd
andrsd / arch-mac-mini.md
Last active April 9, 2024 06:48
Install Arch linux on Mac Mini (late 2012)

Install Arch Linux on Mac mini

We will be creating dual boot for OS X and Linux with no special boot loader. For other setup, refer to [1]. We will keep all data on an external hard drive, so we do not need huge amount of space for the linux system. We will install from an USB thumb drive (will need at least 1GB in size), newer Minis do not have CD roms.

Prepare the disk in Mac OS X (El Capitan)

@andrsd
andrsd / tvheadend.md
Last active April 29, 2016 01:10
tvheadend install

tvheadend

  • Hardware: Hauppauge WinTV 955Q

Install