Skip to content

Instantly share code, notes, and snippets.

View rnovec's full-sized avatar
🏡
Working remotely

Raúl Novelo rnovec

🏡
Working remotely
  • Encora Inc.
  • Mérida, MX
  • 01:17 (UTC -06:00)
  • LinkedIn in/rnoveloc
View GitHub Profile
@shreyasmalewar
shreyasmalewar / App.vue
Created February 17, 2021 08:08
Using Google Maps API for Location Picker with Vue 2
<template>
<div id="app">
<GmapMap
:center="center"
:zoom="18"
map-style-id="roadmap"
:options="mapOptions"
style="width: 100vmin; height: 50vmin"
ref="mapRef"
@click="handleMapClick"
@madkoding
madkoding / install-docker-deepin.sh
Last active August 13, 2025 15:36
Install Docker-CE script for Deepin Linux
#!/bin/bash
echo "Starting Docker installation on Deepin Linux..."
# Define a mapping from Deepin version to Debian version
map_deepin_to_debian() {
if [ "$1" -lt 20 ]; then
echo "stretch"
elif [ "$1" -ge 20 ]; then
echo "buster"
@Villanuevand
Villanuevand / README-español.md
Last active December 10, 2025 18:42
Una plantilla para hacer un buen README.md. Inspirado en el gist de @PurpleBooth => https://gist.github.com/PurpleBooth/109311bb0361f32d87a2

Título del Proyecto

Acá va un párrafo que describa lo que es el proyecto

Comenzando 🚀

Estas instrucciones te permitirán obtener una copia del proyecto en funcionamiento en tu máquina local para propósitos de desarrollo y pruebas.

Mira Deployment para conocer como desplegar el proyecto.

@dongbohu
dongbohu / Free O'Reilly Books.md
Created September 14, 2017 15:25 — forked from augbog/Free O'Reilly Books.md
Free O'Reilly Books

Free O'Reilly books and convenient script to just download them.

Thanks /u/FallenAege/ and /u/ShPavel/ from this Reddit post

How to use:

  1. Take the download.sh file and put it into a directory where you want the files to be saved.
  2. cd into the directory and make sure that it has executable permissions (chmod +x download.sh should do it)
  3. Run ./download.sh and wee there it goes. Also if you do not want all the files, just simply comment the ones you do not want.
@codigosdeprogra
codigosdeprogra / grafoEnAnchura.py
Created March 10, 2017 06:25
Recorrido o búsqueda en un Grafo en anchura en Python 3
#AUTOR: Luis García
#CARRERA: Ingeniería en Computación
import os
#DEFINIENDO EL GRAFO MEDIANTE UN DICCIONARIO DE PYTHON:
#PARA MEJOR COMPRENSION EL VALOR 'a': [('p',4), ('j',15), ('b',1)],
#INDICA QUE EL VERTICE 'a' ES ADYACENTE CON 'P', CON 'J' Y CON 'b'
#CADA UNO CON SU RESPECTIVO PESO, AUNQUE EL PESO PARA HACER RECCORRIDOS EN PROFUNDIDAD
#NO ES NECESARIO, SE LO AGREGUE PARA MOSTRAR TAMBIÉN LA IMPLEMENTACIÓN DE UN GRAFO PONDERADO
@rajankur
rajankur / input_file.html
Created September 26, 2016 17:18
Valid Accept types for HTML input tag
<!-- Specifying multiple formats -->
<input type="file" accept=".csv, .txt" />
<!-- For CSV -->
<input type="file" accept=".csv" />
<!-- For Excel 97-2003 -->
<input type="file" accept="application/vnd.ms-excel" />
<!-- For Excel 2007+ -->
@dannguyen
dannguyen / tweet-selenium.py
Last active December 14, 2022 07:45
how to send a tweet through Firefox using Python + Selenium
"""
Tweeting by controlling Firefox via Python + selenium
http://selenium-python.readthedocs.org/
This script:
- Opens up Firefox
- Goes to https://www.twitter.com
- Clicks the login button
- logs you in (assuming you have your twitter password in a file named `mypassword.txt`...)
@alvareztech
alvareztech / Main.java
Last active April 8, 2022 21:08
Clase para ejecutar el algoritmo para generar una matriz caracol cuadrada.
import java.util.Scanner;
/**
* Clase para ejecutar el algoritmo para generar una matriz caracol cuadrada
* @author Daniel Alvarez
*/
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
@PurpleBooth
PurpleBooth / README-Template.md
Last active December 15, 2025 05:33
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@chris1610
chris1610 / pdf-report.py
Created February 16, 2015 22:29
PDF Report Generation - pbpython.com
"""
Generate PDF reports from data included in several Pandas DataFrames
From pbpython.com
"""
from __future__ import print_function
import pandas as pd
import numpy as np
import argparse
from jinja2 import Environment, FileSystemLoader
from weasyprint import HTML