Skip to content

Instantly share code, notes, and snippets.

View benhorst's full-sized avatar

benhorst benhorst

  • Accolade
  • Seattle
View GitHub Profile
// --------------------------------------------------
// Flexbox LESS mixins
// The spec: http://www.w3.org/TR/css3-flexbox
// --------------------------------------------------
// Flexbox display
// flex or inline-flex
.flex-display(@display: flex) {
.old-flex-display(@display);
display: ~"-webkit-@{display}";
@scruffyfox
scruffyfox / 687.sh
Last active April 18, 2016 18:14
Checks every 3 seconds if patch is out
#!/usr/bin/env bash
while [ 1 ]; do
RESP=$(curl -o /dev/null --silent --head --write-out '%{http_code}\n' 'http://www.dota2.com/687')
if [ "$RESP" = 200 ]; then
echo "***** PATCH OUT HYPE ******"
exit
else
echo "not out"
fi