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
<!-- parcialmente basado en yearofmoo.com --> | |
<form name="formulario"> | |
<div class="field"> | |
<label for="correo">Correo Electronico:</label> | |
<input type="email" | |
name="correo" | |
ng-model="datos.email" | |
required /> | |
<div ng-messages="formulario.correo.$error"> | |
<div ng-message="required">Campo requerido</div> |
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
module.exports = { | |
views: { | |
engines: { | |
'html': { | |
compile: require('./underscore_compiler') | |
} | |
}, | |
compileMode: 'sync', | |
path: './views', | |
partialsPath: './views/partials' |
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
exports.profile = function(request, reply) { | |
request.server.render('partials/navbar', {}, function(err, rendered, config) { | |
reply.view('profile', { | |
title: 'Test', | |
navbar: rendered | |
}); | |
}); | |
}; |
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
server.pack.register(require('hapi-auth-bearer-token'), function(err) { | |
server.auth.strategy('token', 'bearer-access-token', { | |
validateFunc: function(token, callback) { | |
// read from db or some place | |
var matched = false; | |
var tokenResult = { token: token }; | |
var err = null; | |
if (token === 'a1b2c3') { |
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 debug = require('debug')('users'); | |
var createHandler = require('./v1/create.js'); | |
exports.register = function(plugin, options, next) { | |
plugin.route({ | |
method: 'POST', | |
path: '/v1/users', | |
handler: createHandler, | |
config: { |
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
/*globals expect:true*/ | |
var Hapi = require('hapi'); | |
var server = require('./../../../lib/hapi'); | |
describe("Users controller", function() { | |
it("should return HTTP 401 when no bearer header auth is found", function(done) { | |
server.inject({ method: 'POST', url: '/api/v1/users' }, function (res) { | |
expect(res.statusCode).toBe(401); | |
done(); |
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
for i in `seq 1 100`; do echo $i; echo 'test 1234567890' > `echo test_$i`; done |
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
<div id="basic-modal-content" class="simplemodal-data" style="display: block;"> | |
<h3>Ingrese el Número de Cliente, Por Favor:</h3> | |
<form action="miscuentas.php" id="InputNic" method="post" enctype="application/x-www-form-urlencoded"> | |
<label for="NIC">*NIC:</label> | |
<input type="text" id="NIC" name="NIC" tabindex="1001" maxlength="6" class="required number"> | |
<input type="hidden" name="origenpazysalvo" value="0"> | |
<label> </label> | |
<button type="submit" class="contact-send contact-button" tabindex="1006">Enviar</button> | |
<br> | |
</form> |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using HttpLightClient; | |
using log4net; | |
using System.Configuration; | |
using log4net.Config; | |
using System.Xml.Linq; | |
using Cobuys.WebRobot; |
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
Como cada periodo, ha llegado el momento de evaluar sus actividades de los últimos 12 meses, para lo cual deberán enviarme su reporte de actividades completo, en inglés, a más tardar el día 15 de Octubre. | |
Para el llenado del nuevo formato, tengan en cuenta los siguientes puntos: | |
- Verifiquen que cuando capturen las fechas de sus actividades queden capturadas correctamente y sean reconocidas por Excel con el formato Date, no como General, ya que de lo contrario, no serán importadas correctamente en el sistema. | |
- Antes de llenar el reporte, revisen todos los ejemplos de contribuciones contenidos en el tab “Contribution Samples” | |
- El primer annual quantity deberá incluir el número de actividades de ese tipo realizadas, el primer unit deberá incluir el tipo (ej: posts, answers, etc) mientras que el 2nd annual quantity deberá incluir el alcance o reach numérico y el Unit2 la descripción del mismo (ej: subscribers, views of answers, downloads, etc.) | |
- El reporte deberá inclu |