This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Images sur: | |
# -http://virtualboxes.org/images/centos/ | |
# -https://app.vagrantup.com/centos/boxes/7 | |
# vnstat : pour volume traffic reseau | |
# nmtui : pour gestion du reseau | |
# iftop : pour top reseau | |
# htop : pour top processus | |
# ntp : pour date sync |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"C:\Program Files\Java\jdk1.7.0_79\bin\keytool" -import -keystore "C:\Program Files\Java\jdk1.7.0_79\jre\lib\security\cacerts" -file "C:\CGI\14 - RATP\fr-001slli082.groupinfra.com.crt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# raspi-config for config | |
apt-get update | |
apt-get upgrade | |
apt-get install git | |
curl -sSL get.docker.com | sh | |
# Docker compose | |
git clone https://github.com/docker/compose.git | |
cd compose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## http://www.dest-unreach.org/socat/doc/socat-multicast.html | |
## SIMPLE | |
# receive | |
socat - udp4-listen:5000,reuseaddr,fork | |
# send | |
echo "hello" | socat - udp-sendto:127.0.0.1:5000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Proxy Gateway | |
# ftp://delegate.hpcc.jp/pub/DeleGate/download.html | |
delegated -v -P8080 SERVER=http [email protected] MOUNT="/* https://backend/*" PROXY="poxy:port" MYAUTH="appli_user:pass:http:*:*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Install Kubectl | |
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" | |
curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256" | |
echo "$(cat kubectl.sha256) kubectl" | sha256sum --check | |
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum install -y fuse | |
sudo mkdir -p /var/lib/docker-plugins/rclone/config | |
sudo mkdir -p /var/lib/docker-plugins/rclone/cache | |
nano /var/lib/docker-plugins/rclone/config/rclone.conf | |
[my-service] | |
type = s3 | |
provider = AWS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --rm -it python:3.9-slim bash | |
pip install pandas pyarrow | |
python | |
import pandas as pd | |
import numpy as np | |
import json |