start new:
tmux
start new with session name:
tmux new -s myname
#!/bin/bash | |
VER=$1 | |
############################################## | |
#from http://zeromq.org/intro:get-the-software | |
############################################## | |
#install dependency | |
sudo apt-get update && \ | |
sudo apt-get install -y libtool pkg-config build-essential autoconf automake uuid-dev | |
# Install libsodium |
This is for students who are running on a Non-Microsoft OS, or students who would rather use a lighter weight IDE
First download VS Code and install it.
Install a C++ extension in VS Code *The extension button is the square logo on the
#include <stdio.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <arpa/inet.h> | |
#include <unistd.h> | |
#include <strings.h> | |
#include <string.h> | |
#include <fcntl.h> | |
#include <stdlib.h> |
Summarized from https://stgraber.org/2016/03/19/lxd-2-0-your-first-lxd-container-312/.
Interestingly, the LXD command line client is named.... lxc
!
lxc image list ubuntu: # ubuntu: is officially supported image source
lxc image list images: # images: is an unsupported source
lxc image alias list images: # lists user-friendly names
#!/usr/bin/env bash | |
script_execution_id=$(uuidgen) | |
log_gelf(){ | |
msg=$1 | |
nc -w 1 -u logserver.tdlabs.local 12205 <<EOF | |
{ | |
"version":"1.1" |