Skip to content

Instantly share code, notes, and snippets.

View thewinger's full-sized avatar

Alejandro Cámara thewinger

View GitHub Profile
@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
@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 / 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 / .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 / 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 / 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 / .gitignore
Last active March 17, 2016 09:11
gitignore
# NODE_MODULES #
################
node_modules
**/node_modules/*
node_modules/**
# SASS_CACHE #
##############
**/.sass-cache
**/.sass-cache/*
@thewinger
thewinger / html:5
Created June 5, 2015 09:25
HTML:5 Snippet for emmet.vim
\ 'html:5': "<!DOCTYPE html>\n"
\ ."<html lang=\"${lang}\">\n"
\ ."<head>\n"
\ ."\t<meta charset=\"${charset}\">\n"
\ ."\t<title></title>\n"
\ ."\t<link rel=\"stylesheet\" src=\"css/main.css\">\n"
\ ."\t<meta name=\"description\" content=\"\">\n"
\ ."\t<meta name=\"keywords\" content=\"\">\n"
\ ."</head>\n"
\ ."<body>\n\t${child}|\n</body>\n"
{
"name": "inuit",
"private": true,
"dependencies": {
"inuit-defaults": "latest",
"inuit-responsive-settings": "latest",
"inuit-functions": "latest",
"inuit-mixins": "latest",
"inuit-responsive-tools": "latest",
@thewinger
thewinger / .zshrc
Created April 14, 2016 10:26
.zshrc
# Path to your oh-my-zsh installation.
export ZSH=/Users/win/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="agnoster"
#
DEFAULT_USER='win'