Write code that will validate UK postcodes.
You are given a regular expression that validates postcodes (shown in verbose form below):
(GIR\s0AA) |
(
| const byte localControlOn[]={0xF0,0x43,0x10,0x7F,0x1C,0x04,0x00,0x00,0x06,0x00,0xF7}; | |
| const byte localControlOff[]={0xF0,0x43,0x10,0x7F,0x1C,0x04,0x00,0x00,0x06,0x01,0xF7}; | |
| RK002_sendSystemExclusive(11, localControlOn); | |
| RK002_sendSystemExclusive(11, localControlOff); |
| split --bytes=1024M --filter='gzip > $FILE.gz' /path/to/input /path/to/output |
| sudo pip install sshuttle | |
| sshuttle -r user@host 0/0 |
| ls /var/run/reboot-required |
| lokkit -p 8090:tcp |
| gethostip -d [hostname] |
| ssh -t username@server screen "command" |
| (local machine) $ scp ~/.ssh/id_rsa.pub remoteuser@remotemachine:~ | |
| (remote machine) $ cat ~/id_rsa.pub >> ~/.ssh/authorized_keys |