I hereby claim:
- I am albertogviana on github.
- I am albertogviana (https://keybase.io/albertogviana) on keybase.
- I have a public key whose fingerprint is 08AC 8008 90C1 4B39 DF0B 89B6 A3F2 A295 6907 EE69
To claim this, I am signing this object:
<?php | |
namespace User\Entity; | |
use Doctrine\ORM\Mapping as ORM; | |
use ZfcUser\Entity\UserInterface; | |
use Rbac\Identity\IdentityInterface; | |
use Doctrine\Common\Collections\ArrayCollection; | |
/** |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
path=${1} | |
glob_filename=${2} | |
if [ ! ${path} ] || [ ! ${glob_filename} ] | |
then | |
echo "This script will compress files using zip. | |
To use this script you need to inform the directory path and the file |
upstream @admin { | |
server my-ip1:8081; | |
server my-ip2:8081; | |
} | |
server { | |
listen 80; | |
listen [::]:80; | |
server_name www.cliente2.com.br; | |
return 301 https://$server_name$request_uri; |
{ | |
"users":[ | |
{ | |
"username": "user1", | |
"role": "master" | |
}, | |
{ | |
"username": "user2", | |
"role": "master" | |
}, |
bin/kafka-topics.sh --zookeeper localhost:2181 --list
bin/kafka-topics.sh --zookeeper localhost:2181 --describe --topic mytopic
bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic mytopic --config retention.ms=1000
... wait a minute ...
$ uname -r
import org.apache.mina.filter.ssl.SslFilter; | |
import org.apache.mina.transport.socket.nio.NioSocketConnector; | |
public class TunnelClient{ | |
....... | |
NioSocketConnector nioConnector = new NioSocketConnector(1); | |
nioConnector.setDefaultRemoteAddress(tunnelServerAddress); | |
nioConnector.setHandler(handler); | |
SslFilter sslFilter = new SslFilter(getSSLContext()); |
upstream @prometheus { | |
server MY_IP:9090; | |
} | |
upstream @alertmanager { | |
server MY_IP:9093; | |
} | |
server { | |
listen 80; |
// Package main | |
// Copyright 2017 Kranz. All rights reserved. | |
// Use of this source code is governed by a MIT-style | |
// license that can be found in the LICENSE file. | |
/** | |
Test read file by chunks | |
➜ read ll | |
total 13241936 | |
drwxr-xr-x 5 rlopes staff 170B 16 Jan 01:19 ./ |