A Pen by José Manuel Lucas on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useEffect, useState, memo } from 'react'; | |
const MyComponent = () => { | |
const [foo, setFoo] = useState('foo'); | |
useMemo(() => { | |
// componentWillMount | |
}, []); | |
useEffect(() => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"errors":[{"error":"WSException : Internal Error: The specified web service as encounter an internal error. [debug: sophia.service.Services.get_use_cases_available : Traceback (most recent call last):\n File \"/opt/sophia/SophiaFramework/src_json_gateway/wsgi_json.py\", line 114, in application\n ws_result = method_instance( **params )\n File \"<decorator-gen-199>\", line 2, in get_use_cases_available\n File \"/opt/sophia/SophiaFramework/src/helper/DecoratorUtils.py\", line 233, in _authenticate_session\n return __authenticate_session( *args, **kwargs )\n File \"/opt/sophia/SophiaFramework/src/helper/DecoratorUtils.py\", line 231, in __authenticate_session\n return func( *args, **kwargs )\n File \"/opt/sophia/SophiaFramework/src/service/Services.py\", line 220, in get_use_cases_available\n vo_person = LazyLoadingFactory.get_from_id( LazyVOPerson, per_id )\n File \"/opt/sophia/SophiaFramework/src/helper/LazyLoadingFactory.py\", line 19, in get_from_id\n return klass.resolve_item_ref( id_t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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} { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"swagger": "2.0", | |
"info": { | |
"version": "0.0.1", | |
"title": "Blendhub Tool", | |
"contact": { | |
"name": "[email protected]" | |
} | |
}, | |
"host": "localhost:9000", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
/** | |
* @ngdoc directive | |
* @name directive:validnif | |
* @description | |
* # validnif | |
*/ | |
angular.module() | |
.directive('validnif', function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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"> |
NewerOlder