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
| output: { | |
| name: pkg.name, | |
| dir: 'dist', | |
| format: 'es', <---- permite que se puedan compilar archivos por separado | |
| sourcemap: false, | |
| preserveModules: true, <---- se preserva la estructura original de directorios | |
| exports: 'named', | |
| assetFileNames: '[name][extname]', | |
| }, |
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 lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Intro to XState</title> | |
| <link rel="stylesheet" href="styles.css" /> | |
| </head> | |
| <body> | |
| <div id="box"></div> |
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
| /* | |
| * Archivo: ejer03.c | |
| * Autor: Carlos Moran<mc16006> | |
| * Descripcion: Programa que dada una lista de numeros determina el promedio, el valor maximo y el valor minimo, | |
| * cada uno de los calculos hechos en un proceso distinto. | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <limits.h> | |
| #include <sys/types.h> |
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
| from openpyxl import load_workbook | |
| import psycopg2 | |
| filesheet = './data.xlsx' | |
| wb = load_workbook(filesheet) | |
| # connection with the database | |
| conn = psycopg2.connect(dbname="proyectoSGG", user="postgres", password="root") |
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 pandas as pd | |
| import requests, lxml | |
| from bs4 import BeautifulSoup | |
| url = "https://www.tse.gob.sv/2018/escrutinio-final/asamblea/index.html" | |
| html = requests.get(url).text | |
| soup = BeautifulSoup(html, 'lxml') | |
| BASE_URL = "https://www.tse.gob.sv/2018/escrutinio-final/asamblea" | |
| panels = soup.findAll("div", {"class": "panel-purple"}) |
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 pandas as pd | |
| from bs4 import BeautifulSoup | |
| import requests | |
| import sys | |
| BASE_URL = "https://link.springer.com" | |
| books = pd.read_html("https://docs.google.com/spreadsheets/u/0/d/1HzdumNltTj2SHmCv3SRdoub8SvpIEn75fa4Q23x0keU/htmlview#") | |
| counter = 0 |
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 pandas as pd | |
| import requests, lxml | |
| from bs4 import BeautifulSoup | |
| url = "https://www.tse.gob.sv/2018/escrutinio-final/asamblea/index.html" | |
| html = requests.get(url).text | |
| soup = BeautifulSoup(html, 'lxml') | |
| BASE_URL = "https://www.tse.gob.sv/2018/escrutinio-final/asamblea" | |
| panels = soup.findAll("div", {"class": "panel-purple"}) |
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 | |
| # -*- coding: utf-8 -*- | |
| __author__ = 'efrenfuentes' | |
| MONEDA_SINGULAR = 'bolivar' | |
| MONEDA_PLURAL = 'bolivares' | |
| CENTIMOS_SINGULAR = 'centimo' |