Skip to content

Instantly share code, notes, and snippets.

View memadd's full-sized avatar

Mohamed Emad memadd

View GitHub Profile
#!/usr/bin/env python
"""
VMware vCenter Metrics Collection - TEST VERSION
Prints all metrics to terminal for testing on VMware Hands-on Lab
No Logstash integration - pure console output
"""
from pyVim.connect import SmartConnectNoSSL, Disconnect
from pyVmomi import vim
import json
@memadd
memadd / django_deploy.md
Created October 19, 2020 12:58 — forked from bradtraversy/django_deploy.md
Django Deployment - Digital Ocean

Django Deployment to Ubuntu 18.04

In this guide I will go through all the steps to create a VPS, secure it and deploy a Django application. This is a summarized document from this digital ocean doc

Any commands with "$" at the beginning run on your local machine and any "#" run when logged into the server

Create A Digital Ocean Droplet

Use this link and get $10 free. Just select the $5 plan unless this a production app.