VictoriaMetrics/VictoriaMetrics#8704
- Checkout VictoriaMetrics repo
- Build binaries
make vmagent
make victoria-metrics
VictoriaMetrics/VictoriaMetrics#8704
make vmagent
make victoria-metrics
package main | |
import ( | |
"fmt" | |
"time" | |
"intulid" | |
"github.com/oklog/ulid/v2" | |
) |
func numIslands(grid [][]byte) int { | |
if len(grid) == 0 { | |
return 0 | |
} else if len(grid[0]) == 0 { | |
return 0 | |
} | |
cols := len(grid) | |
rows := len(grid[0]) | |
var islands int |
<?php | |
declare(strict_types=1); | |
namespace App\Infra\Monolog; | |
use GuzzleHttp\Client; | |
use Monolog\Handler\AbstractProcessingHandler; | |
use Psr\Log\LoggerInterface; | |
use Symfony\Component\Console\ConsoleEvents; |
<?php declare(strict_types=1); | |
namespace App\Infra\Symfony; | |
use Symfony\Component\DependencyInjection\EnvVarProcessorInterface; | |
use Symfony\Component\DependencyInjection\Exception\EnvNotFoundException; | |
use Symfony\Component\DependencyInjection\Exception\RuntimeException; | |
class FileOrContentEnvVarProcessor implements EnvVarProcessorInterface | |
{ |
package app | |
import ( | |
"gocv.io/x/gocv" | |
"image" | |
"sort" | |
) | |
type RefMat struct { | |
cols int |
if (( "$#" != 1 )) | |
then | |
echo Host is required! | |
exit | |
fi | |
PROJECT_NAME=${PWD##*/} | |
mkdir -p dump |
version: '3.4' | |
services: | |
app: | |
image: 'formapro/nginx-php-fpm:latest-all-exts' | |
working_dir: '/app' | |
volumes: | |
- './:/app:cached' | |
env_file: '.env' | |
networks: |
[entryPoints] | |
[entryPoints.http] | |
address = ":80" | |
[entryPoints.https] | |
address = ":443" | |
[entryPoints.https.tls] | |
[acme] | |
email = "[email protected]" |
version: '3.1' | |
services: | |
registry: | |
restart: always | |
image: registry:2 | |
volumes: | |
- registry:/var/lib/registry | |
environment: | |
- REGISTRY_HTTP_ADDR=0.0.0.0:5000 |