Skip to content

Instantly share code, notes, and snippets.

Avatar

Juan Antonio Navarro evoratec

View GitHub Profile
@evoratec
evoratec / Imagen Infospot
Last active January 14, 2022 12:59
Imagen InfoSpot
View Imagen Infospot
export const FlechaPanorama = (grados=0,color = "pink") => {
grados = grados - 90;
const image = btoa(`
<svg width="48px" height="48px" viewBox="0 0 48 48" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>izquierda doble 4</title>
<g id="iconos" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" >
@evoratec
evoratec / next.config.js
Last active June 22, 2021 06:36
Solución Next 10 y 11 actualización Webpack
View next.config.js
const { resolveHref } = require("next/dist/next-server/lib/router/router");
module.exports = {
env: {
GA_ENV: process.env.GA_ENV,
},
webpack: (config, { isServer }) => {
// Fixes npm packages that depend on `fs` module
if (!isServer) {
@evoratec
evoratec / index.html
Created January 28, 2020 07:18
Overview - DevExtreme Data Grid
View index.html
<div class="dx-viewport demo-container" ng-app="DemoApp" ng-controller="DemoController">
<div id="gridContainer" dx-data-grid="gridOptions"></div>
</div>
@evoratec
evoratec / index.html
Created November 15, 2019 11:46
Overview - DevExtreme Tab Panel
View index.html
<div class="dx-viewport demo-container" ng-app="DemoApp" ng-controller="DemoController">
<div id="tabpanel">
<div dx-tab-panel="tabPanelOptions" dx-item-alias="company">
<div data-options="dxTemplate : { name: 'title' } ">
<span>{{company.CompanyName}}</span>
</div>
<div data-options="dxTemplate : { name: 'customer' } ">
<div class="tabpanel-item">
<div>
@evoratec
evoratec / index.html
Created November 4, 2019 10:20
Overview - DevExtreme Data Grid
View index.html
<div class="dx-viewport demo-container" ng-app="DemoApp" ng-controller="DemoController">
<div id="gridContainer" dx-data-grid="gridOptions"></div>
</div>
View evoratecapi.php
<?php
/*
Plugin Name: evoratec plugin api slimframework
Plugin URI:
Description: Plugin for Api whith slim framework
Author: Evora sistemas de información,s.l.
Version:
Author URI: http://www.evoratec.com
*/
@evoratec
evoratec / config.json
Last active August 29, 2015 14:10 — forked from anonymous/config.json
View config.json
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",
@evoratec
evoratec / prueba.skema
Created October 14, 2014 06:08
prueba
View prueba.skema
[{"name":"Bears","color":"Blue","position":{"x":177,"y":85},"modelclass":"Bear","increment":false,"timestamp":false,"softdelete":false,"column":[{"colid":"c217","name":"id","type":"increments","length":"0","order":0,"defaultvalue":"","enumvalue":""},{"colid":"c218","name":"name","type":"string","length":"200","order":1,"defaultvalue":"","enumvalue":""},{"colid":"c219","name":"danger_level","type":"string","length":"200","order":2,"defaultvalue":"","enumvalue":""}],"relation":[{"extramethods":"","foreignkeys":"","name":"fish","relatedmodel":"Fish","relationtype":"hasOne","usenamespace":""},{"extramethods":"","foreignkeys":"","name":"trees","relatedmodel":"Trees","relationtype":"hasMany","usenamespace":""},{"extramethods":"","foreignkeys":"bear_id, picnic_id","name":"picnics","relatedmodel":"Picnics","relationtype":"belongsToMany","usenamespace":""}],"seeding":[]},{"name":"Fish","color":"Yellow","position":{"x":1063,"y":14},"modelclass":"Fish","increment":false,"timestamp":false,"softdelete":false,"column":[{"c
View Cambio en head.phtml
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />