The following will minify your assets with grunt each time a generation write completes.
- Install Dependencies
function runInScope(main, sources, context, ...args) { | |
if(!main) { | |
throw new Error('A "main" function must be supplied, which will be called in scope and from which a (sinks) object will be returned'); | |
} | |
if(!sources) { | |
throw new Error('A source drivers object must be supplied, to which scoping can be applied'); | |
} | |
if(!context) { | |
throw new Error('A scope context object must be supplied, either as a string, or as an object of key/value pairs'); | |
} |
#!/usr/bin/env bash | |
# ---------------------------------------------------------------------------------------------------- | |
# AUTHOR : KARTHICK S | |
# PURPOSE : THIS SCRIPT WILL EXPORT/IMPORT THE CONFIG AND VM DISK. | |
# | |
# usage: | |
# export function will take care of exporting the necessary for all VM. Run as "<scriptname.sh> export" | |
# import function will take care of importing the necessary for all VM. Run as "<scriptname.sh> import" | |
# |
function ValidateEmail(mail) { | |
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(mail)) { | |
return (true) | |
} | |
//alert("You have entered an invalid email address!") | |
return (false) | |
} |
The following will minify your assets with grunt each time a generation write completes.
function sfwPNG24(saveFile){ | |
var pngOpts = new ExportOptionsSaveForWeb; | |
pngOpts.format = SaveDocumentType.PNG | |
pngOpts.PNG8 = false; | |
pngOpts.transparency = true; | |
pngOpts.interlaced = false; | |
pngOpts.quality = 100; | |
activeDocument.exportDocument(new File(saveFile),ExportType.SAVEFORWEB,pngOpts); | |
} |
Current as of Dec. 29 2014. These colors are going to drive the new healthsparq.com, which will be launched in early 2015.
A Pen by Allan White on CodePen.
<div class="flex flex-center"> | |
<img class="client" src="https://catalyze.io/assets/img/customer-logos/zipnosis-logo.png" alt="logo"/> | |
<img class="client" src="https://catalyze.io/assets/img/customer-logos/zipnosis-logo.png" alt="logo"/> | |
<img class="client" src="https://catalyze.io/assets/img/customer-logos/zipnosis-logo.png" alt="logo"/> | |
<img class="client" src="https://catalyze.io/assets/img/customer-logos/zipnosis-logo.png" alt="logo"/> | |
<img class="client" src="https://catalyze.io/assets/img/customer-logos/zipnosis-logo.png" alt="logo"/> | |
<img class="client" src="https://catalyze.io/assets/img/customer-logos/zipnosis-logo.png" alt="logo"/> | |
</div> |
/* as of Dec 2017 */ | |
@import url("https://fonts.googleapis.com/css?family=Source+Serif+Pro:400");@media print, screen and (min-width: 40em){.reveal,.reveal.tiny,.reveal.small,.reveal.large{right:auto;left:auto;margin:0 auto}}/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:0.67em 0}figcaption,figure{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}main{display:block}pre{font-family:monospace, monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#f |
// functions includes mixins for now | |
/// Return black or white with alpha | |
/// @access public | |
/// @param {Opacity} $opacity, 0-1 | |
/// @return - black or white with alpha, like rgba(0,0,0,0.4); | |
@function black($opacity) { | |
@return rgba(0,0,0,$opacity); | |
} | |
@function white($opacity) { |