Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 16 lines (14 sloc) 470 Bytes
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
EMOJI=( "🌿" "🌳" "🌴" "🍃" "🌾" "🌲" "🍓" "🍓" " " " " )
# Makes a strawberry field
# https://twitter.com/_soloform/status/421787068390330368
SCRIPTDIR=$(dirname $0)
TWEET=""
pushd $SCRIPTDIR
while read NUM; do
TWEET="${TWEET}${EMOJI[$NUM]}"
done < <(echo $RANDOM$RANDOM$RANDOM$RANDOM$RANDOM$RANDOM$RANDOM | sed -e "s/\(.\)/\1\n/g" | grep "^[0-9]")
../../../Tools/tweet.sh/tweet.sh tweet "$TWEET"
popd