Skip to content

Instantly share code, notes, and snippets.

View ItIsJustChad's full-sized avatar

Just Chad ItIsJustChad

View GitHub Profile
@ItIsJustChad
ItIsJustChad / UbuntuVMwithVPN.md
Created June 3, 2020 12:45
Creating an Ubuntu VM on Windows 10 Pro with VPN

Setting up a HyperV Ubuntu VM that supports Copy/Paste and File Transfer while connected to a VPN

Last Updated: 03 Jun 2020

If you want poke around the Internet a bit more safely but don't want to use a separate computer, you can use a virtual machine with a VPN to do so. If you're running Windows 10 Pro, Microsoft's Hyper-V makes it very simple to get up and running with a Ubuntu and ExpressVPN in well under an hour.

Requirements

@ItIsJustChad
ItIsJustChad / sendgrid-python-template-example.py
Last active August 10, 2020 12:15
Using Email Template with SendGrid and Python
#!/usr/bin/python3
from sendgrid.helpers.mail import *
from sendgrid import *
import urllib
def create_content():
#you can creatively come up with dynamic content
person = "Chad"
line = "<table><tr><th>Col 1</th><th>Col 2</th></tr><tr><td>{0}</td><td>Row 1 Col 2</td></td></table>".format(person)
return line