INTRODUCCIÓN AL DESARROLLO DE SOFTWARE - 2507B04G3
Corporación Universitaria Remington (Uniremington)
- Facultad: Ingeniería
- Programa: Ingeniería de Sistemas (Virtual)
- Asignatura: Introducción al Desarrollo de Software
- Código: 2507B04G3
| var mongoObjectId = function () { | |
| var timestamp = (new Date().getTime() / 1000 | 0).toString(16); | |
| return timestamp + 'xxxxxxxxxxxxxxxx'.replace(/[x]/g, function() { | |
| return (Math.random() * 16 | 0).toString(16); | |
| }).toLowerCase(); | |
| }; |
| rules_version = '2'; | |
| service firebase.storage { | |
| match /b/{bucket}/o { | |
| match /{allPaths=**} { | |
| allow read, write: if request.auth != null; | |
| } | |
| } | |
| } |
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| //CSS | |
| var fecha = new Date(); // Extraer datos | |
| var hora = fecha.getHours(); // Asignar hora | |
| var dia = fecha.getDay(); // Asignar dia | |
| var colorFondo = "#999999"; // Color de fondo para desactivación | |
| /* Funciones */ | |
| function verificarFranjas() { | |
| // Franja 1: opera de 12am a 8am (LUN - SAB) | |
| if ((hora >= 0 && hora <= 7) && dia != 0) { | |
| document.getElementsByTagName("label")[18].style.pointerEvents = "auto"; |
| # If you just change the port or add more ports here, you will likely also | |
| # have to change the VirtualHost statement in | |
| # /etc/apache2/sites-enabled/000-default.conf | |
| Listen 80 | |
| Listen 8080 | |
| <IfModule ssl_module> | |
| Listen 443 | |
| </IfModule> |
| # This is the main Apache server configuration file. It contains the | |
| # configuration directives that give the server its instructions. | |
| # See http://httpd.apache.org/docs/2.4/ for detailed information about | |
| # the directives and /usr/share/doc/apache2/README.Debian about Debian specific | |
| # hints. | |
| # | |
| # | |
| # Summary of how the Apache 2 configuration works in Debian: | |
| # The Apache 2 web server configuration in Debian is quite different to | |
| # upstream's suggested way to configure the web server. This is because Debian's |
| <IfModule mod_ssl.c> | |
| <VirtualHost _default_:443> | |
| ServerAdmin webmaster@localhost | |
| DocumentRoot /var/www/html | |
| # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, | |
| # error, crit, alert, emerg. | |
| # It is also possible to configure the loglevel for particular | |
| # modules, e.g. |