Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
photos_list = [
"https://images.unsplash.com/photo-1507963901243-ebfaecd5f2f4?crop=entropy&cs=tinysrgb&fit=crop&fm=jpg&h=720&w=1280",
"https://images.unsplash.com/photo-1456753510773-a8bd200a4a26?crop=entropy&cs=tinysrgb&fit=crop&fm=jpg&h=720&w=1280",
"https://images.unsplash.com/photo-1444944232907-0b9e9ace348c?crop=entropy&cs=tinysrgb&fit=crop&fm=jpg&h=720&w=1280",
"https://images.unsplash.com/photo-1475598322381-f1b499717dda?crop=entropy&cs=tinysrgb&fit=crop&fm=jpg&h=720&w=1280",
"https://images.unsplash.com/photo-1467703834117-04386e3dadd8?crop=entropy&cs=tinysrgb&fit=crop&fm=jpg&h=720&w=1280",
"https://images.unsplash.com/photo-1475924156734-496f6cac6ec1?crop=entropy&cs=tinysrgb&fit=crop&fm=jpg&h=720&w=1280",
"https://images.unsplash.com/photo-1500323413110-71ec8ed382f0?crop=entropy&cs=tinysrgb&fit=crop&fm=jpg&h=720&w=1280",
"https://images.unsplash.com/photo-1474433188271-d3f339f41911?crop=entropy&cs=tinysrgb&fit=crop&fm=jpg&h=720&w=1280",
FROM wordpress:php7.4-fpm-alpine | |
# this is needed by Codeception | |
RUN docker-php-ext-install pdo_mysql | |
# this will add WP-CLI to the container | |
WORKDIR /tmp | |
RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
RUN chmod +x wp-cli.phar | |
RUN mv wp-cli.phar /usr/local/bin/wp |
git config user.name 'foo'
git config user.email '[email protected]'
For more details please visit http://fisherworks.cn/?p=2517
$ sudo apt update && sudo apt dist-upgrade
$ sudo apt install vim-nox openssh-server chromium-browser x11vnc slick-greeter
On lightdm configuration screen choose lightdm
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:
Download, unzip and drag to your Applications directory.
https://www.iterm2.com/downloads.html