Author Archives: bullgare

PostgreSQL: using indices on json fields

It’s obviously a really bad idea. But if you really need it, that’s what you can do.

Postgresql: show all locked queries

Smart Home systems

There are quite a lot of that systems: MajorDoMo OpenHab Iobroker Domoticz HomeAssistant The most interesting ones are: Iobroker (Node.js-based) HomeAssistant (based on Python 3)

Install exact version via brew

For instance, we’re looking for kubernetes-helm@2.9 helm 2.9

Now we have needed version of helm. If you see an error message like Error: go: unknown version :mountain_lion, you should make a little hack (as it said here). Check all the files depending on

In each file just comment a string saying depends_on :macos …

Read more

docker-compose example for ceph, kafka, postgres cluster

That is how it can be done:

Setting zsh on you mac

This gist is great: https://gist.github.com/kevin-smets/8568070 I just added these line at the bottom:

List of embedded plugins: https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins Custom plugins are installed here — ~/.oh-my-zsh/custom/plugins (actually, $ZSH_CUSTOM/plugins). Like this:

CO2 sensor DIY

Article says how to make your own CO2 sensor with Arduino and visualize data with Grafana. It’s in Russian. https://ovcharov.me/2018/10/21/co2-sensor-mh-z19b/

Spectacle for fullscreen apps on mac

It can make your app fullscreen and also manage your apps positioning. http://www.spectacleapp.com/ You could also try http://magnet.crowdcafe.com/ Now they suggest to use https://rectangleapp.com/ instead of spectacular.

Free video editor — Davinci Resolve

https://www.blackmagicdesign.com/ru/products/davinciresolve/

Online code editors

https://scrapfy.io — has go and js http://collabedit.com — has js