- Install Docker Desktop for Mac
- Download the
unifi-controller
container.
docker pull linuxserver/unifi-controller
unifi-controller
container.docker pull linuxserver/unifi-controller
#--------------------------------------------------------------------- | |
# Global settings | |
#--------------------------------------------------------------------- | |
global | |
log 127.0.0.1 local2 | |
chroot /var/lib/haproxy | |
pidfile /var/run/haproxy.pid | |
maxconn 2048 | |
user haproxy |
Create a brand new ed25519 key pair
ssh-keygen -o -a 100 -t ed25519
Get the pub key and put the result in your lxd default profile
cat ~/.ssh/ed25519.pub
lxc profile edit default
As the web component specs continue to be developed, there has been little information on how to test them.
In particular the /deep/
combinator has been deprecated in Shadow DOM 1.0. This is particularly painful since
most end-to-end testing frameworks rely on elements being discoverable by XPath or calls to querySelector.
Elements in Shadow DOM are selectable by neither.
Webdriver.io has the standard actions by selectors, but also allows browser executable scripts to return an element
frontend https-in | |
mode tcp | |
bind *:443 ssl crt /etc/ssl/dummy.pem alpn h2,http/1.1 | |
use_backend nodes-http2 if { ssl_fc_alpn -i h2 } | |
default_backend nodes-http | |
backend nodes-http | |
server node1 web.server:80 check | |
backend nodes-http2 |
I upgraded to ruby 2.2.2 since I had issues installing certain gems like nokogiri and others on ruby 1.9.3
I ran into an issue with polyglot which for some reason tried to require
minitest: polyglot.rb:65:in
require': cannot load such file -- minitest/unit (LoadError)`
solution: add minitest to Gemfile
ran into a ruby 2.2.2 related error:
dyld: Symbol not found: _rb_thread_select
since ruby 2.2 this has been renamed to _rb_thread_select
/** | |
* hexagon clip-path | |
*/ | |
div | |
{ | |
width: 400px; | |
height: 346px; /* ½√3 × width */ | |
position: relative; | |
overflow: hidden; |
============= unit modeling | |
Property: schema:depth | |
domainIncludes: schema:Product | |
rangeIncludes: [ 'schema:Distance', 'schema:QuantitativeValue' ] | |
Property: schema:width | |
domainIncludes: [ 'schema:MediaObject', 'schema:Product' ] | |
rangeIncludes: [ 'schema:Distance', 'schema:QuantitativeValue' ] |
How to create the topojson map:
curl -o estados.zip http://mapserver.inegi.org.mx/MGN/mge2010v5_0.zip
curl -o municipios.zip http://mapserver.inegi.org.mx/MGN/mgm2010v5_0.zip
unzip estados.zip
unzip municipios.zip
ogr2ogr states.shp Entidades_2010_5.shp -t_srs "+proj=longlat +ellps=WGS84 +no_defs +towgs84=0,0,0"
ogr2ogr municipalities.shp Municipios_2010_5.shp -t_srs "+proj=longlat +ellps=WGS84 +no_defs +towgs84=0,0,0"
topojson -o mx_tj.json -s 1e-7 -q 1e5 states.shp municipalities.shp -p state_code=+CVE_ENT,state_name=NOM_ENT,mun_code=+CVE_MUN,mun_name=NOM_MUN
Copyright (c) 2013 Ross Kirsling | |
Permission is hereby granted, free of charge, to any person obtaining | |
a copy of this software and associated documentation files (the | |
"Software"), to deal in the Software without restriction, including | |
without limitation the rights to use, copy, modify, merge, publish, | |
distribute, sublicense, and/or sell copies of the Software, and to | |
permit persons to whom the Software is furnished to do so, subject to | |
the following conditions: |