Skip to content

Instantly share code, notes, and snippets.

View dyegoaurelio's full-sized avatar

dyegoaurelio

View GitHub Profile
@dyegoaurelio
dyegoaurelio / shell.nix
Last active January 19, 2024 14:16 — forked from cdepillabout/shell.nix
shell.nix for Python development using virtualenv and pip
let
# nixpkgs-src = builtins.fetchTarball {
# # master of 2021-01-05.
# url = "https://github.com/NixOS/nixpkgs/archive/1a57d96edd156958b12782e8c8b6a374142a7248.tar.gz";
# sha256 = "1qdh457apmw2yxbpi1biwl5x5ygaw158ppff4al8rx7gncgl10rd";
# };
# pkgs = import nixpkgs-src {
# config = {
# # allowUnfree may be necessary for some packages, but in general you should not need it.
@dyegoaurelio
dyegoaurelio / group_data.py
Created May 5, 2022 15:35
group solaredge data by month
# %%
import pandas as pd
import datetime
import locale
# Change timelocale to current account's language setting in Odoo.
locale.setlocale(locale.LC_TIME, 'pt_BR.UTF-8')
df = pd.read_csv('solar-edge.csv', index_col=None)
{
"modal": [
],
"aboveCards": [
]
}
@dyegoaurelio
dyegoaurelio / pax-sm-DEV-avisos.json
Last active April 22, 2022 07:24
avisos sm pax
{
"modal": [],
"aboveCards": []
}
@dyegoaurelio
dyegoaurelio / paginas-taos.json
Last active October 20, 2022 13:50
Links taos
[
{
"href": "https://api.whatsapp.com/send?phone=5585997130901&text=Ol%C3%A1%21+Vi+seu+perfil+no+Instagram+e+gostaria+de+fazer+um+or%C3%A7amento.",
"description": "Whatsapp Dyego"
},
{
"href": "https://api.whatsapp.com/send?phone=5585996538325&text=Ol%C3%A1%21+Vi+seu+perfil+no+Instagram+e+gostaria+de+fazer+um+or%C3%A7amento.",
"description": "Whatsapp Karim"
},
{