Skip to content

Instantly share code, notes, and snippets.

View Gonzalo2683's full-sized avatar
🎯
Focusing

Gonzalo Guevara Gonzalo2683

🎯
Focusing
View GitHub Profile
@Gonzalo2683
Gonzalo2683 / instalgenerador
Last active December 3, 2015 18:35
Instalación Yeo Man Windows
/******************
PASO NUMERO # 3
******************/
PARA SASS, COMPASS Y SUSY
Instalar el ambiente de ruby
1.- Descargar desde : http://rubyinstaller.org/ el instalador de Ruby 1.9.x
2.- Instalarlo
3.- gem update --system // para actualizar
@Gonzalo2683
Gonzalo2683 / estilo.css
Last active August 29, 2015 14:01
Grid Simple Bootstrap
.list-small-features li {
color: white;
text-align: left;
margin-bottom: 1.5em;
}
.list-small-features li span[class~="icon-big"] {
float: left;
}
@Gonzalo2683
Gonzalo2683 / ie-hacks.css
Last active August 29, 2015 14:04
Mozilla Only CSS
/*Example:*/
/*En todos los navegadores menos IE margin-top será 20px pero en IE margin-top será 25px.*/
.whatever { margin: 20px 0 0 0;
margin: 25px 0 0 0 \9;
}
@Gonzalo2683
Gonzalo2683 / bower.json
Created August 9, 2014 18:11
Snippets de Bower
{
"name": "Proyecto Número UNO",
"version": "1.0",
"dependencies": {
"jquery": "latest",
"fontawesome": "latest"
}
}
@Gonzalo2683
Gonzalo2683 / svgfix.html
Created September 5, 2014 01:56
Fix svg height and width in iE9
<div class="col-sm-3">
<div style="width: 100%; margin: 0 auto;">
<object>
<embed src="images/logo.svg" style="width: 100%; height: auto;" />
</object>
</div>
</div>
@Gonzalo2683
Gonzalo2683 / fizzbuzz.js
Created October 14, 2014 19:07
Fizz Buzz FixxBuzz cycle, ejemplo en javascript
for (var i = 1; i <= 100; ++i) {
if (i % 15 === 0) {
console.log('FizzBuzz');
} else if (i % 3 === 0) {
console.log('Fizz');
} else if (i % 5 === 0) {
console.log('Buzz');
} else {
console.log(i);
}
@Gonzalo2683
Gonzalo2683 / SassMeister-input.scss
Created December 30, 2014 18:56
Generated by SassMeister.com.
// ----
// Sass (v3.3.4)
// Compass (v1.0.0.alpha.18)
// ----
// A Sass walk function,
// Calling a given function to each member of a list
// ---
// @param [list] $list: list to walk through
// @param [string] $function: function to apply to all members
@Gonzalo2683
Gonzalo2683 / index.html
Last active August 29, 2015 14:17
Receta onready, clase Lunes 23 de marzo, se usó jQuery, se creó un patrón sencillo de inicio de funciones en la carga del documento.
<!DOCTYPE html>
<html>
<head>
<title>TODO supply a title</title>
<meta charset="UTF-8">
<script src="js/jquery-1.11.2.min.js" type="text/javascript"></script>
<script src="js/codigo.js" type="text/javascript"></script>
</head>
@Gonzalo2683
Gonzalo2683 / practica.html
Last active August 29, 2015 14:18
Práctica Uno , usos de variables y obtención de valores de las variables de un input.
<!DOCTYPE html>
<html>
<head>
<title>Variables y Operadores Aritméticos</title>
<meta charset="UTF-8">
<script src="js/jquery/dist/jquery.js" type="text/javascript"></script>
<script src="js/variables.js" type="text/javascript"></script>
</head>
@Gonzalo2683
Gonzalo2683 / index.html
Last active August 29, 2015 14:19
Clase y práctica número dos
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<title>TODO supply a title</title>
<meta charset="UTF-8">