This is a requirement for brew in the next step. You can install XCode and then install Command Line Tools through the XCode preferences, or you can install just the Command Line Tools.
$ xcode-select --install
This is a requirement for brew in the next step. You can install XCode and then install Command Line Tools through the XCode preferences, or you can install just the Command Line Tools.
$ xcode-select --install
When implementing your project, the need for some module, library, service provider or something else will arise, and sometimes you’ll have to implement it yourself. So, how to do that? The solution to this problem is described here. I like this decision all but speed. Therefore, it was written this script that clones the local repository with the package into a folder of your project vendor.
registry: | |
restart: always | |
image: registry:2 | |
ports: | |
- 5000:5000 | |
environment: | |
REGISTRY_HTTP_TLS_CERTIFICATE: /certs/domain.crt | |
REGISTRY_HTTP_TLS_KEY: /certs/domain.key | |
REGISTRY_AUTH: htpasswd | |
REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd |
# /etc/systemd/system/docker-compose-registry.service | |
[Unit] | |
Description=Docker Compose Registry Service | |
Requires=docker.service | |
After=docker.service | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes |
<?php | |
//(js -> php) code. letter by letter | |
global $n, $i, $id; | |
$n = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMN0PQRSTUVWXYZO123456789+/="; | |
$id = 12345; //YOUR USER ID | |
$i = [ | |
'v' => function($e) { | |
return strrev($e); |
#!/bin/bash | |
#https://container-solutions.com/adding-self-signed-registry-certs-docker-mac/ | |
#https://docs.docker.com/registry/insecure/#use-self-signed-certificates | |
curl -sSL https://get.docker.com | sh | |
usermod -aG docker ubuntu | |
curl -L https://github.com/docker/compose/releases/download/1.23.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose |
# /etc/systemd/system/docker-compose-tgmp.service | |
[Unit] | |
Description=Docker Compose tgmp Service | |
Requires=docker.service | |
After=docker.service | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes |
I hereby claim:
To claim this, I am signing this object:
package expdelay | |
import "time" | |
// ExpDelay implements exponential delay. | |
type ExpDelay struct{ cur, max time.Duration } | |
// New returns new exponential delay which start with min delay, increase | |
// each next delay in 2 times up to max delay. | |
// |
version: "3.3" | |
services: | |
traefik: | |
image: "traefik:v2.2" | |
container_name: "traefik" | |
command: | |
- "--api.insecure=true" | |
- "--providers.docker=true" |