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:
1 2 3 4 5 6 7 |
plugins=(zsh-autosuggestions git) DEFAULT_USER=... POWERLEVEL9K_SHORTEN_DIR_LENGTH=2 source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh |
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:
1 |
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions |
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
Online photo editor
Photoshop-like image editor https://www.photopea.com/
Turn off ads on MIUI
Turn off the following: 1. System application «Security»→coag sign→Receive recommendations 2. System application «Security»→Cleaner→Receive recommendations 3. System app «File manager»→ Settings→ About→Recommendations 4. System app «Downloads»→ three dots→ Settings→ Show recommended content 5. System app «Music»→ Settings→ Advanced Settings→Receive recommendations 6. System settings→ Additional settings→ Authorization & revocation→msa The same in Russian: https://4pda.ru/forum/index.php?act=findpost&pid=77282386&anchor=Spoil-77282386-1
docker simple starter
Build and run (on linux do not forget sudo):
1 2 |
docker image build -t <image-name> . docker container run --env "DOCKER=true" --env "NODE_ENV=test" --env "NODE_PORT=8000" --mount "type=bind,source=/etc/nginx/sites-enabled,target=/sites-enabled" --env "PATH_CONF=/sites-enabled" -p 8000:8000 --rm --name <container-name> --network=host <image-name> |
Login into container
1 |
docker container exec -it <container-name> bash |
How to connect Synology to your UPS
They can be connected via USB like this: https://www.synology.com/en-us/knowledgebase/DSM/help/DSM/AdminCenter/system_hardware_ups