Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
| #!/usr/bin/bash | |
| echo "processing $1 and $2" | |
| PNG0=$1 ## png0 <----- first image should be the BLACKEST | |
| PNG1=$2 ## png1 <----- second image should be the WHITEST | |
| #PNG2=$3 ## png2 <----- third - todo - this could be an opaque fg with tranparent bg | |
| bg_size=`identify -format '%wx%h' "$1"` | |
| #echo "bg is $bg_size" | |
| magick convert $PNG1 -resize $bg_size $PNG1 | |
| magick convert $PNG0 -channel RGBA -matte -colorspace gray -normalize -ordered-dither o8x8 gray_$PNG0 | |
| magick convert $PNG1 -channel RGBA -matte -colorspace gray -normalize -ordered-dither o8x8 gray_$PNG1 |
| #!/usr/bin/bash | |
| echo "processing $1 and $2" | |
| PNG0=$1 ## png0 <----- first image should be the BLACKEST | |
| PNG1=$2 ## png1 <----- second image should be the WHITEST | |
| #PNG2=$3 ## png2 <----- third - todo - this could be an opaque fg with tranparent bg | |
| bg_size=`identify -format '%wx%h' "$1"` | |
| #echo "bg is $bg_size" | |
| magick convert $PNG1 -resize $bg_size $PNG1 | |
| magick convert $PNG0 -channel RGBA -matte -colorspace gray -normalize -ordered-dither o8x8 gray_$PNG0 | |
| magick convert $PNG1 -channel RGBA -matte -colorspace gray -normalize -ordered-dither o8x8 gray_$PNG1 |
| # non root user example for alpine | |
| # | |
| # usage: | |
| # $ docker build --build-arg "USER=someuser" --tag test . | |
| # $ docker run --rm test | |
| FROM alpine | |
| ARG USER=default | |
| ENV HOME /home/$USER |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-/Apple/DTD PLIST 1.0/EN" "http:/www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.shadowsocks.chinadns</string> | |
| <key>KeepAlive</key> | |
| <true/> | |
| <key>RunAtLoad</key> | |
| <true/> |