Skip to content

Instantly share code, notes, and snippets.

View mchenetz's full-sized avatar

Michael Chenetz mchenetz

View GitHub Profile
@mchenetz
mchenetz / extract-uimage.sh
Created February 6, 2019 15:47 — forked from adamvr/extract-uimage.sh
Script for extracting a uimage
#!/bin/sh
#
# Copyright (C) 2010 Matthias Buecher (http://www.maddes.net/)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# http://www.gnu.org/licenses/gpl-2.0.txt
@mchenetz
mchenetz / mixins.py
Created March 6, 2017 13:51 — forked from melvyn-sopacua/mixins.py
Display update form in a modal with initial data
from django.views import generic
from django.db.models.base import Model
from collections import OrderedDict
from django.forms import BaseForm
from django.core.validators import RegexValidator
__all__ = (
'AdditionalFormsMixin',
)
@mchenetz
mchenetz / meraki_strongswan_notes.md
Created August 25, 2016 15:22 — forked from psanford/meraki_strongswan_notes.md
connect to meraki client vpn from strongswan (ubuntu 16.04 edition)

These are my notes for connecting to a meraki client vpn from ubuntu 16.04. This configuration assumes you are using a psk for the ipsec auth.

Install the following packages:

apt-get install -y strongswan xl2tpd

Configure strong swan