This file contains 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
#lang racket | |
(provide (all-defined-out)) | |
(define (primo num a s) | |
(for ([i (in-range 0 num)]) | |
(if (= (remainder num (+ 1 i)) 0) | |
(set! a (+ 1 a)) | |
0 | |
) |
This file contains 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
https://inventwithpython.com/makinggames.pdf | |
http://slav0nic.org.ua/static/books/python/beginning-game-development-with-python-and-pygame-from-novice-to-professional.9781590598726.29808.pdf |
This file contains 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
Miguel Ángel Henao Pérez | |
1. | |
SELECT idfab, idproducto, descripcion, precio, (precio * 1.19) as 'precio con iva' FROM `productos` WHERE 1 | |
2. | |
SELECT NUMPEDIDO, fab, producto, CANT, (IMPORTE / cant) AS "precio unitario" FROM `pedidos` WHERE 1 |
This file contains 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
https://cdn.preterhuman.net/texts/manuals/Addison%20Wesley%20-%20Design%20Patterns%20Explained%20(2001).pdf | |
http://hxz.es/Design%20Patterns%20For%20Dummies.pdf |
This file contains 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
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package MongoConection; | |
import com.mongodb.MongoClient; | |
import com.mongodb.MongoCredential; | |
import com.mongodb.client.FindIterable; |
This file contains 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
MongoCon database = new MongoCon(); | |
// create collection | |
// database.createCollection("clientes"); | |
// Document doc = new Document(); | |
// | |
// doc.append("nombre", "Miguel"); | |
// doc.append("apellido", "Henao"); | |
// doc.append("DNI", "12345678"); |
This file contains 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
MongoCon database = new MongoCon(); | |
// create collection | |
// database.createCollection("clientes"); | |
// Document doc = new Document(); | |
// | |
// doc.append("nombre", "Miguel"); | |
// doc.append("apellido", "Henao"); | |
// doc.append("DNI", "12345678"); |
This file contains 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
gistup |
This file contains 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 { | |
listen *:80; | |
autoindex on; | |
server_name servername; | |
root /var/www/observatorio/html/observatorio-app/dist/observatorio-app; | |
index index.html; | |
location /api/ { | |
root www/observatorio/html/observatorio-app/dist/observatorio-app/obs-api; | |
proxy_pass http://127.0.0.1:1337; |
This file contains 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
if (varType == "@DT") | |
{ | |
int start = i + 4; // starting ( | |
int end = config.IndexOf(")", start); | |
string format = config.Substring(start, end - start); | |
} |
OlderNewer