From: https://www.stereolabs.com/docs/docker/building-arm-container-on-x86/
-
Install the necessary packages:
sudo dnf install qemu qemu-user-binfmt qemu-user-static
-
Run qemu setup:
From: https://www.stereolabs.com/docs/docker/building-arm-container-on-x86/
Install the necessary packages:
sudo dnf install qemu qemu-user-binfmt qemu-user-staticRun qemu setup:
| #!/bin/bash -ex | |
| export PGBIN=/usr/pgsql-9.3/bin | |
| export PGUSER=postgres | |
| export PGDATABASE=bench | |
| export DATADIR=/dados/pgbench | |
| export CLUSTER_LOG=/tmp/benchmark.log | |
| export TOTAL_CPUS=$(grep 'cpu cores' /proc/cpuinfo | uniq | awk '{print $NF}') |
. /etc/os-release
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list"
wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_${VERSION_ID}/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update -qq
sudo apt-get -qq -y install buildah
``I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| server_list=$(gcloud compute instances list --format='get(networkInterfaces[0].networkIP)' --filter="status=running") | |
| for server in ${server_list[@]}; do | |
| echo "server: $server" | |
| ssh $server 'sudo cat /var/spool/cron/* /etc/crontab' | |
| echo "-----------" | |
| done |
| ## include on your .zshrc (or similar) | |
| #### tested on OSX | |
| function findGitHistory() { | |
| targetDir="${1}" | |
| targetMonth="${2}" | |
| targetYear="${3}" | |
| targetUser=$(git config --get user.name) |
| package main | |
| import ( | |
| "log" | |
| "time" | |
| "github.com/go-pg/pg" | |
| ) | |
| const maxWorkers = 5 |
| hidden text FILENAME | |
| counter log_ftp_files_processed_count by username, remote_host, transfer_type, direction | |
| counter log_ftp_files_deleted_count by username, remote_host, transfer_type | |
| counter log_ftp_files_incomplete_transfers_count by username, remote_host, transfer_type | |
| FILENAME = getfilename() | |
| ## example file | |
| ### Fri Jan 4 12:55:27 2019 1 1.2.3.4 224 /path/to/file.CSV b _ o r user_name ftp 0 * c |