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 | |
''' | |
Autor: Cristian Carpenter G. | |
''' | |
from BeautifulSoup import BeautifulSoup | |
import urllib, re | |
import MySQLdb | |
from datetime import datetime |
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
CREATE TABLE acciones ( | |
symbol VARCHAR(30) NOT NULL, | |
price DECIMAL(12, 4) NOT NULL, | |
volume DOUBLE NOT NULL, | |
date DATE NOT NULL | |
) engine = InnoDB; |
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
<serie symbol="CALICHERAA"> | |
<entry high="825.0" close="812.280029296875" open="785.0" volume="4183662.0" low="775.0" variacion="4.810326360887096" date="09/06/2009"/> | |
<entry high="845.0" close="835.1099853515625" open="839.97998046875" volume="1.0945167E7" low="820.0" variacion="7.7561271421370925" date="10/06/2009"/> | |
<entry high="889.0" close="845.0999755859375" open="835.1099853515625" volume="3061376.0" low="835.0" variacion="9.045158140120968" date="11/06/2009"/> | |
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 | |
''' | |
Autor: Cristian Carpenter G. | |
''' | |
from BeautifulSoup import BeautifulSoup | |
import urllib | |
import MySQLdb | |
from datetime import datetime |
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
<?xml version="1.0" encoding="ISO-8859-1"?> | |
<PurchaseOrder> | |
<Buyer>EuroTech</Buyer> | |
<ID>567701-134</ID> | |
<Date>07-08-09</Date> | |
<Currency>USD</Currency> | |
<Seller>Singapure Electronics</Seller> | |
<PODetails> | |
<Product> | |
<Model>Nokia 3G</Model> |
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
function inicio() { | |
alert(document.title); | |
} | |
window.onload = inicio; |
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 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"> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"/> | |
<title>JavaScript</title> | |
<script src="test.js" type="text/javascript"></script> | |
</head> | |
<body> | |
</body> | |
</html> |
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
var latitude = -33.704959; | |
var longitude = -70.879347; | |
var description = "Santiago, Chile"; | |
var startZoom = 15; | |
var map; | |
function addMarker(latitude, longitude, description) { | |
var marker = new GMarker(new GLatLng(latitude, longitude)); | |
GEvent.addListener(marker, 'click', | |
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
<?php | |
class Gestor { | |
Private $arr; | |
Private $largo; | |
function __construct($arreglo) { | |
$this->arr = $arreglo; |
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
<?php | |
phpinfo(); | |
?> |