Some exercises from the Falsy Values workshops.
The good parts:
- HTTP server and client in same script
- Express cookies example
- Express routing example
- Express error handling
- Express middlewares example
- Simple HTTP proxy
Some exercises from the Falsy Values workshops.
The good parts:
| #!/bin/bash | |
| # | |
| # Links files in this directory to the current users home directory. | |
| # | |
| # If the link already exists the file will be skipped unless the -f flag is given. | |
| real_path () { | |
| _=`pwd` | |
| [ -d $DIR ] && DIR=$1 | |
| [ -f $DIR ] && DIR=`dirname $1` |