- rate limiting
- cryptographically secure tokens (not rand() or guid())
- expire sessions
- sanitize for xss
The svendowideit/ambassador Dockerfile | |
The svendowideit/ambassador image is a small busybox image with socat built in. When you start the container, it uses a small sed script to parse out the (possibly multiple) link environment variables to set up the port forwarding. On the remote host, you need to set the variable using the -e command line option. | |
-expose 1234 -e REDIS_PORT_1234_TCP=tcp://192.168.1.52:6379 will forward the local 1234 port to the remote IP and port - in this case 192.168.1.52:6379. | |
# | |
# | |
# first you need to build the docker-ut image using ./contrib/mkimage-unittest.sh | |
# then |
sudo apt-get install python-software-properties # 12.04 | |
sudo add-apt-repository ppa:duh/golang | |
sudo apt-get update | |
sudo apt-get install golang | |
$ mkdir $HOME/go | |
bashrc |
cd /etc/init vim docker.conf
replace /usr/bin/docker -d
with this /usr/bin/docker -H 0.0.0.0:5555 -d
so that we can connect through http api.
alias docker="docker -H 0.0.0.0:5555"
cd /var/lib/docker/containers
in the above locations you can find all the containers which are all executed
xset -dpms | |
xset s noblank | |
xset s off |
Package Control Menu: ctrl+shift+P
public abstract class JdbiIntegrationTest { | |
private DBI dbi; | |
private Handle handle; | |
private Liquibase liquibase; | |
protected abstract DatabaseConfiguration getDatabaseConfiguration(); |