Initially taken by Niko Matsakis and lightly edited by Ryan Levick
- Introductions
- Cargo inside large build systems
- FFI
- Foundations and financial support
#!/bin/bash | |
if [ -z "$VERSION" ]; then | |
echo 'Please specify a version. e.g, "VERSION=1.11.2 sh install-go.sh"' | |
exit | |
fi | |
export GO_DOWNLOAD_URL=https://storage.googleapis.com/golang/go$VERSION.linux-amd64.tar.gz | |
export GOPATH=/workspace |
Three functions from the OpenFaaS store have been packaged as "knative serving" definitions. No change to the container or code is needed.
#!/usr/bin/env bash | |
# Author: Sasha Nikiforov | |
# source of inspiration | |
# https://stackoverflow.com/questions/41293077/how-to-compile-tensorflow-with-sse4-2-and-avx-instructions | |
# Detect platform | |
if [ "$(uname)" == "Darwin" ]; then | |
# MacOS |
upstream deploy_phoenix { | |
server 127.0.0.1:8888; | |
} | |
map $http_upgrade $connection_upgrade { | |
default upgrade; | |
'' close; | |
} | |
# REDIRECT HTTP www.example.com to HTTPS example.com |
Following this guide will set up a local Elasticsearch with Kibana and Marvel using Homebrew and Homebrew Cask
If you already have Java
installed on your system, skip steps Install Cask and Install Java
If you already have Java
and Homebrew
installed on your system, skip steps Prerequisites, start at Install Elasticsearch and Kibana after running $ brew update
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
disclaimer: this worked for me, your mileage may vary. Your Pi, your responsibility :)
After putting Arch Linux on a 16GB SD card using these instructions, I ended up with about 14GB of free space.
Arch Linux uses one primary partition (/dev/mmcblk0p1) and an extended partition (/dev/mmcblk0p2) containing one logical partition (/dev/mmcblk0p5). The primary partition is the boot partition and the logical partition is the root partition. Rather than adding another primary partition I just wanted to resize the root partition and filesystem.
According to this bugreport parted
no longer handles resizing of partitions and gparted needs a graphical environment to run. So I had to come up with something else to resize my partitions.