Skip to content

Instantly share code, notes, and snippets.

@inhies
inhies / Raspberry Pi L2TP VPN Setup Scripts.md
Last active October 1, 2016 02:45 — forked from alryaz/Raspberry Pi L2TP VPN Setup Scripts.md
RPi SoftEther Installer | v4.20-9608-rtm-2016.04.17

Install raspbian, set up your users however you would like, so long as you have sudo access on the user you are running this with. You probably want to resize the image so it fills the SD card as well.

  1. Copy this entire gist to your raspberry pi
  2. Do chmod +x step1.sh step2.sh iptables.sh in the gist folder (so that
  3. Run step1.sh a) This script does a few things - it first updates your raspberry pi, then it installs a few needed utilities, then it upgrades the firmware on your
@inhies
inhies / GPL.md
Last active December 15, 2015 00:18 — forked from jnrbsn/GPL.md
Markdown formatted version of the GPLv3 license.

GNU GENERAL PUBLIC LICENSE

Version 3, 29 June 2007

Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>

Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

@inhies
inhies / markdown.vim
Last active December 14, 2015 20:39 — forked from ppanyukov/markdown.vim
A plugin for rendering markdown and loading it in your web browser for viewing. This has been modified a few times and this version is geared towards Ubuntu and the blackfriday markdown processor. To use, just open a markdown file in vim and press ,p (comma then p) and it will render it to an html file and load it in your default browser.
"
" While editing a Markdown document in Vim, preview it in the
" default browser.
"
" Author: Nate Silva
"
" To install: Place markdown.vim in ~/.vim/ftplugin or
" %USERPROFILE%\vimfiles\ftplugin.
"
" To use: While editing a Markdown file, press ',p' (comma p)
@inhies
inhies / hyperboria.sh
Created December 11, 2012 09:36 — forked from cantor/hyperboria.sh
cjdns Init Script (start|stop|restart|status|flush|update|install|delete)
#!/bin/sh -e
### BEGIN INIT INFO
# hyperboria.sh - An init script (/etc/init.d/) for cjdns
# Provides: cjdroute
# Required-Start: $remote_fs $network
# Required-Stop: $remote_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Cjdns router
# Description: A routing engine designed for security, scalability, speed and ease of use.