If you trust me, do this:
curl https://raw.github.com/gist/3868967/30ed8db63ea701e1ad18dabbecfc8df0ffd8b195/install.sh > install.sh
sh install.sh
#!/bin/bash | |
for filename in $(find . -type f) | |
do | |
f_type=$(file -b $filename) | |
if [ "${f_type##* }" == "text" ] | |
then | |
echo "###################### FILE: ${filename} #######################" >> collated_code.txt | |
cat ${filename} >> collated_code.txt | |
echo "###################### END FILE ${filename} ####################" >> collated_code.txt |
#!/usr/bin/env bash | |
# pomf.se uploader | |
# requires: curl | |
dest_url='http://pomf.se/upload.php' | |
return_url='http://a.pomf.se' | |
if [[ -n "${1}" ]]; then | |
file="${1}" | |
if [ -f "${file}" ]; then |