I hereby claim:
- I am thitu on github.
- I am nikolas (https://keybase.io/nikolas) on keybase.
- I have a public key ASB5AA1gGwHYeCueR1Fy2oIU55wMtU8UwybVtgu6CvGEjAo
To claim this, I am signing this object:
#!/usr/bin/env bash | |
set -e | |
file=`mktemp` | |
input=$1 | |
if [ -f "$input" ]; then | |
xmllint --pretty 1 $input > $file | |
mv $file $input |
## | |
## I struggled to get a correct configuration of a rails service running | |
## behind an apache daemon as the proxy. | |
## | |
## This configuration worked for me. | |
## | |
<VirtualHost your-hostname.com:80> | |
ServerName your-hostname.com | |
ErrorLog /var/log/httpd/www.error.log |
#!/usr/bin/env bash | |
if [ -n "$1" ]; then | |
echo ${1,,} | |
else | |
while read x; do echo ${x,,}; done | |
fi |
#!/usr/bin/env bash | |
if [ -n "$1" ]; then | |
echo ${1^^} | |
else | |
while read x; do echo ${x^^}; done | |
fi |
I hereby claim:
To claim this, I am signing this object:
#ifndef MAX_STR | |
#define MAX_STR 1024 | |
#endif | |
char *trim(const char *str) { | |
if(str == NULL) { | |
return NULL; | |
} |