Skip to content

Instantly share code, notes, and snippets.

@DinkDonk
DinkDonk / setup.md
Last active January 16, 2024 00:22
Raspberrypi (raspbian) VPN passthrough.

This will set up a passthrough between the eth0 interface and the wan0 interface, with a VPN connection in-between.
You can then connect a machine to the ethernet port of the raspberrypi, and that machines network traffic will pass through the vpn tunnel on the raspberrypi.

The device connected to the ethernet plug of the PI should be set up with:

IP: 192.168.0.2
Mask: 255.255.255.0
Gateway: 192.168.0.1

Set up interfaces

@subnomo
subnomo / crunchyRes.user.js
Last active August 3, 2019 13:41
Edited Zren's Crunchyroll Userscript to better display each resolution
// ==UserScript==
// @name Crunchyroll: Resize Player To Window Size
// @description Moves the video to the top of the website and resizes it to the screen size.
// @author Chris H (Zren / Shade)
// @icon http://crunchyroll.com/favicon.ico
// @homepageURL http://userscripts.org/scripts/show/157272
// @downloadURL http://userscripts.org/scripts/source/157272.user.js
// @updateURL http://userscripts.org/scripts/source/157272.meta.js
// @namespace http://xshade.ca
// @version 1.1.1
@patriciogonzalezvivo
patriciogonzalezvivo / rpi.md
Last active March 25, 2018 09:28
RaspberryPi post-installation

THE BASIC

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install avahi-daemon 

Apache Server