Skip to content

Instantly share code, notes, and snippets.

View amelandri's full-sized avatar
💻
Working

Alessandro Melandri amelandri

💻
Working
View GitHub Profile
@amelandri
amelandri / todoist.css
Last active February 27, 2020 21:34
Todoist custom style sheet
#top_bar_inner {
margin: auto !important;
width: 1160px !important;
padding-left: 0px;
}
#top_icons{
padding-right: 3px
}
.quick_find{
width: 650px;
@amelandri
amelandri / notablesync.bat
Created October 30, 2019 09:20
Notable auto sync
@echo off
for /f "tokens=1-4 delims=/ " %%i in ("%date%") do (
set day=%%i
set month=%%j
set year=%%k
)
for /f "tokens=1-4 delims=: " %%i in ("%time%") do (
set hour=%%i
"""
*************************************************************************************
This code is outdated, please see https://github.com/amelandri/NotableUtilities
*************************************************************************************
A custom script developed by Alessandro Melandri (@AleMelandri) to reorder Notable (https://notable.md) notes in folders matching Notebooks tags.
@amelandri
amelandri / notice.md
Last active May 18, 2022 08:18
Mastodon Custom CSS
@amelandri
amelandri / journalcleanup.py
Last active February 17, 2024 11:19
hledger journal cleanup script
inputFile = 'input.journal'
outputFile = 'output.journal'
alignColumn = 100
decimalSeparator = ','
addMissingDecimals = True
with open(inputFile, 'r') as file_input, open(outputFile, 'w') as file_output:
for line in file_input:
if line.strip().startswith(("assets:", "expenses:", "revenues:", "liabilities:")):
account, amount_comment = line.rsplit(' ', 1)
@amelandri
amelandri / hcl-verse.css
Created May 9, 2024 13:06
CSS to beautify HCL Verse webmail.
:root {
--main-blue: #146db3;
--light-blue: #448ec8;
--lighter-blue: #e8ebf4;
--gray: #363636;
--orange: #ff9d00;
--red: #dd2b0b;
--radius: 6px;
}
@amelandri
amelandri / Expected_directory_structure.md
Last active October 22, 2024 18:22
Hledger journal cleanup
/journals  
    2024.journal  
/scripts  
    journalcleanup.py  
/workdir  
justfile