- Install
wpasupplicant
- Turn on wifi radios:
sudo nmcli radio wifi on
- Check your devices are recognised even if they're not "managed":
sudo iwconfig
- Check your wifi (here called "wlp3s0") is capable of detecting nearby routers:
sudo iwlist wlp3s0 scan
- Configure
netplan
by dropping a file called01-netcfg.yaml
into/etc/netplan/
or edit existing file there. See example below. netplan try
,netplan generate
,netplan apply
.
For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.
After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream myapp { | |
server 127.0.0.1:8081; | |
} | |
limit_req_zone $binary_remote_addr zone=login:10m rate=1r/s; | |
server { | |
listen 443 ssl spdy; | |
server_name _; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Service script for running a bundled Meteor application under Forever. | |
# Meteor settings JSON file should be in /etc/meteor/[YOUR APP NAME].json, | |
# and the METEOR_SETTINGS var below should be updated as appropriate. | |
# | |
# chkconfig: 345 80 20 | |
# description: My node app | |
# |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function [ q3 ] = slerp( q1, q2, t ) | |
%SLERP quaternion slerp | |
% computes the slerp of value t between quaternions q1 and q2 | |
q1 = q1 ./ norm(q1); | |
q2 = q2 ./ norm(q2); | |
one = 1.0 - eps; | |
d = q1'*q2; | |
absD = abs(d); |