For the Epson P600 printing from a Mac in either Adobe Colour Printer Utility, or Adobe Lightroom Classic.
On the printer: Premium Luster
In print settings: Ultra Premium Photo Luster
<button data-clipboard-copy-content="copy this content">Copy</button> |
#!/bin/bash | |
if [ -z $1 ]; | |
then echo "Missing url, try $0 http://example.com"; | |
else | |
curl -v -s $1 1> /dev/null | |
fi | |
## based on https://lornajane.net/posts/2014/view-only-headers-with-curl |
docker-compose build www
docker-composer up -d wpdb redis www
#!/bin/zsh | |
# Alias this to your ~/bin/ directory: `ln -s ~/git/dcp/dcp.sh ~/bin/dcp | |
# and `chmod +x ~/git/dcp/dcp.sh` | |
# docker-compose "$@" | |
docker compose "$@" |
find . -maxdepth 1 -type d \( ! -name . \) -exec bash -c "cd '{}' && git config user.email you@example.co.uk" \; |
#!/usr/local/bin/python | |
import urllib, json, time | |
# find files older than X and delete them | |
# https://api.slack.com/docs/oauth-test-tokens | |
token = "your-token-here" | |
# https://api.slack.com/methods/users.identity looks like "U2XXXXXXX" | |
user = "your-user-id" |
#!/bin/bash | |
# assumes you have ffmpeg - brew install ffmpeg | |
if [ -z "$1" ]; then | |
echo "No input file" | |
exit | |
fi | |
if [ -z "$2" ]; then | |
echo "No output file" | |
exit | |
fi |
Since amazon doesnt like URLs on their wishlist anymore, here is some stuff T-Shirts from Threadless (UK retailer) Size Large Please ;) in order of preference
// add this directive to an iFrame element and pass a name of the source, and this will change the height based on the | |
// events passed from the iframe source. the name of the source, and type of the message are checked before making a | |
// change to the element width. | |
// expects an object like to have been sent through the window.postMessage() interface : | |
// { | |
// type: 'resize', | |
// source: 'some-iframe-content', | |
// value: { | |
// height: 200 |