Skip to content

Instantly share code, notes, and snippets.

@HelloTiago
HelloTiago / _functions.scss
Created August 20, 2014 12:11
Simple SCSS function to convert pixels to rems.
/**
*
* Convert pixels to rems
* eg. for a relational value of 12px write rem(12)
* $base is usually the font-size on your body element.
* And it can be defined outside the function, in a variables.scss file for example.
*
**/
@function rem($pxval) {
// NOTE: I added the .js extension to this gist so it would have syntax highlighting. This file should have NO file extension
{
// Settings
"passfail" : false, // Stop on first error.
"maxerr" : 100, // Maximum error before stopping.
// Predefined globals whom JSHint will ignore.
"browser" : true, // Standard browser globals e.g. `window`, `document`.
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Config Github Settings
github_username = "fideloper"
github_repo = "Vaprobash"
github_branch = "master"
# Server Configuration
object(stdClass)[523]
public 'backdrop_path' => string '/scivLGg7zdqmdw5eDW3rvrEavr6.jpg' (length=32)
public 'created_by' =>
array (size=3)
0 =>
object(stdClass)[524]
public 'id' => int 88967
public 'name' => string 'Greg Berlanti' (length=13)
public 'profile_path' => string '/eJSBZ7N6YDL7d50Z1t0gJp1CgZx.jpg' (length=32)
1 =>
var gulp = require('gulp');
var gutil = require('gulp-util');
var notify = require('gulp-notify');
var sass = require('gulp-ruby-sass');
var autoprefix = require('gulp-autoprefixer');
var minifyCSS = require('gulp-minify-css')
var coffee = require('gulp-coffee');
var exec = require('child_process').exec;
var sys = require('sys');