Skip to content

Instantly share code, notes, and snippets.

@vazquez
vazquez / Add Empty Dock Spaces.bash
Last active December 20, 2015 11:29
Command Line Snippets
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'
killall Dock
@mixin headings($from: 1, $to: 6){
$heading-selector: (unquote(""));
@for $i from $from through $to {
$heading-selector: $heading-selector, unquote("h#{$i}")
}
#{$heading-selector}{
@content
}
}
@vazquez
vazquez / clearfix
Created September 14, 2013 23:08
Clearfix
/**
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
* contenteditable attribute is included anywhere else in the document.
* Otherwise it causes space to appear at the top and bottom of elements
* that are clearfixed.
* 2. The use of `table` rather than `block` is only necessary if using
* `:before` to contain the top-margins of child elements.
*/
.cf:before,
“Rename *.docx to *.zip and unzip it to get all images from the doc in a folder!”
### Questions
1. Building a design team involves curating deliverables, the aesthetic, as well as documenting a design methodology. How challenging has it been for you to manage both? When building a team, do you give preference to one over the other? (Mike Contanzo)
2. When a design team is young, a designer must often execute different roles. One of them is project management. In your experience, how have you balanced design time vs. product management time?
3. Building a balanced design team is crucial for its success. When building a design team, what traits do you look out for in candidates?
4. You've hired a couple of outstanding designers to join your team. What type of mentorship do you provide to your team? How do you keep them engaged?
<!-- Goggles -->
<div class="tool-desc">
<div class="icon">
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="276px" height="210px" viewBox="0 0 276 210" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<title>Goggles</title>
<desc>XRay Goggles.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
<section class="hero-unit">
<article>My name is Ricardo Vazquez.</article>
<article>I'm a Product Designer in Toronto.</article>
<article>My latest project is: <a href="#">Dear Jen.</a></article>
<article>My latest thoughts are: <a href="http://vazquez.svbtle.com/my-2013">My 2013</a>.</article>
</section>
html
git push user test handshake:master
To tag in login-angular:
sudo npm install -g mversion
mversion patch -m
git push origin master
git push upstream master —tags
THEN, head on to webmaker.org
@vazquez
vazquez / learning-gulp.js
Last active September 10, 2015 15:10
Getting started with Gulp.js
var gulp = require('gulp');
var sass = require('gulp-sass');
var browserSync = require('browser-sync');
var imagemin = require('gulp-imagemin');
var runSequence = require('run-sequence');
var del = require('del');
var cache = require('gulp-cache');
// The most basic gulp task
gulp.task('hello', function(){