Skip to content

Instantly share code, notes, and snippets.

@daBOB
daBOB / nm_l2tp_ipsec_vpn.md
Created May 4, 2024 01:12 — forked from pastleo/nm_l2tp_ipsec_vpn.md
setup L2TP IPSEC VPN in archlinux using NetworkManager
@daBOB
daBOB / README.md
Created May 24, 2021 23:21 — forked from gdamjan/README.md
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.

What

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).

Requirements

@daBOB
daBOB / gist:26664cd397eb7cf48cc46e3f9d5dc058
Last active October 8, 2022 05:28
After Fresh Ubuntu Install
sudo apt update
sudo apt full-upgrade
# add Papirus icon theme
sudo add-apt-repository ppa:papirus/papirus
# add OpenShot
sudo add-apt-repository ppa:openshot.developers/ppa
@daBOB
daBOB / check_reqs.js
Created June 28, 2018 07:27
replace new file in guiding-group-app/build/icgapp/platforms/android/cordova/lib/
#!/usr/bin/env node
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
@daBOB
daBOB / .eslintrc.js
Created November 9, 2017 20:50 — forked from nkbt/.eslintrc.js
Strict ESLint config for React, ES6 (based on Airbnb Code style)
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"plugins": ["react"],
"ecmaFeatures": {
@daBOB
daBOB / Final-Fantasy-XIV-crystal-scroll.markdown
Created April 3, 2015 22:02
Final Fantasy XIV crystal scroll
@daBOB
daBOB / 0_reuse_code.js
Last active August 29, 2015 14:18
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console