start new:
tmux
start new with session name:
tmux new -s myname
[sakura] | |
colorset1_fore=rgb(192,192,192) | |
colorset1_back=rgba(0,0,0,1) | |
colorset1_curs=rgb(255,255,255) | |
colorset1_key=F1 | |
colorset2_fore=rgb(192,192,192) | |
colorset2_back=rgba(0,0,0,1) | |
colorset2_curs=rgb(255,255,255) | |
colorset2_key=F2 | |
colorset3_fore=rgb(192,192,192) |
;;; $DOOMDIR/config.el -*- lexical-binding: t; -*- | |
;; Place your private configuration here! Remember, you do not need to run 'doom | |
;; sync' after modifying this file! | |
;; Some functionality uses this to identify you, e.g. GPG configuration, email | |
;; clients, file templates and snippets. | |
(setq user-full-name "Sean Matthews" | |
user-mail-address "sean.d.matthews@gmail.com") |
#!/bin/sh | |
# Dependencies | |
sudo apt install pkg-config autoconf libev4 libev-dev libxcb-composite0-dev libxcb-xinerama0 libxcb-randr0-dev libxcb-randr0 libx11-xcb-dev libjpeg-turbo8 libxcb-util libxcb-util-dev libxcb1-dev libxkbcommon-dev libxkbcommon-x11-dev libxcb-xinerama0-dev libxcb-image0-dev xcb-xrm libxcb-util-dev libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev xorg-macros xutils-dev xorg-macros libpam0g-dev | |
# xcb-util-xrm | |
git clone https://github.com/Airblader/xcb-util-xrm | |
cd xcb-util-xrm | |
git submodule update --init | |
./autogen.sh --prefix=/usr |
#include "SeparatingAxisTheorem.hpp" | |
#include <vector> | |
using namespace std; | |
void SeparatingAxisTheorem::getProjectionAxes(const vector<EigenPt>& verts, | |
vector<EigenPt>& axes) | |
{ | |
for (int i=0; i<verts.size(); ++i) { |
#!/usr/bin/env python | |
from collections import OrderedDict | |
from os import path | |
from PIL import Image | |
import argparse | |
import matplotlib.pyplot as plt | |
import numpy as np | |
import os |
export ROS_MASTER_URI=http://localhost:11311 | |
yesmaster() { | |
export ROS_MASTER_URI=http://$1:11311 | |
} |
# crontab -e | |
# Backups at 5:15am every day | |
15 05 * * * /usr/local/bin/restic -r /media/backup/<dir>/<restic-repo> -p <pass> backup <dir to backup>;/usr/local/bin/restic -r /media/backup/<dir>/<restic-repo> -p <pass> prune |
#include <algorithm> | |
#include <random> | |
using namespace std; | |
void createRandomHash(vector<uint8_t>& hash) | |
{ | |
random_device r; | |
default_random_engine re(r()); |