start new:
tmux
start new with session name:
tmux new -s myname
on linux 4.19, I get
error creating new backup file '/var/lib/dpkg/status-old': Invalid cross-device link
when trying to install stuff on a ubuntu docker container. this seems to be an issue with metacopy https://www.spinics.net/lists/linux-unionfs/msg06109.html
issue can be worked around by running
cmake_minimum_required(VERSION 2.8.4) | |
project(Ardupilot) | |
# Function: EXCLUDE_FILES_FROM_DIR_IN_LIST | |
# Description: Exclude all files from a list under a specific directory. | |
# Param _InFileList: Input and returned List | |
# Param _excludeDirName: Name of the directory, which shall be ignored. | |
# Param _verbose: Print the names of the files handled | |
FUNCTION (EXCLUDE_FILES_FROM_DIR_IN_LIST _InFileList _excludeDirName _verbose) |
// Convert a struct sockaddr address to a string, IPv4 and IPv6: | |
char *get_ip_str(const struct sockaddr *sa, char *s, size_t maxlen) | |
{ | |
switch(sa->sa_family) { | |
case AF_INET: | |
inet_ntop(AF_INET, &(((struct sockaddr_in *)sa)->sin_addr), | |
s, maxlen); | |
break; |
/* | |
author: jbenet | |
os x, compile with: gcc -o testo test.c | |
linux, compile with: gcc -o testo test.c -lrt | |
*/ | |
#include <time.h> | |
#include <sys/time.h> | |
#include <stdio.h> |