Skip to content

Instantly share code, notes, and snippets.

View jestherthejoker's full-sized avatar
🏠
Working from home

Jesther Bas jestherthejoker

🏠
Working from home
View GitHub Profile
@jestherthejoker
jestherthejoker / reverse-proxy-tunnel.md
Created December 23, 2022 04:45 — forked from nakwa/reverse-proxy-tunnel.md
Reverse proxy server for local tunnel / with HTTPS forwarding

Reverse proxy as a local tunnel / with HTTPS forwarding

Using SSH forwarding, NGINX, LetsEncrypt & Docker (Ruby-on-rails & Puma as dev server in current setup)

Stack & config

Gemfile

ruby '2.6.5'
gem 'puma', '4.3.1'
@jestherthejoker
jestherthejoker / Sql.ts
Created June 1, 2017 04:35 — forked from aggarwalankush/Sql.ts
Ionic 2 storage
import {Injectable} from "@angular/core";
import {Platform} from "ionic-angular";
const DB_NAME: string = '__mydbname';
const win: any = window;
@Injectable()
export class Sql {
private _dbPromise: Promise<any>;