Skip to content

Instantly share code, notes, and snippets.

View hectorpalmatellez's full-sized avatar

Héctor Palma Téllez hectorpalmatellez

View GitHub Profile
@hectorpalmatellez
hectorpalmatellez / hack.sh
Last active December 14, 2015 15:39 — forked from kyuumeitai/hack.sh
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@mixin hp-opacity($trans) {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=#{$trans * 100})";
filter: alpha(opactiy=($trans * 100));
-moz-opacity: $trans;
-khtml-opacity: $trans;
opacity: $trans;
}
// http://viljamis.com/blog/2013/prototyping-responsive-typography/?utm_source=Responsive+Design+Weekly&utm_campaign=76e7785581-Responsive_Design_Weekly_046&utm_medium=email
$browser-context: 16; // Default
@function em($pixels, $context: $browser-context) {
@return #{$pixels/$context}em
}
// Generated on 2014-06-03 using generator-bones 0.0.4
// Optimizado para uso en Octano
'use strict';
var LIVERELOAD_PORT = 35729;
var lrSnippet = require('connect-livereload')({port: LIVERELOAD_PORT});
var mountFolder = function (connect, dir) {
return connect.static(require('path').resolve(dir));
};