Override the entrypoint in docker-compose.yml for the MariaDB Docker container by adding:
entrypoint: mysqld_safe --skip-grant-tables --user=mysql
The start up the Docker Compose stack:
$> docker-compose up -d
#!/bin/bash | |
if [[ $1 = "sepehr" ]]; then | |
git config --local user.email "sepehrimaniann@gmail.com" | |
git config --local user.name "sepehrimanian" | |
echo "Change git user to 'Sepehr'" | |
elif [[ $1 = "ali" ]]; then | |
git config --local user.email "ali@gmail.com" | |
git config --local user.name "ali" | |
echo "Change git user to 'ali'" |
Windows: | |
> choco install apache-httpd | |
# source: https://chocolatey.org/packages/apache-httpd | |
Mac os: | |
As of macos bigsur ab is installed by default in macos | |
Ubuntu: |
$ apt-get update && apt-get install qemu -y
$ qemu-img create -f raw windows10.img 16G
apiVersion: apps/v1beta1 | |
kind: Deployment | |
metadata: | |
name: cassandra-reaper | |
namespace: cassandra-reaper | |
spec: | |
template: | |
metadata: | |
labels: | |
app: cassandra-reaper |
#!/bin/bash | |
# convert RIPE allocation list to database friendly format | |
# (c) kgersen 2018 for https://lafibre.info | |
# tab (\t) is used as separator in output | |
# output | |
# country ispcode ispname date 4|6 block block_size | |
# optionnal argument: country code to match | |
url="https://ftp.ripe.net/ripe/stats/membership/alloclist.txt" |
# To deploy: kubectl create -f nginx-hello-world-deployment.yaml | |
# Access it with the API as a proxy: | |
# $ kubectl proxy | |
# Then in you browser: http://localhost:8001/api/v1/namespaces/default/services/nginx:/proxy/#!/ | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: nginx | |
spec: |
# Use envFrom to load Secrets and ConfigMaps into environment variables | |
apiVersion: apps/v1beta2 | |
kind: Deployment | |
metadata: | |
name: mans-not-hot | |
labels: | |
app: mans-not-hot | |
spec: | |
replicas: 1 |
## You may choose to remove --recursive if is required only for the bucket or folder and not for objects within. | |
s3cmd setacl --acl-private --recursive s3://mybucket-name | |
s3cmd setacl --acl-private --recursive s3://mybucket-name/folder-name | |
s3cmd setacl --acl-private --recursive s3://mybucket-name/folder-name/object-name | |
s3cmd setacl --acl-public --recursive s3://mybucket-name | |
s3cmd setacl --acl-public --recursive s3://mybucket-name/folder-name | |
s3cmd setacl --acl-public --recursive s3://mybucket-name/folder-name/object-name |