Skip to content

Instantly share code, notes, and snippets.

View thewinger's full-sized avatar

Alejandro Cámara thewinger

View GitHub Profile
@thewinger
thewinger / package.json
Last active August 30, 2016 12:45
curl -L https://gist.github.com/thewinger/163f86fbe996f1b45023/download | tar -xvz --strip-components=1 && chmod u+x start-project.sh && ./start-project.sh
{
"name": "Winproject",
"version": "1.0.0",
"description": "",
"main": "gulpfile.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Alejandro Camara",
"license": "ISC",
@thewinger
thewinger / main.scss
Last active March 9, 2016 13:02
Main.scss for inuitcss
/* Settings: donde pondremos las variables que usaremos a lo largo del proyecto (variables) */
/* Tools: donde pondremos las funciones y los mixins */
/* Generic: Inter-project files (normalize, reset, etc.) */
/* Base: cualquier HTML tag, sin ninguna clase */
/* Objects: wrappers, layout, media… */
@thewinger
thewinger / .bash_profile
Last active August 29, 2015 14:19
stored in ~/
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
export PATH="/usr/local/bin:$PATH"
alias simulator='open /Applications/Xcode.app/Contents/Developer/Applications/iOS\ Simulator.app'
alias web='cd ~/Dropbox/wip/web/'
alias gitdelete='git rm $(git ls-files --deleted)'
@thewinger
thewinger / gulpfile.js
Last active March 4, 2021 21:00
Gulpfile example
var gulp = require('gulp'),
browserSync = require('browser-sync').create(),
sass = require('gulp-ruby-sass'),
sourcemaps = require('gulp-sourcemaps'),
autoprefixer = require('gulp-autoprefixer'),
cssnano = require('gulp-cssnano'),
concat = require('gulp-concat'),
uncss = require('gulp-uncss'),
uglify = require('gulp-uglify'),
rename = require('gulp-rename'),
@thewinger
thewinger / .profile
Last active August 29, 2015 14:03
profile file for iTerm2, stored in ~/
export GITAWAREPROMPT=~/.bash/git-aware-prompt
source $GITAWAREPROMPT/main.sh
BLACK=$(tput setaf 0)
RED=$(tput setaf 1)
GREEN=$(tput setaf 2)
YELLOW=$(tput setaf 3)
LIME_YELLOW=$(tput setaf 190)
POWDER_BLUE=$(tput setaf 153)
BLUE=$(tput setaf 4)
@thewinger
thewinger / .vimrc
Last active April 11, 2016 12:07
My vimrc configuration, stored in ~/
"compatibility
set nocompatible
set modelines=0
set encoding=utf-8
filetype off
execute pathogen#infect()
"Syntax highlighting
"Detect filetype
filetype indent plugin on