Skip to content

Instantly share code, notes, and snippets.

View rocc0's full-sized avatar

Vladyslav rocc0

View GitHub Profile
package main
import (
"log"
"os"
"os/signal"
"syscall"
"time"
"github.com/AsynkronIT/protoactor-go/actor"
1) Install packages ```sudo apt-get install gcc-multilib g++-multilib```
2) run ```GOOS=linux GOARCH=386 CGO_ENABLED=1 go build .```
3) Done!
@rocc0
rocc0 / bulk_processor_example1.go
Created February 22, 2018 10:34 — forked from olivere/bulk_processor_example1.go
Example #1 of bulk processor usage
// This is an example of using elastic's BulkProcessor with Elasticsearch.
//
// See https://github.com/olivere/elastic and
// and https://github.com/olivere/elastic/wiki/BulkProcessor
// for more details.
/*
* This example illustrates a simple process that performs bulk processing
* with Elasticsearch using the BulkProcessor in elastic.
*
@rocc0
rocc0 / zimbra_letsencrypt_renew_ssl.md
Last active August 31, 2017 08:19
Renewing of Zimbra Let's Encrypt Certificate

How to Renew Zimbra Letsencrypt SSL Certificates

Zimbra Version: Release 8.6.0_GA_1153.RHEL6_64_20141215151155 RHEL6_64 FOSS editio

Switch to zimbra user and stop services

Change user to zimbra and stop proxy(error if not used, it's ok) and mail box service before renew proccess. It's necesery to stop this two services because letsencrypt and this services are working on the same 443 port.

su zimbra
zmproxyctl stop