This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
| Manual installation | |
| 1. copy dropbearmultin in /usr/sbin | |
| 2. create dropbearmulti aliases (call ./dropbearmulti) | |
| Dropbear multi-purpose version 0.51 | |
| Make a symlink pointing at this binary with one of the following names: | |
| 'dropbear' - the Dropbear server | |
| 'dbclient' or 'ssh' - the Dropbear client | |
| 'dropbearkey' - the key generator | |
| 'dropbearconvert' - the key converter |
| // Node v6.9.0 | |
| // | |
| // TEST FILE (cut down for simplicity) | |
| // To ensure Golang encrypted string can be decrypted in NodeJS. | |
| // | |
| let crypto; | |
| try { | |
| crypto = require('crypto'); |
Netcat is like a swiss army knife for geeks. It can be used for just about anything involving TCP or UDP. One of its most practical uses is to transfer files. Non *nix people usually don't have SSH setup, and it is much faster to transfer stuff with netcat then setup SSH. netcat is just a single executable, and works across all platforms (Windows,Mac OS X, Linux).
On the receiving (destination) terminal, run:
nc -l -p 1234 > out.file | /* --- Usage --- */ | |
| g++ server.c -o server | |
| g++ client.c -o client | |
| ./server | |
| ./client 127.0.0.1 | |
| /* --- server.c --- */ | |
| #include <sys/socket.h> | |
| #include <netinet/in.h> | |
| #include <arpa/inet.h> |
| /* http://l3net.wordpress.com/2012/12/09/a-simple-telnet-client/ */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| #include <string.h> | |
| #include <arpa/inet.h> | |
| #include <termios.h> | |
| #include <fcntl.h> | |