Skip to content

Instantly share code, notes, and snippets.

View mpolinowski's full-sized avatar
👉
[object Object]

Mike Polinowski mpolinowski

👉
[object Object]
View GitHub Profile
# An example configuration file for MPD.
# Read the user manual for documentation: http://www.musicpd.org/doc/user/
# Files and directories #######################################################
#
# This setting controls the top directory which MPD will search to discover the
# available audio files and add them to the daemon's online database. This
# setting defaults to the XDG directory, otherwise the music directory will be
# be disabled and audio files will only be accepted over ipc socket (using
@mpolinowski
mpolinowski / imagenet_class_index.json
Created February 19, 2023 04:07
cat ~/.keras/models/imagenet_class_index.json --beautify
{
"0": [
"n01440764",
"tench"
],
"1": [
"n01443537",
"goldfish"
],
"2": [
docker run --sysctl "net.ipv6.conf.all.disable_ipv6=0 net.ipv4.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1" -p 8888:80 --dns=127.0.0.1 -it --volume /dev/ttyACM0:/dev/ttyACM0 --privileged openthread/otbr:latest --radio-url spinel+hdlc+uart:///dev/ttyACM0
WARNING: Localhost DNS setting (--dns=127.0.0.1) may fail in containers.
RADIO_URL: spinel+hdlc+uart:///dev/ttyACM0
TREL_URL:
TUN_INTERFACE_NAME: wpan0
BACKBONE_INTERFACE: eth0
NAT64_PREFIX: 64:ff9b::/96
+++ dirname /app/script/server
++ cd /app/script/..
++ [[ ! -n x ]]
@mpolinowski
mpolinowski / docker-compose.yml
Created February 7, 2023 09:24
Fenik without GPU and PyTorch [Generator](https://mehmetgoren.github.io)
version: '3'
services:
redis:
image: redis
container_name: redis-instance
restart: unless-stopped
ports:
- '6379:6379'
mongo:
image: mongo:latest
@mpolinowski
mpolinowski / docker-compose.yml
Created February 7, 2023 09:24
Fenik with Nvidia GPU and Tensorflow [Generator](https://mehmetgoren.github.io)
version: '3'
services:
redis:
image: redis
container_name: redis-instance
restart: unless-stopped
ports:
- '6379:6379'
mongo:
image: mongo:latest
@mpolinowski
mpolinowski / error.log
Created February 6, 2023 09:53
Hashicorp Nomad Docker Provider ERROR Message
> __ERROR__: Version has changed (new version: AppArmor enabled on system but the docker-default profile could not be loaded: running apparmor_parser apparmor_parser --version failed with output:
error: exec: "apparmor_parser": executable file not found in $PATH)
> __SOLUTION__: `apt install apparmor apparmor-utils`
tyACM0
WARNING: Localhost DNS setting (--dns=127.0.0.1) may fail in containers.
RADIO_URL: spinel+hdlc+uart:///dev/ttyACM0
TREL_URL:
TUN_INTERFACE_NAME: wpan0
BACKBONE_INTERFACE: eth0
NAT64_PREFIX: 64:ff9b::/96
+++ dirname /app/script/server
++ cd /app/script/..
++ [[ ! -n x ]]
wget https://apt.releases.hashicorp.com/gpg
# rm /usr/share/keyrings/hashicorp-archive-keyring.gpg # remove old keyring
mv gpg /usr/share/keyrings/hashicorp-archive-keyring.gpg
job "ingress_backend_connect" {
datacenters = ["dc1"]
group "nginx_ingress" {
count = 1
network {
mode = "host"
port "http" {
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
[27/Nov/2022:09:26:14 +0000] "GET / HTTP/1.1" 200 151 "-" "Consul Health Check"
[27/Nov/2022:09:26:44 +0000] "GET / HTTP/1.1" 200 151 "-" "Consul Health Check"