Skip to content

Instantly share code, notes, and snippets.

View Elschnagoo's full-sized avatar
🦉
NightOwl

Elschnagoo Elschnagoo

🦉
NightOwl
View GitHub Profile
@Elschnagoo
Elschnagoo / npm-proxy
Created October 12, 2025 16:02
Proxy Script for @aikidosec/safe-chain to used in Jetbrains IDE
#!/usr/bin/env zsh
# npm-proxy - A simple wrapper script to proxy all arguments to npm
# Optional: Log the command for debugging
echo "Running npm with arguments: $@" >&2
source ~/.safe-chain/scripts/init-posix.sh # Safe-chain Zsh initialization script
# Forward all arguments to npm
npm "$@"
@churro-s
churro-s / LetsEncrypt_HTTPS_plex.MD
Last active September 14, 2025 10:59
Setup Let's Encrypt certificate for use with Plex Media Server on Ubuntu
@soheilhy
soheilhy / nginxproxy.md
Last active July 5, 2025 15:29
How to proxy web apps using nginx?

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for example1.com, example2.com, and example1.com/images on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers

@keeguon
keeguon / countries.json
Created April 5, 2012 11:11
A list of countries in JSON
[
{name: 'Afghanistan', code: 'AF'},
{name: 'Åland Islands', code: 'AX'},
{name: 'Albania', code: 'AL'},
{name: 'Algeria', code: 'DZ'},
{name: 'American Samoa', code: 'AS'},
{name: 'AndorrA', code: 'AD'},
{name: 'Angola', code: 'AO'},
{name: 'Anguilla', code: 'AI'},
{name: 'Antarctica', code: 'AQ'},