https://ja.wikipedia.org/wiki/JavaScript_Object_Notation
- Python標準に含まれている
- 仕様が厳格に決まっている
#!/bin/env python | |
import numpy as np | |
import scipy.misc | |
from scipy.fftpack import dct, idct | |
import sys | |
H = 128 | |
W = 128 | |
lenna = scipy.misc.imresize(scipy.misc.lena(), (H, W)).astype(float) |
https://ja.wikipedia.org/wiki/JavaScript_Object_Notation
version: "2" | |
services: | |
coordinator: | |
image: basho/riak-kv | |
ports: | |
- "8087" | |
- "8098" | |
environment: | |
- CLUSTER_NAME=riakkv | |
labels: |
find `pwd` -type d -maxdepth 3 -name 'node_modules' | xargs -n 1 tmutil addexclusion |
This cheat sheet provides a detailed overview of the exposed lifecycle events and available commands (and entrypoints) of the Serverless framework, that can be hooked by plugins (internal and external ones). The document is structured by the commands invoked by the user.
Lifecycle events are shown as the globally available outer events (all providers) and sub lifecycle events that are provider specific in the called order. Currently only the AWS provider is shown. If you have information about the other provider,
# Some found in https://github.com/nicksp/dotfiles/blob/master/osx/set-defaults.sh | |
########################### | |
### Finder improvements ### | |
########################### | |
echo "Improving Finder:" | |
# TODO: Should these commands be added to .profile or similar, or do they only need run once. | |
echo "Show ~/Library folder ..." | |
chflags nohidden ~/Library |
#!/usr/bin/env python3 | |
import os | |
import paramiko | |
ssh_key_filename = os.getenv('HOME') + '/.ssh/id_rsa' | |
jumpbox_public_addr = '168.128.52.199' | |
jumpbox_private_addr = '10.0.5.10' | |
target_addr = '10.0.5.20' |
original: https://landshark.io/2020/08/16/web-by-google.html
翻訳のベースには https://www.deepl.com/translator を使い、表現を整えています。
Mozilla の財務状況を見ると、Google が独占禁止法違反の疑いを寄せ付けないために生命維持をしていると結論づけるのが妥当である。 Mozilla の Google との契約は今後の収益の少なくとも70%を占めることになる。 Googleは4億ドル以上も払って、シェアが4%のブラウザーでデフォルトの検索プロバイダーになるのだ。しかも1年間だけ。 私の次回の給料を賭けてもいいが、Google がこのかなり気前の良い契約を結んだのは、Microsoft の Internet Explorer による独占をめぐるトラブルの再発を避けるためだろう。