Skip to content

Instantly share code, notes, and snippets.

@dajuno
dajuno / tmux_local_install.sh
Last active September 29, 2017 18:26 — forked from ryin/tmux_local_install.sh
bash script for installing tmux without root access
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/.local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=2.5
from dolfin import *
import numpy as np
import mshr
from IPython import embed
from cbcpost.utils.mpi_utils import gather, broadcast
def vec(x): return as_backend_type(x).vec()
def mat(A): return as_backend_type(A).mat()
class NormalRotation(PETScMatrix):