Skip to content

Instantly share code, notes, and snippets.

View kjimenezdev's full-sized avatar

Konrad Jiménez kjimenezdev

View GitHub Profile
@kjimenezdev
kjimenezdev / convert2mongoose.py
Created June 10, 2019 22:07
Convert JSON to mongoose models
#!/usr/bin/python
import json
import sys, getopt
def parse_dictionary(outfile, iter, key, intern_dict):
for i in range(iter):
outfile.write("\t")
key2write = ''
@kjimenezdev
kjimenezdev / deeptech.sh
Created January 4, 2019 23:42
Install Deeptech Monitoring agent
wget -N https://deeptech.monitoringclient.com/downloads/MonitoringClient.deb -O ./MonitoringClient.deb
sudo dpkg -i MonitoringClient.deb
sudo run-client --auto-update true
sudo systemctl start monitoringclient
sudo systemctl enable monitoringclient