Skip to content

Instantly share code, notes, and snippets.

View idmontie's full-sized avatar

Ivan Montiel idmontie

View GitHub Profile
@idmontie
idmontie / console-css.js
Last active August 29, 2015 14:12
Small wrapper for CSS Console Logs
window.ConsoleCss = {
log : function ( obj, css ) {
var cssString = css;
if ( typeof css == 'object' ) {
cssString = '';
for ( var part in css ) {
if ( css.hasOwnProperty( part ) ) {
cssString += part + ':' + css[part] + '; ';
}
}
@idmontie
idmontie / $notes.md
Last active August 29, 2015 14:12
The $100 Startup Notes

The $100 Startup

Reinvent the Way You Make a Living, Do What You Love, and Create a New Future

Written by Chris Guillebeau

Prologue - Manifesto

@idmontie
idmontie / $TEM 100: Seminar In Entrepreneurship
Last active August 29, 2015 14:13
$TEM 100: Seminar In Entrepreneurship
2015 Spring A
Jason Bronowitz
@idmontie
idmontie / _media-variables.scss
Created January 20, 2015 19:26
SaSS Common Media Queries
// =======================
// Media Query Breakpoints
// =======================
$screen-xs-min: 480px !default;
$screen-sm-min: 768px !default;
$screen-md-min: 992px !default;
$screen-lg-min: 1200px !default;
$screen-xs-max: ($screen-sm-min - 1) !default;
$screen-sm-max: ($screen-md-min - 1) !default;
@idmontie
idmontie / instagram.css
Created January 20, 2015 20:07
Instagram CSS Classes
/**
* @see http://designpieces.com/2014/09/instagram-filters-css3-effects/ for example
*/
.ig-xpro2 {
-webkit-filter: contrast(1.3) brightness(0.8) sepia(0.3) saturate(1.5) hue-rotate(-20deg);
filter: contrast(1.3) brightness(0.8) sepia(0.3) saturate(1.5) hue-rotate(-20deg);
}
.ig-willow {
@idmontie
idmontie / $general-ideas.markdown
Last active August 29, 2015 14:13
General Ideas

General Business/Product Ideas

@idmontie
idmontie / _color-variables.scss
Created January 23, 2015 03:03
_color-variables.scss
$theme-dark: #_;
$theme-primary: #_;
$theme-accent: #_;
$theme-pop: #_;
$theme-aggro: #_;
@idmontie
idmontie / javascript-interview-questions.markdown
Created January 30, 2015 01:24
JavaScript Interview Questions

How can you declare a class in JavaScript?

There are two main ways:

Option 1

function MyObject() {
}

var object = new Object();
@idmontie
idmontie / tyranny-cardgame.markdown
Created January 30, 2015 02:49
Tyranny Card Game Idea

Pass laws to get oppression points.

First to 5 points wins.

Control population's emotions:

  • Fear
  • Anger
  • Lethargy
@idmontie
idmontie / gcd.js
Created February 13, 2015 16:39
Greatest Common Divisor in JavaScript
/*
* Uses the Euvlidean Algorithm.
* http://en.wikipedia.org/wiki/Euclidean_algorithm
*/
function greatestCommonDivisor( a, b ) {
if ( b > a ) {
var t = a;
a = b;
b = t;
}