needs openssl, so for instance sudo yum install openssl-devel
./configure --prefix=/usr/local --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"
#!/bin/bash | |
wget https://github.com/git/git/archive/v2.21.0.tar.gz | |
tar xvf v2.21.0.tar.gz | |
pushd git-2.21.0/ | |
make configure | |
./configure --prefix=$prefix | |
make -j$(nproc) install | |
popd |
import matplotlib.pyplot as plt | |
import numpy as np | |
from IPython.display import HTML, display | |
from io import BytesIO | |
import base64 | |
import os | |
import contextlib | |
def draw_eta_lines(ax, eta_range = (-3, 3), n=None, s=None, fmt="%.2f", **kwargs): | |
assert (n is None and s is not None) or (n is not None and s is None) |
needs openssl, so for instance sudo yum install openssl-devel
./configure --prefix=/usr/local --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"
#!/usr/bin/env python | |
from __future__ import print_function | |
from datetime import datetime | |
import os | |
import numpy as np | |
import sys | |
from tabulate import tabulate | |
from random import shuffle |
// This file is a "Hello, world!" in C++ language by GCC for wandbox. | |
#include <iostream> | |
#include <cstdlib> | |
#include <boost/variant.hpp> | |
#include <map> | |
#include <vector> | |
#include <sstream> | |
typedef boost::make_recursive_variant< | |
int, |
#!/bin/bash | |
if [ "$(id -u)" != "0" ]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
fi | |
echo "Setting up Docker" | |
apt-get install -y \ |