A collection of information about accessing raw MultiTouch events on MacOS.
Compiled while building mtif (a MultiTouch interface for common lisp).
| // | |
| // Regular Expression for URL validation | |
| // | |
| // Author: Diego Perini | |
| // Created: 2010/12/05 | |
| // Updated: 2018/09/12 | |
| // License: MIT | |
| // | |
| // Copyright (c) 2010-2018 Diego Perini (http://www.iport.it) | |
| // |
| #!/bin/bash | |
| pkgin -y in rabbitmq | |
| rabbitmq-plugins enable rabbitmq_stomp rabbitmq_management | |
| cat > /opt/local/etc/rabbitmq/rabbitmq-env.conf <<-EOF | |
| RABBITMQ_NODENAME=rabbit | |
| RABBITMQ_HOME=/var/db/rabbitmq | |
| EOF |
| Function::property = (prop, desc) -> | |
| Object.defineProperty @prototype, prop, desc | |
| class Person | |
| constructor: (@firstName, @lastName) -> | |
| @property 'fullName', | |
| get: -> "#{@firstName} #{@lastName}" | |
| set: (name) -> [@firstName, @lastName] = name.split ' ' | |
| p = new Person 'Leroy', 'Jenkins' |
| import Cocoa | |
| @NSApplicationMain | |
| class AppDelegate: NSObject, NSApplicationDelegate { | |
| @IBOutlet weak var window: NSWindow! | |
| func applicationDidFinishLaunching(_ aNotification: Notification) { | |
A collection of information about accessing raw MultiTouch events on MacOS.
Compiled while building mtif (a MultiTouch interface for common lisp).
A quick guide on how to setup a GPU-Passthorugh. Below are some of my Resources
The Arch Wiki is the goto place for additional information and performance tweaks like CPU-Pinning.
| // abstract class, not intended to be instantiated directly | |
| class CalendarItem { | |
| static #UNSET = Symbol("unset") | |
| static #isUnset(v) { | |
| return v === this.#UNSET; | |
| } | |
| static { | |
| for (let [idx,msg] of [ | |
| "ID is already set.", | |
| "ID is unset.", |