Skip to content

Instantly share code, notes, and snippets.

@sulrich
Last active December 4, 2015 20:46
Show Gist options
  • Select an option

  • Save sulrich/6154b216b62a820a4388 to your computer and use it in GitHub Desktop.

Select an option

Save sulrich/6154b216b62a820a4388 to your computer and use it in GitHub Desktop.
wipe the lync cache so it stops whining about SSL errors. better still lose lync, but if that's not an option, get a little venting in as well.
flog-lync () {
local LYNC_CACHE="${HOME}/Library/Caches/com.microsoft.Lync"
LYNCSULTS=(
'lync sucks so much its nearing gravitational collapse'
'lync is so ugly the government moved halloween to its release date'
'lync is the mars of conferencing systems there are no signs of life'
'lync makes happy meals cry'
)
local rand=$[ $RANDOM % ${#LYNCSULTS[@]} ]
local RAND_LYNCSULT=${LYNCSULTS[$rand]}
rm "${LYNC_CACHE}/*"
say ${RAND_LYNCSULT}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment