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 app, distDir, elClient, koa, path, router, send; | |
path = require('path'); | |
send = require('koa-send'); | |
router = require('koa-router')(); | |
koa = require('koa'); |
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 Geo | |
@radiusInMiles: 3956.0 | |
@radiusInKilometers: 6367.0 | |
@toRadian: (v) -> | |
v * (Math.PI / 180) | |
@diffRadian: (v1, v2) -> | |
@toRadian(v2) - @toRadian(v1) |
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
<head> | |
<title>autoform02</title> | |
</head> | |
<body> | |
{{> consulta}} | |
</body> | |
<template name="consulta"> | |
<p>The value ruc is never updated in the db. None of the callback on autoforms is called.</p> |
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
<head> | |
<title>autoform01</title> | |
</head> | |
<body> | |
{{> consulta}} | |
</body> | |
<template name="consulta"> | |
<p>If the form is commented out the value of consulta.ruc is displayed.</p> |
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
package de.suncom.cc.mdc | |
import groovy.sql.Sql | |
import org.vertx.groovy.platform.Verticle | |
class Server extends Verticle { | |
def config = [ address : 'test', | |
driver : 'com.mysql.jdbc.Driver', |