Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
olliej
on June 28, 2016
|
parent
|
context
|
favorite
| on:
“Should you encrypt or compress first?”
Success: compress.sh: #!/bin/bash echo "#!/bin/bash" echo curl $1
./compress.sh
https://mikeash.com/tmp/randomfile.bin
> randomfile.compressedzomg
:D
/me hides
mikeash
on June 28, 2016
[–]
You're lucky I'm too lazy to edit a byte on the server and then ask you if it still matches.
Normal_gaussian
on June 28, 2016
|
parent
[–]
It would. You would need to change the location of the file
mikeash
on June 28, 2016
|
root
|
parent
[–]
Fine, fine, you're^Wthey're lucky I'm too lazy to make it return new random data each time.
olliej
on June 29, 2016
|
root
|
parent
[–]
\o/ :D
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
./compress.sh https://mikeash.com/tmp/randomfile.bin > randomfile.compressedzomg
:D
/me hides