Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
This file contains hidden or 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
# Root logger option | |
log4j.rootLogger=INFO, stdout | |
# Direct log messages to stdout | |
log4j.appender.stdout=org.apache.log4j.ConsoleAppender | |
log4j.appender.stdout.Target=System.out | |
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout | |
log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n |
This file contains hidden or 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
var gpio = require("pi-gpio"); | |
function despuesDelEncendido() { | |
/** | |
* Habilita la salida 11 (GPIO 11) | |
*/ | |
gpio.open(11, "output", function(err) { | |
gpio.write(11, 1, function() { | |
gpio.close(11); | |
}); |
This file contains hidden or 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
-- 1 | |
SELECT | |
t.fecha, | |
t.hora, | |
e.nombre AS 'Nombre de Especialidad', | |
p.nombre AS 'Nombre de Paciente', | |
m.nombre AS 'Nombre de Medico' | |
FROM turnos as t |
This file contains hidden or 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
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_PELICULAS_ACTORES]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) | |
ALTER TABLE [dbo].[PELICULAS] DROP CONSTRAINT FK_PELICULAS_ACTORES | |
GO | |
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_PELICULAS_DIRECTORES]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) | |
ALTER TABLE [dbo].[PELICULAS] DROP CONSTRAINT FK_PELICULAS_DIRECTORES | |
GO | |
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_PELICULAS_GENEROS]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) | |
ALTER TABLE [dbo].[PELICULAS] DROP CONSTRAINT FK_PELICULAS_GENEROS |
This file contains hidden or 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
const webpack = require("webpack"); | |
const { join, resolve } = require("path"); | |
const HtmlWebpackPlugin = require("html-webpack-plugin"); | |
const BabiliPlugin = require('babili-webpack-plugin'); | |
// DOC: https://webpack.js.org/configuration/ | |
module.exports = env => { | |
return { | |
entry: { | |
app: join(__dirname, "../src/index.js") |
This file contains hidden or 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
/** | |
* Preset: ES2015 | |
* The reduce() method applies a function against an accumulator and | |
* each value of the array (from left-to-right) to reduce it to a single value. | |
* | |
* Compatibility Mobile: ALL | |
* Compatibility Desktop: | |
* Chrome (Yes) | Firefox 3.0(1.9) | IE 9 | Opera 10.5 | Safari 4.0 | |
*/ |
This file contains hidden or 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 _ from 'lodash'; | |
import h337 from 'heatmap.js'; | |
import ReactDOM, { render } from 'react-dom'; | |
import React, {Component, PropTypes} from 'react'; | |
class ReactHeatmap extends Component { | |
constructor(props, context) { | |
super(props, context); | |
this.state = { cfg: null }; |
This file contains hidden or 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 _ from 'lodash'; | |
import L from 'leaflet'; | |
import React from 'react'; | |
import h337 from 'heatmap.js'; | |
import { MapLayer } from 'react-leaflet'; | |
import ReactDOM, { render } from 'react-dom'; | |
class ReactLeafletHeatmap extends MapLayer { | |
constructor(props, context) { |
This file contains hidden or 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
program ejercicio12sept; | |
uses crt; | |
uses sysutils; | |
{ --------------------- DECLARACION ---------------------} | |
{resultados tabla categoria - cantidad - total sueldo} | |
var cant_a, cant_b, cant_c,total_a, total_b, total_c: integer; | |
{resultados tabla captication - cantidad - confirmado} | |
var conf_office, conf_tango, conf_redes: integer; |
NewerOlder