This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# convertImages.sh | |
# Authors: Peter Jaap Blaakmeer (elgentos.nl) & Jeroen Vermeulen (magehost.pro) | |
# https://gist.github.com/peterjaap/7080989 | |
# https://gist.github.com/jeroenvermeulen/feb819799dea3d74ae9c | |
NEWQUALITY=90 | |
NEWWIDTH=2000 | |
DIRECTORY=$HOME/httpdocs/media/catalog/product/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# source: https://gist.github.com/filipenf/e9901883d66b8da65c151cf674e5f2a9 | |
# | |
# Reads fdupes(-r -1) output and create relative symbolic links for each duplicate | |
# usage: fdupes -r1 . | ./lndupes.py | |
import os | |
from os.path import dirname, relpath, basename, join | |
import sys | |
import shlex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Example build command: docker build --pull --tag DOCKERHUB-USERNAME/chrome-remote-desktop:ubuntu-xfce --build-arg CODE=4/0AZE....jyuw . | |
# | |
FROM amd64/ubuntu:latest | |
ENV DEBIAN_FRONTEND=noninteractive | |
# INSTALL XFCE AND OTHER PACKAGES | |
RUN apt-get update && apt-get upgrade --assume-yes | |
RUN apt-get install --assume-yes --fix-missing sudo wget apt-utils xvfb xfce4 xbase-clients \ | |
desktop-base vim python3-psutil psmisc python3-psutil xserver-xorg-video-dummy \ | |
libutempter0 epiphany-browser |