Profile cover photo
Profile photo
Giovanni Colapinto
410 followers
410 followers
About
Posts

Post has attachment
First you need to check the io scheduler used: # cat /sys/block/sdb/queue/scheduler noop [deadline] cfq Than you need to change it with a scheduler more appropriated for your disks (for ssd disk it seems to be cfq > noop > deadline) vi…

Post has attachment

Post has attachment
In my rancher cluster I deployed a Gogs instance to have a git repository, than try to create a catalog but I can’t add it to rancher because of its self signed certificate. Here is a work-around On the rancher server container dpkg-reconfigure…

Post has attachment
I think Rancher is a amazing tool to manage docker containers. It ships with an internal orchestrator: cattle. This is the way I used to create a cluster of rancher servers. rancher-01: eth0 (public interface): 10.209.113.32 eth1 (internal interface):…

Post has attachment
Starting from two days to work with channels and the first issue I faced is with Cross Origin :( After some searches on google, the best solution is to install apache and configure a virtual server with the following settings: Header always set…

Post has attachment
VerneMQ is a young but great MQTT broker. To install it on Pine64 with Ubuntu Xenial, follow the steps below. Install the following packages apt-get install libssl-dev libncurses5-dev openjdk-8-jre-headless openjdk-8-jdk-headless git libsnappy-dev erlang…

Post has attachment
InfluxDB is a great time series database https://www.influxdata.com/  and it’s ne of the component of the TICK platform. If you want to install it on a Pine64 board (https://www.pine64.org/), follow these steps: Download and install the binary package for…

Post has attachment
Originally posted on Ramblings on startups, NYC, advertising and hacking (mostly Python): Often times you’ll find that you need to use a constant that’s defined in your Django settings within a template. Unfortunately Django only provides access to a…

Post has attachment
A docker container to run flower for celery. It doesn’t run any celery tasks. https://hub.docker.com/r/njordr/celery-flower/

Post has attachment
My new project involves both tornado (as frontend, using tornado-json) and celery (as backend). After googling too much I found two different ways to integrate celery with tornado: using an IOLoop to check for task completion (stackoverflow) using a unix…
Wait while more posts are being loaded