Skip to content

Instantly share code, notes, and snippets.

View ashleylester's full-sized avatar

Ashley Lester ashleylester

View GitHub Profile

Java Interface Notes

Interfaces are meeting points

Interfaces exist in many places and have different implications depending on their context. Interfaces exist between lots of different entities:

  • Organisations
  • Components in a system
  • Objects in an object-oriented application
  • Drivers and operating systems
@przemoc
przemoc / 10-trackpoint.rules
Last active January 16, 2019 23:24
udev rule (put it in /etc/udev/rules.d/) to make trackpoint more sensitive and speedy
### default values: sensitivity=128, speed=97
ACTION=="add", SUBSYSTEM=="input", ATTR{name}=="TPPS/2 IBM TrackPoint", ATTR{device/sensitivity}="196", ATTR{device/speed}="255"
@ghoseb
ghoseb / ns-cheatsheet.clj
Last active April 11, 2024 05:28 — forked from alandipert/ns-cheatsheet.clj
Clojure ns syntax cheat-sheet
;;
;; NS CHEATSHEET
;;
;; * :require makes functions available with a namespace prefix
;; and optionally can refer functions to the current ns.
;;
;; * :import refers Java classes to the current namespace.
;;
;; * :refer-clojure affects availability of built-in (clojure.core)
;; functions.