Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/usr/bin/python | |
from pymongo import * | |
import json | |
print "\nSe conectara al Servidor de Base de Datos Local." | |
conexion = Connection() #La conexion sera local | |
#Variable de referencia de la base de datos. | |
ndb = raw_input("\nIngrese el nombre de la base de datos: ") | |
db = conexion[ndb] #Conexion a la db |
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
/* ----------------------------------------------- */ | |
/* ------------------- Laptops ------------------- */ | |
/* ----------------------------------------------- */ | |
/* ----------- Laptops Non-Retina Screens ----------- */ | |
@media screen | |
and (min-device-width: 1200px) | |
and (max-device-width: 1600px) | |
and (-webkit-min-device-pixel-ratio: 1) { | |
} |
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
#include <iostream> //Entrdas y Salidas | |
#include <stdlib.h> //Standard windows | |
#include <cstdlib> //Standard linux | |
#include <string> //cadenas de texto | |
#include <unistd.h> //Unix | |
#include <ctime> //Tiempo | |
#include <cstring> //Manipular cadenas | |
#include <cctype> //Manipular tipos de datos | |
#include <algorithm> //Algoritmos | |
#include <iomanip> //Manipular Entrdas y Salidas |
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
#include <iostream> | |
#include <stdlib.h> | |
#include <string> | |
#ifdef WINDOWS | |
#include <windows.h> | |
#else | |
// Assume POSIX | |
#include <termios.h> | |
#include <unistd.h> | |
#endif |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/usr/bin/env node | |
const fs = require('fs'); | |
const models = require('../models'); | |
for (const model in models) { | |
const tableName = models[model].tableName; | |
let defaultValue = ''; | |
let onUpdate = ''; |
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
const isValidUrl = (url) => { | |
const regex = new RegExp(/(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)?/gi); | |
return url.match(regex); | |
}; |
OlderNewer