Skip to content

Instantly share code, notes, and snippets.

View rafnixg's full-sized avatar
:octocat:
Working from home

Rafnix Guzman rafnixg

:octocat:
Working from home
View GitHub Profile
@rafnixg
rafnixg / scraper.py
Last active April 29, 2023 01:11 — forked from eduardogpg/scraper.py
Una clase del BC de Ciencia de datos.
"""Scrapper IMDB Calendar Mexico"""
import csv
import json
import requests
from bs4 import BeautifulSoup
URL = "https://www.imdb.com/calendar/?region=MX"
"""
1.- Obtener el maqueto HTML
@rafnixg
rafnixg / odoo_wrapper.py
Created March 31, 2023 02:39
Odoo shell enviroment wrapper for executre custom code
import sys
def execute_script(env, script_path):
# Importa el archivo de script como un modulo
import importlib.util
spec = importlib.util.spec_from_file_location("module.name", script_path)
script_module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(script_module)
# Ejecuta la función 'run' del modulo importado
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Odoo",
"type": "python",
"request": "launch",
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Rafnix Gabriel Guzmán Garcia",
"label": "Backend Python & JavaScript | Odoo Developer | Tech Mentor | learning SRE & DevOps",
"image": "",
"email": "rafnixg@gmail.com",
"phone": "936389987",
"url": "",
"summary": "Soy un desarrollador de software con más de 9 años de experiencia en el diseño, desarrollo e implementación de sistemas web. Me gusta trabajar en proyectos desafiantes y utilizar mis habilidades para resolver problemas complejos y ofrecer soluciones de alta calidad. Mi experiencia incluye proyectos en sectores como finanzas, eventos, telecomunicaciones, retail y ecommerce.\n\nComo desarrollador backend, me he enfocado en construir sistemas escalables y robustos utilizando lenguajes como Python y herramientas como Linux y Git. También tengo experiencia trabajando con bases de datos como PostgreSQL y utilizando Docker para el despliegue de aplicaciones.\n\n
<html>
<head>
<link rel="stylesheet" href="https://pyscript.net/latest/pyscript.css" />
<script defer src="https://pyscript.net/latest/pyscript.js"></script>
</head>
<body>
<button id="cf">Let's plot random numbers</button>
<form>
<input type="text" name="name" value="" id="name" disabled>
@rafnixg
rafnixg / odoo-vscode-enviroment.md
Last active January 15, 2024 05:14
Configure Odoo for Development enviroment in VSCode
@rafnixg
rafnixg / PY0101EN-5-2-Numpy2D.ipynb
Created March 14, 2021 20:21
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rafnixg
rafnixg / PY0101EN-5-1-Numpy1D.ipynb
Created March 14, 2021 20:17
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rafnixg
rafnixg / PY0101EN-5.1_notebook_quizz_numpy1d.ipynb
Created March 14, 2021 20:11
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.