summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-03-16 15:36:15 -0400
committerJune McEnroe <june@causal.agency>2018-03-16 15:36:15 -0400
commitcb2be0ee7b8248410e5aec5a0eb0af30b52063b3 (patch)
treeb15336e87674805777efe4af7cf97075ce35c24b
parentAdd pdf script (diff)
downloadsrc-cb2be0ee7b8248410e5aec5a0eb0af30b52063b3.tar.gz
src-cb2be0ee7b8248410e5aec5a0eb0af30b52063b3.zip
Set PDFs read-only
Preview.app has an annoying habit of trying to edit PDFs when it lags
out and I click on things.
-rwxr-xr-xpdf.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/pdf.zsh b/pdf.zsh
index 81e3f706..a04eda66 100755
--- a/pdf.zsh
+++ b/pdf.zsh
@@ -20,3 +20,5 @@ intel intel-64-sdm-vol-1.pdf a4/60/253665-sdm-vol-1.pdf
 intel intel-64-sdm-vol-2.pdf a4/60/325383-sdm-vol-2abcd.pdf
 intel intel-64-sdm-vol-3.pdf a4/60/325384-sdm-vol-3abcd.pdf
 intel intel-64-sdm-vol-4.pdf 22/0d/335592-sdm-vol-4.pdf
+
+chmod 444 pdf/*.pdf
2019-09-10Set Accept-Encoding in titleJune McEnroe Because apparently it's fine for servers to respond with Content-Encoding you didn't ask for, and curl won't decode it if you didn't ask for it. 2019-09-08Set title User-AgentJune McEnroe Some things don't like you if you don't send one. 2019-09-07Add -x flag to titleJune McEnroe 2019-09-07Ignore SIGPIPE in relayJune McEnroe Allows restarting consumers safely. 2019-09-07Add A Memory Called EmpireJune McEnroe 2019-09-05Handle lack of Content-TypeJune McEnroe 2019-09-05Use CURLINFO_CONTENT_TYPEJune McEnroe Oops, didn't see this. 2019-09-05Decode entities in titlesJune McEnroe 2019-09-05Print title as soon as it's availableJune McEnroe 2019-09-05Use CURL_PREFIX to set flagsJune McEnroe 2019-09-05Add titleJune McEnroe 2019-09-04Add Avorter n'est pas tuerJune McEnroe 2019-08-29Unset executable on shell scriptsJune McEnroe 2019-08-29Add long-missing setopt to bin.7June McEnroe 2019-08-29Add editJune McEnroe