Skip to content

Instantly share code, notes, and snippets.

Expect slow response. Crunch time.

Gene pandalion98

Expect slow response. Crunch time.
  • Almirante Brown Antarctic Base
View GitHub Profile
viegelinsch / etc-kbd-config.patch
Created Feb 21, 2015
patch for /etc/kbd/config to prevent Raspberry Pi from sleeping
View etc-kbd-config.patch
--- /etc/kbd/config 2015-02-21 16:24:59.653062112 +0100
+++ /etc/kbd/ 2015-02-21 16:24:28.554492138 +0100
@@ -38,7 +38,8 @@
# screen blanking timeout. monitor remains on, but the screen is cleared to
# range: 0-60 min (0==never) kernels I've looked at default to 10 minutes.
# (see linux/drivers/char/console.c)
gdamjan /
Last active Jul 27, 2020
Setup for an easy to use, simple reverse http tunnels with nginx and ssh. It's that simple there's no authentication at all. The end result, a single ssh command invocation gives you a public url for your web app hosted on your laptop.


A lot of times you are developing a web application on your own laptop or home computer and would like to demo it to the public. Most of those times you are behind a router/firewall and you don't have a public IP address. Instead of configuring routers (often not possible), this solution gives you a public URL that's reverse tunnelled via ssh to your laptop.

Because of the relaxation of the sshd setup, it's best used on a dedicated virtual machine just for this (an Amazon micro instance for example).


You can’t perform that action at this time.