Skip to content

Instantly share code, notes, and snippets.

View toodaniels's full-sized avatar
:electron:

Daniel Torres toodaniels

:electron:
View GitHub Profile
@toodaniels
toodaniels / 1OLED_IMAGES_README.md
Last active February 18, 2024 06:55
QMK Oled images - 32x128 display

QMK Oled images - 32x128 display

Use

rules.mk

OLED_ENABLE = yes

keymap.c

#include "oled.c"

@toodaniels
toodaniels / discord_message.py
Last active December 4, 2022 06:08
Send a simple message to a discord channel using discord.py $python discord_message.py --message "Hola Mundo"
import os
import argparse
import discord
from dotenv import load_dotenv
load_dotenv() # Loads envs from .env
@toodaniels
toodaniels / coursesTaking.json
Last active September 12, 2022 01:48
Courses Taking
{
"coursesTaking": [
{
"title": "Curso de Next.js: Autenticación",
"description": "¡Aprende estrategias de autenticación con Next.js! Implementa sesiones o tokens para autenticar usuarios en las vistas y API de tu aplicación web.",
"platform": "@platzi",
"link": "https://platzi.com/cursos/nextjs-auth/",
"status": "Active"
},
{
@toodaniels
toodaniels / Instructions.md
Created February 15, 2022 22:39
Downgrade slack-desktop version on Arch Linux (Workspaces bug 4.23.0-1)
  1. Clone slack-git from https://aur.archlinux.org/slack-desktop.git and enter to slack-desktop folder
  git clone https://aur.archlinux.org/slack-desktop.git
  1. Show de git log to select the slack-desktop version, i selected the commit be95059895d8910b435e75defd58d909dd84ac17
  git checkout be95059895d8910b435e75defd58d909dd84ac17
  1. Install using makepkg
@toodaniels
toodaniels / workflow.yml
Created October 18, 2021 21:43
Github action example Airflow test using pytest
name: Integrity Tests
on:
pull_request:
branches: [ develop ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
@toodaniels
toodaniels / Dockerfile
Last active October 1, 2021 06:56
Airflow Docker compose modified to use LocalExecutor and add additional requirements
FROM apache/airflow:3.1.4
WORKDIR /opt/airflow/
# Add your extra dependencies in requirements.txt
COPY requirements.txt .
RUN pip install -r requirements.txt