Skip to content

Instantly share code, notes, and snippets.

View ketanarlulkar's full-sized avatar
🎯
Focusing

Ketan ketanarlulkar

🎯
Focusing
View GitHub Profile
@superjamie
superjamie / raspberry-pi-vpn-router.md
Last active April 13, 2024 12:22
Raspberry Pi VPN Router

Raspberry Pi VPN Router

This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.

Requirements

Install Raspbian Jessie (2016-05-27-raspbian-jessie.img) to your Pi's sdcard.

Use the Raspberry Pi Configuration tool or sudo raspi-config to:

@nicktoumpelis
nicktoumpelis / repo-rinse.sh
Created April 23, 2014 13:00
Cleans and resets a git repo and its submodules
git clean -xfd
git submodule foreach --recursive git clean -xfd
git reset --hard
git submodule foreach --recursive git reset --hard
git submodule update --init --recursive
@goghvanmr
goghvanmr / kindle_anki.py
Created December 13, 2011 12:37
Simple Script to convert Kindle clippings to Anki import file format
# -*- coding: utf-8 -*-
clippings = 'My Clippings.txt'
ankiFile = 'AnkiImport.txt'
def kindle_to_anki():
try:
clippingsFile = open(clippings, 'r')
except IOError, e:
print '*** file open error: ', e