Category Archives: linux

curl post json

curl -H “Content-Type: application/json” -d ‘{“name”: “name 1”, “url”: “url1”}’ http://localhost:5000/api/jobs

Posted in linux | Leave a comment

Linux monitoring commands

16 linux monitoring commands

Posted in linux | Leave a comment

Google assistant sdk on raspberry pi

If you get this nasty exception, follow this link.

Posted in linux, rpi | Tagged , | Leave a comment

GPU price performance comparison

recently upgrade my gpu, and made some simple benchmarking for three cards: GTX 660, 1070, 1080 Benchmarking with training models: https://github.com/OpenNMT/OpenNMT-py. Dataset used was 3Gb, 660 has 2G internal memory, 1080/1070 have 8G. Pricing is for used cards on ebay. … Continue reading

Posted in linux, Uncategorized | Tagged | Leave a comment

vi commands

Basic vi commands Cheat sheet (pdf) replace: %s/old/new/g search: /text repeat search: n save: w quit: q quit without saving: q! quit and save: ZZ

Posted in linux | Leave a comment

Aliases in bash

Linux is very powerful with its command line control, but sometimes we type the same commands or use the same long-named folder. Using shortcuts (called aliases) comes in help. Just add them in your bashrc file

Posted in linux | Tagged , | Leave a comment