I am building bazel for aarch64 on Amazon A1 platform. This flow is
pretty nice and much easier than the QEMU flow which is prone to QEMU
bugs.
- An Amazon A1 platform running Ubuntu 18.04.
| #!/usr/bin/env zx | |
| // Establish program arguments | |
| const input = argv.i; | |
| const output = argv.o; | |
| const fadeDuration = parseInt(argv.f); | |
| const useTransparency = argv.t; | |
| // Quality options | |
| const bitRate = argv.b; | |
| const constantRateFactor = argv.crf; |
| #!/bin/bash | |
| [[ ! -n $3 ]] && { echo "Usage: crossfadevideo <input.mp4> <fade in seconds> <output.mp4> [looptimes]"; exit; } | |
| input="$1" | |
| fade="$2" | |
| duration="$(ffprobe -v error -select_streams v:0 -show_entries stream=duration -of default=noprint_wrappers=1:nokey=1 "$input")" | |
| duration=$(echo "$duration-($fade)" | bc | sed 's/\..*//g') | |
| [[ ${duration:0:1} == "." ]] && duration="0$duration" | |
| output="$3" | |
| [[ -n $4 ]] && loop=$4 && output="${output}.mkv" | |
| set -x |
| /** | |
| * @name ZeresPluginLibrary | |
| * @version 1.2.32 | |
| * @invite TyFxKer | |
| * @authorLink https://twitter.com/ZackRauen | |
| * @donate https://paypal.me/ZackRauen | |
| * @patreon https://patreon.com/Zerebos | |
| * @website https://github.com/rauenzi/BDPluginLibrary | |
| * @source https://raw.githubusercontent.com/rauenzi/BDPluginLibrary/master/release/0PluginLibrary.plugin.js | |
| */ |
I am building bazel for aarch64 on Amazon A1 platform. This flow is
pretty nice and much easier than the QEMU flow which is prone to QEMU
bugs.
| skeithc@freedom ~ % ethminer --help | |
| Usage ethminer [OPTIONS] | |
| Options: | |
| Work farming mode: | |
| -F,--farm <url> Put into mining farm mode with the work server at URL (default: http://127.0.0.1:8545) | |
| -FF,-FO, --farm-failover, --stratum-failover <url> Failover getwork/stratum URL (default: disabled) | |
| --farm-retries <n> Number of retries until switch to failover (default: 3) | |
| -S, --stratum <host:port> Put into stratum mode with the stratum server at host:port | |
| -SF, --stratum-failover <host:port> Failover stratum server at host:port |
The following command will install the latest version of REX-Ray to /usr/bin/rexray on Linux systems:
$ sudo apt install s3fs
$ curl -sSL https://dl.bintray.com/emccode/rexray/install | shDepending on the Linux distribution REX-Ray will be registered as either a SystemD or SystemV service.
REX-Ray requires a configuration file for storing details used to communicate with storage providers. This can include authentication credentials and driver specific configuration options. After REX-Ray has been installed, copy and paste the contents below to a new file on the host at /etc/rexray/config.yml to configure s3fs storage driver.
This is not an exhaustive list of all interfaces in Go's standard library.
I only list those I think are important.
Interfaces defined in frequently used packages (like io, fmt) are included.
Interfaces that have significant importance are also included.
All of the following information is based on go version go1.8.3 darwin/amd64.
Building Tensorflow from source on Ubuntu 16.04LTS for maximum performance:
TensorFlow is now distributed under an Apache v2 open source license on GitHub.
On Ubuntu 16.04LTS+:
Step 1. Install NVIDIA CUDA:
To use TensorFlow with NVIDIA GPUs, the first step is to install the CUDA Toolkit as shown:
In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.