Unofficial CLI command for mornin'+ (mornin' plus) smart curtain.
Requirements: Python 3, bluepy 3.2+, pycryptodome 3.6+
@echo off | |
:: | |
:: フルバックアップ | |
:: | |
:: 1. robocopy バックアップ | |
:: 2. バックアップ元のすべてのファイルのアーカイブ属性を Off に設定 | |
:: 3. バックアップ先ディレクトリの隠し属性削除 | |
:: 注意: 1. 実行後、2. の実行までに更新されたファイルは、 | |
:: バックアップから漏れますが許容することにします。 | |
:: |
#!/bin/bash | |
username='apple-id@example.com' | |
password='apple-id-no-password' | |
authheader="Authorization: Basic $(echo -n "$username:$password" | base64)" | |
url_initClient="https://fmipmobile.icloud.com/fmipservice/device/$username/initClient" | |
url_playSound="https://fmipmobile.icloud.com/fmipservice/device/$username/playSound" | |
# initClient | |
curl -vXPOST "$url_initClient" -H "$authheader" > initClient.json |
Unofficial CLI command for mornin'+ (mornin' plus) smart curtain.
Requirements: Python 3, bluepy 3.2+, pycryptodome 3.6+
mercari.go #4 https://mercari.connpass.com/event/105640/
from math import cos, pi | |
import numpy | |
from chainer.training import extension | |
class CosineAnnealing(extension.Extension): | |
def __init__(self, lr_max, lr_min=0, T_0=1, T_mult=2, | |
optimizer=None): | |
super(CosineAnnealing, self).__init__() |
nvprof -o pytorch.nvprof -f python3 test_pytorch.py
nvprof -o pytorch_mp.nvprof -f python3 test_pytorch_mp.py
nvprof -o cupy.nvprof -f python3 test_cupy.py
nvprof -o cupy_mp.nvprof -f python3 test_cupy_mp.py
This is a guideline to give the standard way of implementing a new-style function in Chainer. Different developers can align the coding style by writing implementations based on this document.
A new-style function implementation consists of at least two elements:
an implementation of FunctionNode
and a user interface function.
{ | |
"runtime_status": { | |
"hostname": "localhost", | |
"user": "kenichi", | |
"gomaxprocs": 4, | |
"goversion": "go1.6.2", | |
"goroot": "/home/kenichi/local/go", | |
"pid": 18742, | |
"num_cpu": 4, | |
"working_directory": "/home/kenichi/Development/sensorbee-iris-jubatus", |
必要なパッケージをインストールします | |
% sudo pkg install gcc48 | |
gcc49にしなかったのは特に理由はないです。 | |
% sudo pkg install pkgconf | |
% sudo pkg install python27 |