![]() :verbose - Verbose output (defaults to false).:threads - Number of threads or disable (defaults to number of processors).:nice - Nice level, priority of all used tools with higher value meaning lower priority, in range -20.19, negative values can be set only if run by root user (defaults to 10).Temporary directory can be changed using one of TMPDIR, TMP or TEMP environment variables. Image_optim uses standard ruby library for creating temporary files. Paths can be changed using :config_paths option and -config-paths argument. image_optim.yml in current working directory $XDG_CONFIG_HOME/image_optim.yml (by default ~/.config/image_optim.yml).ConfigurationĬonfiguration in YAML format will be read and prepended to options from two paths: Rails image assets optimization is extracted into image_optim_rails gem. optimize_images_data ( datas ) From rails PATH="/Applications/ImageOptim.app/Contents/MacOS:$PATH" image_optim *.jpgĮNV = "/custom/location:# " end end image_optim. PATH="/custom/location:$PATH" image_optim *.jpg Specify custom bin location using XXX_BIN environment variable ( JPEGOPTIM_BIN, OPTIPNG_BIN, …).īesides permanently setting environment variables in ~/.profile, ~/.bash_profile, ~/.bashrc, ~/.zshrc, … they can be set: If you cannot install to common location, then install to custom one and add it to PATH. Simplest way for image_optim to locate binaries is to install them in common location present in PATH (see Binaries installation). See image_optim_pack repository for Dockerfile and instructions. This gem is also be available as docker image containing most binaries: docker run -rm ghcr.io/toy/image_optim -version # image_optim versionĭocker run -rm ghcr.io/toy/image_optim -info # image_optim info including bin versionsĭocker run -rm -v "$PWD":/here -w /here ghcr.io/toy/image_optim image-in-this-folder.jpg If you want to check latest changes: gem ' image_optim ', :git => ' git:///toy/image_optim.git ' Docker With version: gem ' image_optim ', ' ~> 0.31 ' With image_optim_pack: gem ' image_optim ' gem ' image_optim_pack ' You may also want to install image_optim_pack (see Binaries pack). jpegtran from Independent JPEG Group's JPEG libraryĭocumentation for latest gem version and master branch.Ī test application with latest image_optim and image_optim_pack is available on render.(will use zopfli on default/maximum level 4) MacOS 10.15, Linux Ubuntu 21.10 & Windows 10 Posted by moritz.Command line tool and ruby interface to optimize (lossless compress, optionally lossy) jpeg, png, gif and svg images using external utilities: PS: If you want to learn more about Bash check out Introduction to the Bash Command Line. Install 1Password, Keypass or Lastpass (or another good password manager) brew cask install 1passwordĪdd CC Search, Decentraleyes, Open Access Button, Wayback Machine, Zotero Connector to your Brave installationĪdd CC Search, Decentraleyes, Privacy Badger, uBlock Origin, Zotero Connector to your Firefox installationĪdd Beautify, Docker, DotENV, Git History and Python to your VS Code installationĪdd Better BibTex and Zotfile to your Zotero installation language support for Tesseract which powers OCRmyPDF,īrew install bat curl docker exa fd htop imagemagick ocrmypdf pandoc pandoc-citeproc poppler python ripgrep tesseract-lang tldr wget xsvīrew cask install brave-browser firefox gimp imageoptim inkscape java lepton libreoffice mactex-no-gui spotify visual-studio-code vlc zettlr zotero. ![]() # Add wisely, as too many plugins slow down shell startup. # Example format: plugins=(rails git textmate ruby lighthouse) ![]() # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Standard plugins can be found in ~/.oh-my-zsh/plugins/* Git clone $/plugins/zsh-syntax-highlightingĬonfigure it using nano (or vim) nano ~/.zshrcįor Linux comment brew and osx and uncomment debian # Which plugins would you like to load? Install oh my zsh, zsh-autosuggestions, zsh-completions and zsh-syntax-highlighting sh -c "$(curl -fsSL )" On Linux using aptitude, curl and git sudo apt install curl git zsh
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |