Download the package: http://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64/rsync-3.1.2-2-x86_64.pkg.tar.xz
Extract it and move rsync.exe to %HOMEDRIVE%%HOMEPATH%\AppData\Local\Programs\Git\usr\bin.
Download the package: http://www2.futureware.at/~nickoe/msys2-mirror/msys/x86_64/rsync-3.1.2-2-x86_64.pkg.tar.xz
Extract it and move rsync.exe to %HOMEDRIVE%%HOMEPATH%\AppData\Local\Programs\Git\usr\bin.
| #!/bin/bash | |
| set -e | |
| set -o pipefail | |
| # Add user to k8s using service account, no RBAC (must create RBAC after this script) | |
| if [[ -z "$1" ]] || [[ -z "$2" ]]; then | |
| echo "usage: $0 <service_account_name> <namespace>" | |
| exit 1 | |
| fi |
| # 1: Use node 6 as base: | |
| FROM node:6-alpine | |
| # 2: Download+Install PhantomJS, as the npm package 'phantomjs-prebuilt' won't work on alpine! | |
| # See https://github.com/dustinblackman/phantomized | |
| RUN set -ex \ | |
| && apk add --no-cache --virtual .build-deps ca-certificates openssl \ | |
| && wget -qO- "https://github.com/dustinblackman/phantomized/releases/download/2.1.1/dockerized-phantomjs.tar.gz" | tar xz -C / \ | |
| && npm install -g phantomjs \ | |
| && apk del .build-deps |
| #!/bin/bash | |
| # Copyright © 2017 Google Inc. | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software |
| // MIT License, Copyright William Hilton <[email protected]> | |
| // Implement the proposed W3C Quota Management API (circa 2017) | |
| navigator.storageQuota = { | |
| get supportedTypes () { | |
| let types = [] | |
| if (navigator.webkitTemporaryStorage) types.push('temporary') | |
| if (navigator.webkitPersistentStorage) types.push('persistent') | |
| return types | |
| }, | |
| queryInfo (type) { |
| using UnityEngine; | |
| using System.Collections; | |
| /// <summary> | |
| /// Override the texture of each of the parts with your texture. | |
| /// </summary> | |
| public class OverrideControllerTexture : MonoBehaviour | |
| { | |
| #region Public variables | |
| [Header("Variables")] |
| // quaternion code from https://github.com/stackgl/gl-quat | |
| // rotation from https://twistedpairdevelopment.wordpress.com/2013/02/11/rotating-a-vector-by-a-quaternion-in-glsl/ | |
| precision mediump float; | |
| uniform mat4 projection, view; | |
| uniform vec3 translate; | |
| uniform vec3 scale; | |
| attribute vec3 normal; |
| # import config. | |
| # You can change the default config with `make cnf="config_special.env" build` | |
| cnf ?= config.env | |
| include $(cnf) | |
| export $(shell sed 's/=.*//' $(cnf)) | |
| # import deploy config | |
| # You can change the default deploy config with `make cnf="deploy_special.env" release` | |
| dpl ?= deploy.env | |
| include $(dpl) |
| get_latest_release() { | |
| curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api | |
| grep '"tag_name":' | # Get tag line | |
| sed -E 's/.*"([^"]+)".*/\1/' # Pluck JSON value | |
| } | |
| # Usage | |
| # $ get_latest_release "creationix/nvm" | |
| # v0.31.4 |