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
<html> | |
<head> | |
<title>Simulated typing</title> | |
</head> | |
<body> | |
<input type="text" id="transcribe-searchbox" placeholder="Escribe Aquí"> | |
<input type="button" id="transcribe-button" value="Transcibir a Andaluz"> | |
</body> | |
<script> | |
// Quotes to simulate typing, then deletion |
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 express = require('express'), | |
passport = require('passport'), | |
bodyParser = require('body-parser'), | |
LdapStrategy = require('passport-ldapauth'); | |
// Credentials from the free LDAP test server by forumsys | |
// More info at: http://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/ | |
var OPTS = { | |
server: { | |
url: 'ldap://ldap.forumsys.com:389', |
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
library("ropenspending") | |
# Retrieving Universidad Pablo de Olavide data at openspending (upo-income-budget dataset) | |
upodata <- openspending.aggregate("upo-income-budget",drilldown=c("articulo")) | |
upodata.df <- openspending.as.data.frame(upodata) | |
# Retrieving Universidad de Granada data at openspending (ugr-income dataset) | |
ugrdata <- openspending.aggregate("ugr-income",drilldown=c("articulo")) | |
ugrdata.df <- openspending.as.data.frame(ugrdata) |
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
# -*- coding: utf-8 -*- | |
import json | |
from booby import Model, StringField, IntegerField, BooleanField | |
from finch import Collection | |
from tornado import httpclient, ioloop | |
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 math | |
def utmToLatLng(zone, easting, northing, northernHemisphere=True): | |
if not northernHemisphere: | |
northing = 10000000 - northing | |
a = 6378137 | |
e = 0.081819191 | |
e1sq = 0.006739497 | |
k0 = 0.9996 |