Need to setup gpg-agent first, on OSX I use keychain (it also does ssh-agent)
$ brew info keychain
keychain: stable 2.8.5
User-friendly front-end to ssh-agent(1)
https://www.funtoo.org/Keychain
/usr/local/Cellar/keychain/2.8.5 (7 files, 108.5KB) *| function Invoke-NativeCommand { | |
| <# | |
| .SYNOPSIS | |
| Invoke a native command (.exe) as a new process. | |
| .DESCRIPTION | |
| Invoke-NativeCommand executes an arbitrary executable as a new process. Both the standard | |
| and error output streams are redirected. | |
| Error out is written as a single non-terminating error. ErrorAction can be used to raise |
| { | |
| "name": "Iceberg", | |
| "foreground": "#c6c8d1", | |
| "background": "#161821", | |
| "black": "#161821", | |
| "red": "#e27878", | |
| "green": "#b4be82", | |
| "yellow": "#e2a478", | |
| "blue": "#84a0c6", | |
| "purple": "#a093c7", |
This is the second article in a series of articles around Rusts new async/await
feature. The first article about interfaces can be found
here.
In this part of the series we want to a look at a mechanism which behaves very
different in Rust than in all other languages which feature async/await
support. This mechanism is Cancellation.
| #!/bin/bash | |
| # Qiita記事 https://qiita.com/kawaz/items/0593163c1c5538a34f6f | |
| set -e | |
| set -o pipefail | |
| # pam_tidの存在チェック(間違えてLinux環境などで実行されたら中断する) | |
| [[ -f /usr/lib/pam/pam_tid.so.2 ]] || exit 1 | |
| [[ "${OSTYPE:0:6}" == "darwin" ]] || exit 1 | |
| # /etc/pam.d/sudo の修正 |
| #!/usr/bin/env python3 | |
| # _*_ coding:utf-8 _*_ | |
| import ctypes | |
| import os | |
| from ctypes import windll, wintypes | |
| from typing import Optional | |
| NULL: int = 0 |
| #!/bin/bash | |
| # A bash script to update a Cloudflare DNS A record with the external IP of the source machine | |
| # Used to provide DDNS service for my home | |
| # Needs the DNS record pre-creating on Cloudflare | |
| # Proxy - uncomment and provide details if using a proxy | |
| #export https_proxy=http://<proxyuser>:<proxypassword>@<proxyip>:<proxyport> | |
| # Cloudflare zone is the zone which holds the record |
関連: RFC 2394
refer to: https://stackoverflow.com/questions/39371772/how-to-install-anaconda-on-raspberry-pi-3-model-b
{USER}: pi
Install Miniconda 3:
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-armv7l.sh
sudo md5sum Miniconda3-latest-Linux-armv7l.sh # (optional) check md5
sudo /bin/bash Miniconda3-latest-Linux-armv7l.sh # -> change default directory to /home/pi/miniconda3