- Download strongswan
https://www.strongswan.org/download.html
sudo apt-get update
sudo apt-get install build-essential libgmp3-dev
tar xvf strongswan.tar.gz
cd strongswan
pragma solidity ^0.4.18; | |
/** | |
* @title SafeMath | |
* @dev Math operations with safety checks that throw on error | |
*/ | |
library SafeMath { | |
/** | |
* @dev Multiplies two numbers, throws on overflow. |
http { | |
proxy_cache_path /tmp/nginx/cache | |
levels=1:2 | |
keys_zone=main:10m | |
max_size=1g inactive=1d; | |
proxy_temp_path /tmp/nginx/tmp; | |
server { | |
listen 80; | |
server_name app.example.com; |
http { | |
proxy_cache_path /tmp/nginx/cache | |
levels=1:2 | |
keys_zone=main:10m | |
max_size=1g inactive=1d; | |
proxy_temp_path /tmp/nginx/tmp; | |
server { | |
listen 80; | |
server_name app.example.com; |
/* | |
* Demonstrate using an http server and an HTML form to control an LED. | |
* The http server runs on the ESP8266. | |
* | |
* Connect to "http://esp8266WebForm.local" or "http://<IP address>" | |
* to bring up an HTML form to control the LED connected GPIO#0. This works | |
* for the Adafruit ESP8266 HUZZAH but the LED may be on a different pin on | |
* other breakout boards. | |
* | |
* Imperatives to turn the LED on/off using a non-browser http client. |
ian@ian-Peppy:~$ | |
ian@ian-Peppy:~$ cat .Xmodmap | |
clear control | |
clear mod4 | |
keycode 133 = Control_L | |
add control = Control_L Control_R Super_L | |
add mod4 = Hyper_L Super_R | |
keysym Control_L control = Escape Control_L |
/* | |
This code is to be executed inside the browser on archive.org page for the UC Berkeley webcast dump | |
https://archive.org/details/ucberkeley-webcast-PL-XXv-cvA_iCfQHHS7rxlfHFsU4aQW1IF | |
--- | |
author: Ian Chen | |
MIT | |
*/ |
https://www.strongswan.org/download.html
sudo apt-get update
sudo apt-get install build-essential libgmp3-dev
tar xvf strongswan.tar.gz
cd strongswan
#!/bin/sh | |
set -e | |
[email protected] | |
ssh -fNTL localhost:8080:$(ssh $REMOTE "docker inspect --format \ | |
'{{ .NetworkSettings.IPAddress }}' some-rethink"):8080 $REMOTE |
Following mining and findings performed on EVGA GeForce GTX 1070 SC GAMING Black Edition Graphics Card cards.
First run nvidia-xconfig --enable-all-gpus
then set about editing the xorg.conf
file to correctly set the Coolbits
option.
# /etc/X11/xorg.conf
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
FROM alpine:3.5 | |
WORKDIR /app | |
COPY requirements.txt /app/requirements.txt | |
RUN apk add --no-cache nodejs python3 libstdc++ python3-dev libxml2-dev libxslt-dev linux-headers && \ | |
npm install -g pm2 && \ | |
apk add --no-cache \ | |
--virtual=.build-dependencies \ | |
g++ gfortran musl-dev git && \ |