(´へεへ`*) < 10日目だよ〜
(´へεへ`*) < 昨日は@penguin2716氏、明日は@teshi04氏だよ〜
(´へεへ`*) < ………
(´へεへ`*) < 10日目だよ〜
(´へεへ`*) < 昨日は@penguin2716氏、明日は@teshi04氏だよ〜
(´へεへ`*) < ………
# Usage: ./gaming.sh target.png | |
filename=$(basename -- "$1") | |
extension="${filename##*.}" | |
filename="${filename%.*}" | |
for i in 0 1 2 3 4; do | |
convert $1 -modulate 100,100,$(((($i + 3) % 5) * 33)) $filename$i.png | |
done | |
convert -delay 3 -loop 0 $filename*.png $filename.gif; |
#!/bin/bash | |
tmpfile=$(mktemp) | |
adb shell screencap -p > $tmpfile | |
# mogrify -resize 50% $tmpfile | |
mogrify -resize 300x $tmpfile | |
osascript -e "set the clipboard to (read (POSIX file \"$tmpfile\") as JPEG picture)" | |
rm $tmpfile |
curl -d "token=YOUR_TOKEN" "https://slack.com/api/emoji.list" | jq -r '.emoji | keys[] as $k | "\($k) \(.[$k])"' | awk '{split($2, a, "."); print $1"."a[length(a)], $2}' | xargs -P 8 -n2 bash -c 'curl -o $0 $1' |