Skip to content

Instantly share code, notes, and snippets.

View DanielaValero's full-sized avatar
💭
🙆🏽‍♀️

Daniela Valero DanielaValero

💭
🙆🏽‍♀️
View GitHub Profile
/* ==========================================================================
Create the bundles
========================================================================== */
import gutil from 'gulp-util';
import webpack from 'webpack';
import webpackConfig from '../config/webpack.config';
function bundle(options) {
const compiler = webpack(webpackConfig(options));
[user]
name = John Doe
email = foo@example.com
[Alias]
st = status
ci = commit
cl = clone
br = branch
co = checkout
df = diff
/**
* Default configuration to lint
* the airbnb css style-guide.
* This file is taken from a pull request to Airbnb/css repo
* which intends to create a default preset that can be used
* in the future. Until it is merged, we will have the config here.
* https://github.com/airbnb/css/pull/23
* Add more rules: http://stylelint.io/user-guide/rules/
* Also, to understand better who the rules are named:
* http://stylelint.io/user-guide/about-rules/
import assemble from 'assemble';
import assembleConfig from '../config/assemble-config.js';
import markdownHelper from 'helper-markdown';
import helpers from 'handlebars-helpers';
import hbs from 'engine-handlebars';
import gutil from 'gulp-util';
import platformConfig from '../config/platform-config.js';
import yaml from 'js-yaml';
import fs from 'fs';
import collections from 'assemble-collections';
{
"remove-empty-rulesets": true,
"always-semicolon": true,
"color-case": "lower",
"block-indent": " ",
"color-shorthand": false,
"element-case": "lower",
"eof-newline": true,
"leading-zero": true,
"quotes": "double",
@DanielaValero
DanielaValero / bash_gitprompt
Last active July 20, 2016 12:20
git in prompt
#======= Config to see git branch in the prompt
#===== get current git branch name
function git_branch {
export gitbranch=[$(git rev-parse --abbrev-ref HEAD 2>/dev/null)]
if [ "$?" -ne 0 ]
then gitbranch=
fi
if [[ "${gitbranch}" == "[]" ]]
[Alias]
st = status
ci = commit
cl = clone
br = branch
co = checkout
df = diff
dc = diff --cached
#resets
rh = reset --hard
@DanielaValero
DanielaValero / gist:eb3d009a9b5f02e7bd80
Last active July 18, 2016 13:27
Software for Mac
# Browsers
Firefox developer
chrome canary
Firefox
chrome
# Tools
Virtual Box - Modern IE
xcode
grunt gulp babel bower grunt-cli csslint eslint generator-generator grunt-init gulp-cli jscs jshint jsxhint mocha mocha-phantomjs node-inspector node-static purify-css scss-lint underscore lodash vorlon webpack webpack-dev-server yo node-scss-lint sass scss-lint