簡単なnginx pod
# tee pod-nginx.yaml <<-'EOF'
apiVersion: v1
kind: Pod
metadata:
name: nginx
labels:
app: my-nginx
簡単なnginx pod
# tee pod-nginx.yaml <<-'EOF'
apiVersion: v1
kind: Pod
metadata:
name: nginx
labels:
app: my-nginx
$ brew install hugo
$ hugo version
Hugo Static Site Generator v0.42.2 darwin/amd64
$ hugo new site mysite
$ cd mysite/
``` | |
# djangoをインストール | |
pip install Django | |
# djangoインストールされてるかチェック | |
python -m django --version | |
# ブロジェクトを作成する | |
django-admin startproject django_test |
GitをCentosにインストール(install)する
sudo yum remove git
sudo yum install make curl-devel gcc openssl-devel expat-devel cpan gettext asciidoc xmlto
wget https://www.kernel.org/pub/software/scm/git/git-2.15.0.tar.gz
tar -zxf git-2.15.0.tar.gz
cd git-2.15.0
./configure
make prefix=/usr/local/git all
make prefix=/usr/local/git install
# Import `tensorflow`
import tensorflow as tf
# Initialize two constants
x1 = tf.constant([1,2,3,4])
x2 = tf.constant([5,6,7,8])
# Multiply
result = tf.multiply(x1, x2)
https://www.continuum.io/downloads
wget https://repo.continuum.io/archive/Anaconda3-4.4.0-Linux-x86_64.sh
sudo yum install bzip2
bash Anaconda3-4.4.0-Linux-x86_64.sh
jupyter notebook
jupyter notebook --generate-config
Install Java
yum install java-1.8.0-openjdk
Maximum Open File Descriptirs
/etc/security/limits.d/20-nproc.conf
ファイルを修正
Comparing two variances is useful in several cases, including:
When you want to perform a two samples t-test to check the equality of the variances of the two samples
When you want to compare the variability of a new measurement method to an old one. Does the new method reduce the variability of the measure?
> data("ToothGrowth")
> head(ToothGrowth)
len supp dose
https://kafka.apache.org/quickstart
wget http://ftp.kddilabs.jp/infosystems/apache/kafka/0.10.2.0/kafka_2.11-0.10.2.0.tgz
tar -xvzf kafka_2.11-0.10.2.0.tgz
cd kafka_2.11-0.10.2.0/