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 = module.exports = function (app) { | |
| app.get('/users/', require('./views/Users/index').mostrar) | |
| app.post('/users/', require('./views/Users/index').ingresar) | |
| /** | |
| * @autor: | |
| * @date: 2017/08/24 17:53 | |
| * Correction in the link, wrong redirection | |
| **/ | |
| app.post('/users/listar/', require('./views/Users/index').listar) |
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 React from "react"; | |
| import { | |
| ControlLabel, | |
| FormGroup, | |
| FormControl, | |
| Panel, | |
| Button | |
| } from "react-bootstrap"; | |
| import { connect } from "react-redux"; | |
| import ReactTable, { ReactTableDefaults } from "react-table"; |
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
| script(src='/views/js/jquery.min.js') | |
| script(src='/js/bootstrap.min.js') | |
| script(src='/js/cargue.js') | |
| script(src='/vendor/bootstrap/js/dropdown.js') | |
| block body | |
| div.page-header | |
| div.col-sm-11 | |
| div(id="usuario", class="#{usuario}") | |
| form.form-horizontal |
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
| // configuración postman | |
| header: { | |
| x-access-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImRpZWdvIiwiaWF0IjoxNTMyNDc2NDE2LCJleHAiOjE1MzI0ODAwMTZ9.Ev-x8tQPkmnA6FAYgTts0W2LwWQITmzAPy6oomKRKVc | |
| } |
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
| # WELCOME TO SQUID 3.3.8 | |
| # ---------------------------- | |
| # | |
| # This is the documentation for the Squid configuration file. | |
| # This documentation can also be found online at: | |
| # http://www.squid-cache.org/Doc/config/ | |
| # | |
| # You may wish to look at the Squid home page and wiki for the | |
| # FAQ and other documentation: | |
| # http://www.squid-cache.org/ |
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
| package ejemplopilaarreglo; | |
| import java.util.Arrays; | |
| /** | |
| * | |
| * @author Diego | |
| */ | |
| public class Pila { |
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
| <script src="/vendor/jquery/jquery.js"></script> | |
| <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDaqJrcvUyHQlDrV6gASSUr3Fi39NRSJLg&v=3.exp&libraries=places"></script> | |
| <script src="/views/establecimiento/index.min.js?undefined"></script> |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Prueba</title> | |
| <style media="screen"> | |
| button#btn-accion { | |
| color: red; | |
| background: black; | |
| padding: 10px 10px; |
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 { BackHandler } from 'react-native'; | |
| componentWillMount() { | |
| BackHandler.addEventListener('hardwareBackPress', this.onBackPress.bind(this)); | |
| } | |
| onBackPress(){ | |
| if(this.props.isAuthenticated){ | |
| const { state, dispatch } = this.props.navigation; |
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
| db.getCollection('products').find().forEach(function (doc) { | |
| db.getCollection('products').update({ _id : doc._id},{$set:{ | |
| "establishment":ObjectId(doc.establishment) | |
| }}); | |
| } | |
| ); |