A Leaser
needs to have the ability to release any of its shard-specific resources:
// dbnode/storage/block/types.go
type Leaser interface {
UpdateOpenLease(
descriptor LeaseDescriptor,
#!/usr/bin/env bash | |
# Enter the MAC Address of the device here | |
addr="" | |
echo "Disconnecting ..." | |
echo -e "disconnect $addr" | bluetoothctl | |
sleep 5 | |
echo "Connecting ..." | |
echo -e "connect $addr" | bluetoothctl | |
sleep 5 |
param( | |
[string] $IstioVersion = "1.0.2" | |
) | |
$url = "https://github.com/istio/istio/releases/download/$($IstioVersion)/istio-$($IstioVersion)-win.zip" | |
$Path = Get-Location | |
$output = [IO.Path]::Combine($Path, "istio_$($IstioVersion)_win.zip") | |
Write-Host "Downloading Istio from $url to path " $Path -ForegroundColor Green | |
FROM debian:jessie | |
ENV USER=boatswain USER_ID=1000 USER_GID=1000 | |
# now creating user | |
RUN groupadd --gid "${USER_GID}" "${USER}" && \ | |
useradd \ | |
--uid ${USER_ID} \ | |
--gid ${USER_GID} \ | |
--create-home \ |
Homebrew build logs for uwsgi on macOS 10.12.6 | |
Build date: 2017-11-14 14:12:35 |
{% set dir_list = salt.file.find('/path/', 'name=foo', 'type=d') %} | |
{% for direc in dir_list %} | |
# do stuff | |
{% endfor %} |