Skip to content

Instantly share code, notes, and snippets.

@d6e
d6e / port-forward.json
Last active September 16, 2021 23:38 — forked from thefinn93/iptables.rule
Finn's Amazing iptables Thing
// /etc/port-forward.json dont forget to delete this line since comments are not valid JSON
// These are just sample values, obviously you'll want to change most of it
{
"public-if": "enp5s0",
"port-forwards": {
"80": "10.5.0.80:80",
"443": "10.5.0.80:443",
"8443": "10.5.0.60:8443",
"5222": "10.5.0.198:5222",
"5269": "10.5.0.198:5269",
@d6e
d6e / history.txt
Created January 23, 2014 18:19 — forked from oxtopus/history.txt
sudo apt-get update
sudo apt-get install python-dev git python-pip automake libtool libssl-dev
git clone https://github.com/numenta/nupic.git
mkdir -p nta/eng
echo "
export NTA=$HOME/nta/eng
export NUPIC=$HOME/nupic
export BUILDDIR=/tmp/ntabuild
export MK_JOBS=3
source $HOME/nupic/env.sh" >> ~/.bashrc

Installation:

  1. Place hyperboria.sh in /etc/init.d/hyperboria
  2. chmod +x /etc/init.d/hyperboria
  3. update-rc.d hyperboria defaults

This will cause it to automatically start with your computer. You can control it with /etc/init.d/hyperboria . Some systems (Ubuntu, not sure about others) allow you to use the service command, which shortens the command to `service hyperboria