Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

Gabriel García Seco gabrielseco

Block or report user

Report or block gabrielseco

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View GITHUB.MD

Clean files modified and not staged

git checkout -- .

Create branch from commit

git checkout -b <name-branch> <commit-sha>
View range.js
var source = Rx.Observable.range(1, 5);
source.subscribe(next => {
console.log('next value', next)
}, error => {
console.log('err', err);
}, () => console.log('completed'))
View settings.py
"""
Django settings for exampleapp project.
Generated by 'django-admin startproject' using Django 1.9.8.
For more information on this file, see
https://docs.djangoproject.com/en/1.9/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.9/ref/settings/
View randomCapitalization.js
/*
INSPIRED BY JOHN GREEN'S BOOK PAPER TOWNS
DEMO: http://codepen.io/GGarciaSeco/pen/mAWAyk
*/
String.prototype.capitalize = function(){
return Math.round(Math.random()) === 1 ? this.charAt(0).toUpperCase() + this.slice(1) + " ": this;
}
@gabrielseco
gabrielseco / css_resources.md
Last active Aug 29, 2015 — forked from jookyboi/css_resources.md
CSS libraries and guides to bring some order to the chaos.
View css_resources.md

Libraries

  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.

Guides

@gabrielseco
gabrielseco / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@gabrielseco
gabrielseco / SassMeister-input-HTML.html
Created Jun 13, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<h1>hola</h1>
<ul>
<li>Hola</li>
<li>Adios</li>
</ul>
You can’t perform that action at this time.