Skip to content

Instantly share code, notes, and snippets.

View jmlweb's full-sized avatar
:octocat:
Cannot read property of undefined

José Manuel Lucas jmlweb

:octocat:
Cannot read property of undefined
View GitHub Profile
@jmlweb
jmlweb / ejemplo1.html
Last active August 29, 2015 13:56
Primer ejemplo completo HTML5
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8" />
<title>Nuestro primer ejemplo completo con HTML</title>
</head>
<body>
<h1>Primeros pasos con <abbr lang="en" title="HyperText Markup Language">HTML</abbr></h1>
<p>Podemos definir seis niveles de encabezados:</p>
<h1>El encabezado de primer nivel se escribe como &lt;h1&gt;</h1>
@jmlweb
jmlweb / ejemplo.html
Created February 6, 2014 14:28
Ejemplo de enlace a una hoja de estilo desde el CSS
<link href="ruta-al-archivo.css" rel="stylesheet" />
@jmlweb
jmlweb / boostrap_skeleton.html
Created February 11, 2014 23:32
Boostrap Skeleton
<!DOCTYPE html>
<html lang="es">
<head>
<title>¡Nuestro primer ejemplo con Boostrap!</title>
<meta name="description" content="Página web desarrollada con el objetivo de probar el framework Boostrap">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
$dropdown-color: $base-font-color;
$dropdown-description-color: lighten($dropdown-color, 40);
$dropdown-border: 1px solid silver;
$dropdown-background: $base-background-color;
$dropdown-background-hover: darken($dropdown-background, 3);
$dropdown-inner-border: 1px solid silver;
$dropdown-height: 40px;
$dropdown-padding: 1em;
$dropdown-distance-from-menu: 50px;
$dropdown-arrow-top-distance: 0;
@jmlweb
jmlweb / validnif.js
Created November 22, 2014 12:08
Directiva Angular para validación de NIF/NIE españoles | Angular directive for spanish NIF/NIE validation
'use strict';
/**
* @ngdoc directive
* @name directive:validnif
* @description
* # validnif
*/
angular.module()
.directive('validnif', function () {
{
"swagger": "2.0",
"info": {
"version": "0.0.1",
"title": "Blendhub Tool",
"contact": {
"name": "[email protected]"
}
},
"host": "localhost:9000",
swagger: '2.0'
info:
title: Whois API
description: Documentación para la API de la plataforma whois
version: 1.0.0
host: buscadomin.io
schemes:
- http
basePath: /v1
produces:
@jmlweb
jmlweb / _column.scss
Created September 21, 2016 16:25
BEMIT Responsive Suffixes Column Mixins
@mixin generate-column($width: 1, $suffix: null) {
$gutter: ($width - 1) * $size-gutter;
$width-mod: null;
@if ($width != 1) {
$width-mod: --#{$width};
}
@if ($suffix != null) {
$suffix: \@#{$suffix};
}
.l-column#{$width-mod}#{$suffix} {
@jmlweb
jmlweb / DynamicComponent.js
Created October 11, 2017 07:47
Dynamic Component React
// @flow
import React, { Component } from 'react';
import isSnapshot from '../../utils/isSnapshot';
export default function createDynamicComponent(
importComponent: () => {default: any},
requireComponent: () => {default: any},
) {
type Props = {
[name: string]: any,
@jmlweb
jmlweb / ejemplo-simple-de-componente-react-curso-keepcoding.markdown
Created April 7, 2018 19:12
Ejemplo simple de componente React / Curso Keepcoding