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
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); |
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
#!/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 | |
# |
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 _; | |
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
wpasupplicant
sudo nmcli radio wifi on
sudo iwconfig
sudo iwlist wlp3s0 scan
netplan
by dropping a file called 01-netcfg.yaml
into /etc/netplan/
or edit existing file there. See example below.netplan try
, netplan generate
, netplan apply
.