It is loaded by default by /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist.
If you run
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
| #!/usr/bin/env python3 | |
| """Simple HTTP Server With Upload. | |
| This module builds on BaseHTTPServer by implementing the standard GET | |
| and HEAD requests in a fairly straightforward manner. | |
| see: https://gist.github.com/UniIsland/3346170 | |
| """ | |
It is loaded by default by /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist.
If you run
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
This can reduce files to ~15% of their size (2.3M to 345K, in one case) with no obvious degradation of quality.
ghostscript -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
Other options for PDFSETTINGS:
| wget https://github.com/xtaci/kcptun/releases/download/v20170525/kcptun-linux-amd64-20170525.tar.gz | |
| tar xvf kcptun-linux-amd64-20170525.tar.gz | |
| sudo mv server_linux_amd64 /usr/local/bin/kcptun_server | |
| sudo mv client_linux_amd64 /usr/local/bin/kcptun_client | |
| sudo mkdir -p /etc/kcptun | |
| sudo bash -c "cat <<EOT > /etc/kcptun/server_conf.json | |
| { | |
| \"listen\": \":4321\", | |
| \"target\": \"127.0.0.1:8421\", |
| #!/bin/bash | |
| DAEMON=/usr/local/Cellar/aria2/1.31.0/bin/aria2c | |
| PID_NAME=aria2c | |
| PID=$(ps ux | awk '/aria2c/ && !/awk/ {print $2}') | |
| CONFIG_PATH='/path/to/aria2.conf' | |
| TRACKER_URL='https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all_ip.txt' | |
| ##### |