Skip to content

Instantly share code, notes, and snippets.

View RamonRomeroQro's full-sized avatar
🍳
Focusing

Ramón Romero RamonRomeroQro

🍳
Focusing
  • Querétaro, México
  • 10:30 (UTC -06:00)
View GitHub Profile
@RamonRomeroQro
RamonRomeroQro / private_fork.md
Created July 11, 2021 20:03 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@RamonRomeroQro
RamonRomeroQro / GoogleMapDownloader.py
Created November 6, 2019 08:11 — forked from eskriett/GoogleMapDownloader.py
A python script to download high resolution Google map images given a longitude, latitude and zoom level.
#!/usr/bin/python
# GoogleMapDownloader.py
# Created by Hayden Eskriett [http://eskriett.com]
#
# A script which when given a longitude, latitude and zoom level downloads a
# high resolution google map
# Find the associated blog post at: http://blog.eskriett.com/2013/07/19/downloading-google-maps/
import urllib
import Image
import time, multiprocessing, subprocess
from subprocess import PIPE, Popen
import os, signal
from subprocess import Popen, PIPE
def playsound(filedir):
global a
'''
@Krotolamo
Reproducir sonido, recibe como parametro la ubicacion de archivo
Deberia correr sin problemas porque el paquete ya vien instalado en la RBP,
pero si no, estos son los comandos de instalacion
$ sudo apt update
$ sudo apt install omxplayer
@RamonRomeroQro
RamonRomeroQro / binary_search.py
Last active December 12, 2018 07:41
Binary Search in Python
def binarySearch(alist, item):
first = 0
last = len(alist)-1
found = False
while first<=last and not found:
midpoint = (first + last)//2
if alist[midpoint] == item:
found = True
else:
@RamonRomeroQro
RamonRomeroQro / rsa.py
Created November 1, 2018 01:40
A simple RSA implementation in Python
'''
620031587
Net-Centric Computing Assignment
Part A - RSA Encryption
'''
import random
'''