Skip to content

Instantly share code, notes, and snippets.

View rickkk856's full-sized avatar
🏠
Working from home

Ricardo Rodrigues rickkk856

🏠
Working from home
View GitHub Profile
@rickkk856
rickkk856 / Dijkstra Algorithm & Google Maps.ipynb
Last active February 22, 2022 19:33
Uses GPS location to get the shortest path between points and generate a map on Google Maps, does not use Directions API so it doesn't consider the road lenth (only strainght distance)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rickkk856
rickkk856 / Lotomania - Jogador Automatico .ipynb
Created January 3, 2022 19:42
Gerador automático de apostas para lotomania #Loterias
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rickkk856
rickkk856 / Transcript (mp3-to-txt) pt-BR.ipynb
Last active October 27, 2021 12:43
Transcrever áudio - mp3 to txt (pt-PT, pt-BR, en-US) - GoogleColab (.wav Curtos e Longos)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rickkk856
rickkk856 / rename_images.py
Created September 2, 2021 17:42 — forked from loisaidasam/rename_images.py
Rename images for use by ImageMagick convert or ffmpeg convert
# Goes a little something like this:
import os
files = [ f for f in os.listdir('.') if os.path.isfile(os.path.join('.',f)) and f.endswith('.jpg') ]
for i, file in enumerate(sorted(files)):
os.rename(file, 'image%03d.jpg' % i)
# Now with them renamed you can do something like:
@rickkk856
rickkk856 / Drawing_App.py
Last active May 17, 2024 03:38
Drawing Interface For Google Colaboratory - Paint
#@title <font color='red'>Drawing APP</font> {vertical-output: true, run: "auto"}
import ipywidgets as widgets
from ipywidgets import Layout, Button, Box
from IPython.display import display, HTML, Image
from google.colab.output import eval_js
from base64 import b64decode
Square_Size = 256 #@param ["256", "512"] {type:"raw"}
Brush_Size = 30 #@param {type:"slider", min:0, max:100, step:5}
@rickkk856
rickkk856 / DrawBoundary.py
Last active July 26, 2021 22:59
Interactive Black Box Drawing App for Google Colab
#@title Draw Boundary { run: "auto" }
import ipywidgets as widgets
from IPython.display import display, HTML, Image
from google.colab.output import eval_js
from base64 import b64decode
import PIL
from datetime import datetime
Square_Size = 256 #@param ["256", "512"] {type:"raw"}
Brush_Size = 40 #@param {type:"slider", min:0, max:100, step:5}
@rickkk856
rickkk856 / Copy or Move Files with Same Name + Randomize.ipynb
Last active July 5, 2021 18:13
Copy or Move Files with Same Name.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rickkk856
rickkk856 / move_random.py
Created July 2, 2021 20:22 — forked from spdin/move_random.py
Pick and move file to another folder randomly
import os, random, shutil
#Prompting user to enter number of files to select randomly along with directory
source=input("Enter the Source Directory : ")
dest=input("Enter the Destination Directory : ")
no_of_files=int(input("Enter The Number of Files To Select : "))
print("%"*25+"{ Details Of Transfer }"+"%"*25)
print("\n\nList of Files Moved to %s :-"%(dest))
@rickkk856
rickkk856 / Bulk Classifier & Organizer - Teacheable Machine (Keras).ipynb
Created July 2, 2021 20:11
Bulk Predict and Move Files - Keras Teacheable Machine
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.