Mountain Lion (10.8) has three main difference compared to Lion (10.7):
- XCode 4.4 does not install Command Line Tools by default
- X11 isn't available anymore
- The installed version of OpenSSL has some bugs
Recent releases have been pre-built using cross-compilers and this script and are downloadable below.
If you have found these packages useful, give me a shout out on twitter: @adammw
# these info are valid today | |
# 4th March 2013 | |
# flush latest Arch for Pi dist | |
# via dd or other ways | |
# With A DHCPed Network Cable | |
pacman -Syu | |
sync | |
reboot |
This gist is deprecated in favor of https://github.com/ninenines/cowboy/blob/master/doc/src/guide/specs.asciidoc which has a formatted version at https://ninenines.eu/docs/en/cowboy/2.0/guide/specs/
'use strict'; | |
let Service = require("HAP-NodeJS").Service; | |
let Characteristic = require("HAP-NodeJS").Characteristic; | |
let WebSocketClient = require('websocket').client; | |
class Utils { | |
assertUtf8Message(message) { | |
return new Promise((resolve, reject) => { | |
if (message.type === 'utf8') { |
# MikroTik (RouterOS) script for automatically setting DNS records | |
# for clients when they obtain a DHCP lease. | |
# | |
# author SmartFinn <https://gist.github.com/SmartFinn> | |
:local dnsTTL "00:15:00"; | |
:local token "$leaseServerName-$leaseActMAC"; | |
# Normalize hostname (e.g. "-= My Phone =-" -> "My-Phone") | |
# - truncate length to 63 chars |