Skip to content

Instantly share code, notes, and snippets.

@anestos
anestos / expose_local_curity.sh
Last active Feb 26, 2022
Expose your local Curity installation on the internet
View expose_local_curity.sh
#!/bin/bash
set -m
mkdir -p $HOME/.ngrok2
CONFIG_FILE="$HOME/.ngrok2/curity.yml"
if [[ ! -e "$CONFIG_FILE" ]]; then
cat <<EOF > ${CONFIG_FILE}
console_ui: false
tunnels:
View keybase.md

Keybase proof

I hereby claim:

  • I am anestos on github.
  • I am anestos (https://keybase.io/anestos) on keybase.
  • I have a public key ASD2t68XDCqp0m5hv_eR3WETWwRGW-5HSIpBdIGVqkINjwo

To claim this, I am signing this object:

View nodejs
#!/bin/sh
#
# chkconfig: 35 99 99
# description: Node.js /home/nodejs/sample/app.js
#
. /etc/rc.d/init.d/functions
USER="nodejs"