Skip to content

Instantly share code, notes, and snippets.

View mattfippard's full-sized avatar
🎯
Focusing

mattfippard

🎯
Focusing
View GitHub Profile
@jdmar3
jdmar3 / onc_converter.py
Last active September 7, 2018 17:33 — forked from woodrow/onc_converter.py
Convert OpenVPN config files to ChromeOS ONC files
#!/usr/bin/python
import argparse
import json
import re
import sys
import uuid
class OpenVPNNetworkConfiguration(object):
@woodrow
woodrow / onc_converter.py
Created April 27, 2016 23:54
Convert OpenVPN config files to ChromeOS ONC files
import argparse
import json
import re
import sys
import uuid
class OpenVPNNetworkConfiguration(object):
KNOWN_CONFIG_KEYS = {
'name': {'key': 'Name'},