Skip to content

Instantly share code, notes, and snippets.

View ELC's full-sized avatar

Ezequiel Leonardo Castaño ELC

View GitHub Profile
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
import matplotlib.pyplot as plt
import numpy as np
# fig = plt.figure()
fig, ax = plt.subplots(figsize=(16,9))
margin = 1
plt.plot(( 64, 64), (0, 1), 'b-')
plt.plot((128, 128), (0, 1), 'b-')
@ELC
ELC / environment.yml
Last active February 11, 2021 23:45
fiber
dependencies:
- python=3.7
- ipywidgets==7.5.1
- bqplot==0.11.0
- numpy== 1.19.2
- scipy==1.5.2
@ELC
ELC / correlogram.ipynb
Created February 1, 2021 23:50
A colored Correlogram with Matplotlib
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ELC
ELC / apt.txt
Last active September 17, 2020 15:47
EMSS2020
chromium-chromedriver
@ELC
ELC / PLC1.ipynb
Created August 22, 2019 01:49
FRRo Operativa Demo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ELC
ELC / Deep Learning with Free GPU (FastAI + Google Colab).ipynb
Last active December 22, 2021 00:46
Deep Learning with Free GPU (FastAI + Google Colab).ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ELC
ELC / apt.txt
Last active November 25, 2019 18:34
Pascal Triangle Visualization
ffmpeg
def generate_random(seed):
digits = len(str(seed))
while True:
candidate_number = str(seed**2)
candidate_number_filled = '0' * (2 * digits - len(candidate_number)) + candidate_number
seed = int(candidate_number_filled[digits//2:-digits//2])
yield seed
@ELC
ELC / create_video.bat
Last active December 17, 2017 15:17
Create video for YouTube with still image from folder - MSDOS - BATCH - Windows - FFMPEG
@ECHO OFF
REM This program assumes that all your audio files are OGG and all your images are PNG (Suggested dimensions: 1280x720 or 1920x1080)
REM In case you have mixed formats, please convert all to one, if you use a different format, edit this file and change the format.
REM The output will be in MKV format, you can also change this but the configuration may not be optimal for other formats
REM The resulting video will have quality options as high as the image resolution
REM IMPORTANT: LOW QUALITY IMAGES MAY DECREASE THE QUALITY OF THE AUDIO WHEN UPLOADED TO YOUTUBE
ECHO Make sure to read the comments before executing the script.