Skip to content

Instantly share code, notes, and snippets.

View santiblanko's full-sized avatar
🎯
Focusing

santiblanko santiblanko

🎯
Focusing
View GitHub Profile
ALTER TABLE pos.productopos ADD COLUMN porcion varchar(150);
ALTER TABLE pos.productopos ADD COLUMN sabor varchar(150);
UPDATE pos.productopos SET porcion= '12oz', sabor='Hersheys' WHERE id = 1;
UPDATE pos.productopos SET porcion= '12oz', sabor='Hersheys C&C' WHERE id = 2;
UPDATE pos.productopos SET porcion= '12oz', sabor='Cherry' WHERE id = 3;
UPDATE pos.productopos SET porcion= '12oz', sabor='Blue' WHERE id = 4;
UPDATE pos.productopos SET porcion= '12oz', sabor='Apple' WHERE id = 5;
UPDATE pos.productopos SET porcion= '12oz', sabor='Watermelon' WHERE id = 6;
UPDATE pos.productopos SET porcion= '12oz', sabor='Combinado Hersheys' WHERE id = 7;
ALTER TABLE facturacion.egresoxfactura ADD COLUMN fecha date;
<!-- doctype diciendo que la pagina es html5 -->
<!DOCTYPE html>
<!-- idioma -->
<html lang="es">
<!-- cabecera de la pagina -->
<head>
<!-- Esta etiqueta para que la página reconozca los caracteres-->
<meta charset="UTF-8">
<!--titulo de la página-->
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
[{
"categories": [{
"id": 1,
"label": "Generales",
"parentId": -1,
"typeId": 1
}, {
"id": 2,
"label": "Inversión",
"parentId": -1,
@santiblanko
santiblanko / gist:7b60e2ee3ec9a5c81671
Last active August 29, 2015 14:27
Comandos de Entity Framework
Update-Database -TargetMigration:0
Update-Database
Add-Migration
Enable-Migrations
Enable-Migrations –EnableAutomaticMigrations
http://stackoverflow.com/questions/26700924/query-based-on-multiple-where-clauses-in-firebase
module.exports = function(grunt) {
grunt.initConfig({
nodewebkit: {
options: {
version: '0.12.1',
buildDir: 'build', // Where the build version of my node-webkit app is saved
macIcns: 'icon.icns', // Path to the Mac icon file
winIcns: 'icon.ico',
platforms: ['osx', 'win'] // These are the platforms that we want to build
@santiblanko
santiblanko / Issues.md
Last active August 29, 2015 14:14 — forked from rclark/Issues.md

There are a bunch of reasons why this is convoluted, mostly in building the URL to make the request:

  1. You have to rely on an AJAX request, this example uses jQuery
  2. To make a GetFeatureInfo request, you must provide a BBOX for a image, and the pixel coordinates for the part of the image that you want info from. A couple of squirrely lines of Leaflet code can give you that.
  3. Output formats. The info_format parameter in the request. We don't know a priori which will be supported by a WMS that we might make a request to. See Geoserver's docs for what formats are available from Geoserver. That won't be the same from WMS to WMS, however.
  4. WMS services return XML docs when there's a mistake in the request or in processing. This sends an HTTP 200, which jQuery doesn't think is an error.
Recuerdo que nos conocimos teniendo yo siete años, saliste de la nada, me dijiste hola y desde entonces he sido tuyo. Nunca me dejaste, nunca aunque yo me perdiera una y otra vez, la verdad es que te veía en todas partes, en cada situación que vivía encontraba una excusa para pensar en ti y cuando al fin tenía un rato para dedicártelo, me sentía capaz de todo, siempre supe que dormías en otras camas, buscabas a aquellos que estuvieran tan locos como yo y los envolvías en tus redes como habías hecho conmigo. Aun así nunca me importó porque cuando estábamos juntos creábamos magia, me sentía amo y señor del mundo que me mostrabas. Entonces durante un tiempo nos separamos y perdí esa magia, te busque en otras pero ninguna me llenaba como tu, conocí a Lujuria y fue la única que logró que apenas pensara en ti y solo durante un tiempo, quien me empujo de nuevo a tus brazos fue Ilusión que me dijo que me acompañaría solo si tu volvías y así lo hiciste volviste con mas fuerza y olvidamos el pasado, me has hecho volver