Skip to content

Instantly share code, notes, and snippets.

View EmilioAiolfi's full-sized avatar

Emilio Aiolfi EmilioAiolfi

View GitHub Profile
@EmilioAiolfi
EmilioAiolfi / Videogular player audio
Last active August 29, 2015 14:15
Videogular request json
podcastControllers = angular.module 'podcastApp.controllers'
podcastControllers.controller 'PodcastDetailsCtrl', ($scope, $http, $stateParams, $sce, $timeout, podcastFactory) ->
$scope.podcastSlug = $stateParams.podcastSlug;
$scope.currentTime = 0
$scope.totalTime = 0
$scope.state = null
@EmilioAiolfi
EmilioAiolfi / media-query-retina-less
Created June 12, 2013 21:30
Media query for retina display in less
@highdensity: ~"only screen and (-webkit-min-device-pixel-ratio: 2)",
~"only screen and (min--moz-device-pixel-ratio: 2)",
~"only screen and (-o-min-device-pixel-ratio: 2/1)",
~"only screen and (min-device-pixel-ratio: 2)",
~"only screen and (min-resolution: 192dpi)",
~"only screen and (min-resolution: 2dppx)";
@mobile: ~"only screen and (max-width: 320px)";