- Instalar docker
curl -sSL https://get.docker.com/ | sh
sudo usermod -aG docker <tu-usuario>
- Descargar un dataset y organizar las imagenes en formato jpg por carpetas
| CREATE TABLE test | |
| ( | |
| id INTEGER, | |
| parent INTEGER | |
| ); | |
| INSERT INTO test (id, parent) VALUES | |
| (1, NULL), | |
| (2, 1), |
curl -sSL https://get.docker.com/ | sh
sudo usermod -aG docker <tu-usuario>
| FROM php:7.1.2-apache | |
| RUN docker-php-ext-install mysqli |
| var nombres_synapticos = [ "Sergio Stanclift", "Robert Marceaux", "Martine Colle", "Hobert Shoptaw", "Danyell Steinruck", "Terry Villaluz", "Cammie Vandegrift", "Claire Vitale", "Shante Stlaurent", "Marnie Hiteman", "Shavonda Darter", "Myrle Schehr", "Clare Bowey", "Mittie Boldosser", "Stephenie Entwisle", "Frida Melendes", "Tawny Hankin", "Tinisha Decardo", "Augustus Schmuhl", "Will Jufer", "Jeni Keyl", "Angelika Cantillo", "Lenny Pietz", "Kati Liesmann", "Olivia Verdiguel", "Jeanice Jaruis", "Dawne Czach", "Jacques Perez", "Janene Lizarraga", "Joanna Burchell", "Rossana Brettmann", "Markus Granizo", "Mia Tejera", "Gina Coutch", "Burt Winkowski", "Rea Morcos", "Yasmin Hollenshead", "Karena Immerman", "Jeanett Mcanelly", "Teddy Vogl", "Kelle Jankoski", "Narcisa Hsun", "Lelah Matheson", "Elda Damiani", "Farah Krenke", "Sharan Konek", "Andrew Yennard", "Tanesha Tilford" ]; | |
| var intereses_synapticos = [ "musica", "arte", "juegos", "peliculas", "anime", "vida", "amanecer", "amor", "familia", "tv", "medio ambiente |
Note: The points below are a comparison of using vanilla websockets on client and server and using 'em via socket.io and not about why only use socket.io
send method to send data to the server. Send accepts only string input (not too sure about this). Socket.io lets us emit arbitrary events with arbitrary data (even binary blobs) to the server.message event. The data you receive is mostly likely to be text (again not too sure about this) and you will have to parse it manually before consuming it. Socket.io lets the server and client both emit arbitrary events and handles all the parsing and packing/unpacking.| var util = require('util'); | |
| var chalk = require('chalk'); | |
| var LOG_TYPE = chalk.bold.black('[') + '%s' + chalk.bold.black(']') + ':'; | |
| var ALL = { | |
| type: 'ALL' | |
| }; | |
| var TRACE = { | |
| type: 'TRACE', | |
| fn: console.log, |
| // ==UserScript== | |
| // @name Trello card title Markdown | |
| // @version 0.4.0 | |
| // @homepage https://gist.github.com/gorbiz/6062481 | |
| // @description Add support for bold and emphasized Markdown in card titles | |
| // @match https://trello.com/b/* | |
| // @match http://trello.com/b/* | |
| // ==/UserScript== | |
| function markdownAll() { |
| /* | |
| * Inspired by: http://stackoverflow.com/questions/4360060/video-streaming-with-html-5-via-node-js | |
| */ | |
| var http = require('http'), | |
| fs = require('fs'), | |
| util = require('util'); | |
| http.createServer(function (req, res) { | |
| var path = 'video.mp4'; |