Skip to content

Instantly share code, notes, and snippets.

John Mendonça johnmendonca

Block or report user

Report or block johnmendonca

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Delete files after overwriting them with random bytes
# https://stackoverflow.com/questions/26365529/easiest-way-to-overwrite-a-series-of-files-with-zeros
for f in $(<list_of_files.txt)
do
read blocks blocksize < <(stat -c "%b %B" ${f})
dd if=/dev/urandom bs=${blocksize} count=${blocks} of=${f} conv=notrunc
rm ${f}
done
View lambdaconf_links.txt
You can’t perform that action at this time.