Skip to content

Instantly share code, notes, and snippets.

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

Shubham Matta shubhammatta

🏠
Working from home
View GitHub Profile
@shubhammatta
shubhammatta / docker-compose.yaml
Created July 3, 2025 14:39
n8n + tailscale minimal docker-compose
version: "3.7"
services:
tailscale:
image: tailscale/tailscale:latest
hostname: docker-vps
environment:
- TS_AUTHKEY=tskey-auth-XXXXXXXXXXXXXXXXX
- TS_STATE_DIR=/var/lib/tailscale
- TS_EXTRA_ARGS=--advertise-exit-node
volumes:
@arb
arb / github_oauth.js
Last active January 13, 2022 06:55
Example hapi server using GitHub OAuth
var Hapi = require('hapi');
var Bell = require('bell');
var AuthCookie = require('hapi-auth-cookie');
var server = new Hapi.Server();
server.connection({ port: 9001 });
server.register([Bell, AuthCookie], function (err) {
if (err) {