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
@eduardogpg
eduardogpg / scraper.py
Last active November 25, 2023 14:44
Una clase del BC de Ciencia de datos.
import csv
import json
import requests
from bs4 import BeautifulSoup
TITLE = 'Próximos lanzamientos'
URL = 'https://www.imdb.com/calendar/?region=MX'
@Klerith
Klerith / flutter-instalaciones.md
Last active November 15, 2024 21:56
Instalaciones del curso de Flutter - Móvil de cero a experto
{
"$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": "[email protected]",
"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
@joshatxantie
joshatxantie / gist:4bcf5d0243fba63845fce7cc40365a3a
Created September 2, 2021 04:18
Dockerize Pyodbc/SQL Server
# syntax=docker/dockerfile:1
FROM python:3.8-slim-buster
WORKDIR /app
ENV ACCEPT_EULA=Y
RUN apt-get update -y && apt-get update \
&& apt-get install -y --no-install-recommends curl gcc g++ gnupg unixodbc-dev
@joshnuss
joshnuss / httpStore.js
Last active October 11, 2023 11:29
A Svelte store backed by HTTP
import { writable } from 'svelte/store'
// returns a store with HTTP access functions for get, post, patch, delete
// anytime an HTTP request is made, the store is updated and all subscribers are notified.
export default function(initial) {
// create the underlying store
const store = writable(initial)
// define a request function that will do `fetch` and update store when request finishes
store.request = async (method, url, params=null) => {
@joshnuss
joshnuss / aggregateStores.js
Last active December 21, 2020 17:45
Using Svelte derived stores to do compute aggregate values
import {identity} from 'svelte/internal'
import {derived} from 'svelte/store'
// sum multiple stores
export function sum(stores, iterator=identity) {
// define a dervied store
return derived(stores, ($stores, set) => {
// sum the current value of each store
const result = $stores.reduce((acc, n) => acc + iterator(n), 0)
// update this store with the result
@jigzstar
jigzstar / caprover.odoo
Last active March 22, 2022 18:47
Caprover odoo one click setup from @abedev31
{
"captainVersion": "2",
"documentation": "https://github.com/caprover/one-click-apps",
"dockerCompose": {
"version": "3.3",
"services": {
"$$cap_appname-db": {
"image": "postgres:$$cap_postgres_version",
"notExposeAsWebApp": "true",
"volumes": [
@JHethDev
JHethDev / Btn.svelte
Created April 16, 2020 21:32
Sapper localStorage Example
<script>
import { country } from '../stores/local-store.js;
export let location;
function setCountry(value) {
// We can use this here because _layout calls useLocalStorage for country.
// If you have multiple variables to store each will need to be called
// in the same way in the _layout file.
country.set(value);
}
/*
It's now a package. You can find it here:
https://github.com/joshnuss/svelte-local-storage-store
*/
// Svelte store backed by window.localStorage
// Persists store's data locally