Skip to content

Instantly share code, notes, and snippets.

@andyduke
andyduke / mpd-wait.sh
Last active April 28, 2017 15:09
mpd-wait script
#!/bin/sh
# Script to wait for the currently playing song in MPD to change.
# Uses netcat to communicate directly with the MPD server.
# Warning!!!
# Please note that if you just copy/paste this, the help message will not display as intended.
# This is because the tabs were converted to spaces by the forum.
# Just change the leading four spaces in the usage() function to tabs to fix it.
#### Examples
@andyduke
andyduke / _responsive.scss
Created February 25, 2015 16:41
SCSS Mixin to define the CSS-rules responsive layout
$tablet-min-width: 768px !default;
$tablet-max-width: 1024px !default;
/**
* Mixin to define the CSS-rules responsive layout
*
* Copyright (C) 2015 Andy Chentsov <chentsov@gmail.com>
*
* $mode: