Skip to content

Instantly share code, notes, and snippets.

@anestos
anestos / expose_local_curity.sh
Last active March 13, 2023 16:08
Expose your local Curity installation on the internet
#!/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:

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:

@anestos
anestos / nodejs
Last active August 29, 2015 14:24
#!/bin/sh
#
# chkconfig: 35 99 99
# description: Node.js /home/nodejs/sample/app.js
#
. /etc/rc.d/init.d/functions
USER="nodejs"