Skip to content

Instantly share code, notes, and snippets.

@b3coded
b3coded / .gitconfig
Last active October 28, 2021 14:49
My Git Aliases
[alias]
co = checkout
cob = checkout -b
lg = !git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
ac = !git add . && git commit -m
undo = reset HEAD~1 --mixed
c-deploy = commit -m '[ci deploy]' --allow-empty
c-build = commit -m '[ci build]' --allow-empty
@e-river
e-river / gulpfile.js
Last active January 2, 2016 11:19
gulpfile.js using gulp-ruby-sass, gulp-autoprefixer, gulp.spritesmith, gulp-jade, gulp-less, gulp-minify-css, gulp-concat and gulp-uglify, gulp-watch, gulp-plumber, gulp-clean.
var gulp = require('gulp')
, concat = require('gulp-concat')
, uglify = require('gulp-uglify')
, watch = require('gulp-watch')
, sass = require('gulp-ruby-sass')
, autoprefixer = require('gulp-autoprefixer')
, spritesmith = require("gulp.spritesmith")
, minifyCSS = require('gulp-minify-css')
, plumber = require('gulp-plumber')
, jade = require('gulp-jade')
@Renatodeluna
Renatodeluna / Gruntfile.js
Created November 4, 2013 16:56
Rodando a task connect e watch juntos
module.exports = function (grunt) {
'user strict';
// Configurando Tarefas
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
// Inicia um server estático
connect: {
server: {