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
from google.appengine.api import users | |
import webapp2 | |
import cgi | |
pagina = """\ | |
<html> | |
<body> | |
<form action="/registro" method="post"> | |
<div><textarea name="content" rows="3" cols="60"></textarea></div> |
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
#!/usr/bin/env python | |
# encoding: utf-8 | |
""" | |
datastore.py | |
Created by Nick Bortolotti on 2014-03-07. | |
Apache Licence 2.0 | |
""" | |
import cgi |
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
''' | |
Created on Mar 18, 2014 | |
@author: OAuth2 base code '[email protected] (Joe Gregorio)' | |
@author modificaciones: nickbortolotti | |
''' | |
from apiclient import discovery | |
from oauth2client import appengine | |
from oauth2client import client | |
from google.appengine.api import memcache |
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
<link rel="import" href="../topeka-elements/category-icons.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; |
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
class xmlcsv: | |
def __init__(self, input_file, output_file, row, schema): | |
xml_file = open(input_file, "r") | |
col = schema | |
resultado = [] | |
for _, element in etree.iterparse(xml_file, tag=row): | |
rows = list(element.iter('row')) | |
for row_element in rows: | |
row_tmp = [] | |
a = 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
<!--example code using core-pages demo from www.polymer-project.org ada | |
adated to blogger template | |
Nicolas Bortolotti--> | |
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'> | |
<head> | |
<b:skin> | |
<![CDATA[ | |
<style> |
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
<polymer-element name="nick-collapse-viewer" attributes="program details link chart image imagedetails"> | |
<template> | |
<div class="heading" on-click="{{ toggle }}">{{ program }}</div> | |
<core-collapse id="collapse"> | |
<div class="content"> | |
<div>{{ details }}</div> | |
<hr size="1" /> | |
<table border="0"> | |
<tr> | |
<td><img src="{{ image }}" width="100" height="100" /></td> |
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
<html> | |
<head> | |
<meta name="viewport" content="width=device-width,initial-scale=1"> | |
<link href="estilos_rendering_simple.css" rel="stylesheet"> <!-- Relacion con los estilos --> | |
<title>Demostracion critical path</title> <!-- Titulo de la pagina--> | |
</head> | |
<body> | |
<p>Hola <span>demostracion </span> launchpad MX!</p> <!-- Ejemplo de personalizacion en el HTML--> | |
<div><img src="picture_1.png"></div> <!-- Imagen generica de prueba--> | |
</body> |
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
body { font-size: 15px } | |
p { font-weight: bold } | |
span { color: blue} | |
p span { display: none } | |
img { float: right } |
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
<html> | |
<head> | |
<link rel="stylesheet" href="https://storage.googleapis.com/code.getmdl.io/1.0.1/material.css"> | |
<script src="https://storage.googleapis.com/code.getmdl.io/1.0.1/material.js"></script> | |
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> | |
<style> | |
.demostracion-mdl-card { | |
width: 450px; |
OlderNewer