We need to PEPify a static format for writing down bootstrap information in Python source trees. The initial target is a list of PEP 508 package requirement strings. It's possible that in the future we might want to add more features like a build system backend specification (as in PEPs 516, 517), or an extension namespace feature to allow third-party developer tools (flit, pytest, coverage, flake8, etc.) to consolidate their configuration in this file in a systematic
| wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz |
| #!/usr/bin/env bash | |
| CIPHERS='ALL:eNULL' | |
| DELAY=${2:-0.1} | |
| SERVER=${1:?usage: $0 <host:port> [delay, default is ${DELAY}s] [ciphers, default is ${CIPHERS}]} | |
| MAXLEN=$(openssl ciphers "$CIPHERS" | sed -e 's/:/\n/g' | awk '{ if ( length > L ) { L=length} }END{ print L}') | |
| echo Using $(openssl version). | |
| declare -A TLSMAP=( [tls1_1]=cipher [tls1_2]=cipher [tls1_3]=ciphersuites ) |
| #!/bin/bash | |
| # Assumption: | |
| # 1. Your original AWS Creds should be stored at ~/.aws/credentials | |
| # 2. You've corrected ARN for MFA device (search for FIXME) | |
| # 3. You've given correct MFA Code as cli argument | |
| # 4. You have jq installed. Ref: https://stedolan.github.io/jq/ | |
| if [ "$1" == "" ]; then | |
| echo "Usage: `basename "$0"` <MFA-TOKEN>" | |
| exit |
| #!/usr/bin/env bash | |
| set -e | |
| CONTEXT="$1" | |
| if [[ -z ${CONTEXT} ]]; then | |
| echo "Usage: $0 KUBE-CONTEXT" | |
| exit 1 | |
| fi |
| upstream apache { | |
| server 127.0.0.1:8080; | |
| } | |
| upstream staging { | |
| server 127.0.0.1:8081; | |
| } | |
| upstream development { | |
| server 127.0.0.1:8082; |
| # step 1: 安装必要的一些系统工具 | |
| sudo apt-get update | |
| sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common | |
| # step 2: 安装GPG证书 | |
| curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add - | |
| # Step 3: 写入软件源信息 | |
| sudo add-apt-repository "deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable" | |
| # Step 4: 更新并安装 Docker-CE | |
| sudo apt-get -y update | |
| sudo apt-get -y install docker-ce |
I've been using [Backblaze][bbz] for a while now as my online backup service. I have used a few others in the past. None were particularly satisfactory until Backblaze came along.
It was - still is - keenly priced at a flat $5 (£4) per month for unlimited backup (I've currently got just under half a terabyte backed-up). It has a fast, reliable client. The company itself is [transparent about their operations][trans] and [generous with their knowledge sharing][blog]. To me, this says they understand their customers well. I've never had reliability problems and everything about the outfit exudes a sense of simple, quick, solid quality. The service has even saved the day on a couple of occasions where I've lost files.
Safe to say, I'm a happy customer. If you're not already using Backblaze, [I highly recommend you do][recommend].