I hereby claim:
- I am jdaudier on github.
- I am jdaudier (https://keybase.io/jdaudier) on keybase.
- I have a public key ASAwrMdRLfygLzIEIUL-Wib_VMulFZMxO5UNqOFwxEsFOAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
app.all('*', function (req, res, next) { | |
res.header("Access-Control-Allow-Origin", req.headers.origin); | |
res.header("Access-Control-Allow-Credentials", true); | |
res.header('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE,OPTIONS'); | |
res.header("Access-Control-Allow-Headers", "X-Requested-With, Content-Type, Authorization, Content-Length"); | |
if (req.method == 'OPTIONS') { | |
return res.send(200); | |
} |
#!/bin/bash | |
echo "Number of arguments: $#" | |
if [[ $# -ne 1 ]] | |
then | |
echo "We need a file to kill!" | |
exit 1 | |
fi | |
if [[ -f $1 ]] |