Skip to content

Instantly share code, notes, and snippets.

View alexanderadam's full-sized avatar
⌨️
⌨️

Alexander Adam alexanderadam

⌨️
⌨️
View GitHub Profile
@alexanderadam
alexanderadam / squeezebox.coffee
Created October 23, 2015 13:30 — forked from kylefritz/squeezebox.coffee
Control Squeezebox Through Hubot [Must be a firmware version pre "UE Smart Radio"; e.g. must work with http://www.mysqueezebox.com]
# Description:
# Allows Hubot to control pandora on a squeezebox music player.
# Also plays a generic internet radio station via play.
#
# Dependencies:
# none
#
# Configuration:
# SQUEEZE_BOX_EMAIL (for mysqueezebox.com)
# SQUEEZE_BOX_PASSWORD
@alexanderadam
alexanderadam / dabblet.css
Created October 18, 2015 22:55 — forked from LeaVerou/dabblet.css
YouTubesque morphing button
/**
* YouTubesque morphing button
* Requires clip-path with CSS Shapes support, not just url()
* http://caniuse.com/#feat=css-clip-path
*/
@keyframes play { to {
-webkit-clip-path: polygon(0 0, 100% 50%, 100% 50%, 0 100%);
clip-path: polygon(0 0, 100% 50%, 100% 50%, 0 100%);
/* it should be 50% 100% (one value), but Chrome & Safari are buggy (in different ways), hence the 51 & the duplication */