Skip to content

Instantly share code, notes, and snippets.

View LuNeder's full-sized avatar

Luana LuNeder

View GitHub Profile
@LuNeder
LuNeder / android-waterminder-csv-fix.jl
Created June 21, 2026 17:44
Fix WaterMinder iOS CSV export to import on Android WaterMinder. Script works for when both devices are set to Brazil region, for other regions changes might be necessary.
using CSV, DataFrames, Dates
filename = "/home/luana/Downloads/waterminder-logs.csv"
# Time as string to prevent automatically adding seconds, which seems to break waterminder even more
file = CSV.File(filename; types=Dict("Time" => String)) |> DataFrame
# Remove thousand separator in ml columns which breaks waterminder android
ml_cols = ["Hydration Value(ml)", "Water Value(ml)", "Day Total(ml)", "Daily Goal Amount(ml)"]
for col in ml_cols
@LuNeder
LuNeder / opencomposite-fail.txt
Created July 15, 2024 16:10
nix log /nix/store/4mq5sb6skbw1qqz2cndhz5gsd1cqyj96-opencomposite-0-unstable-2024-06-12.drv > ./Documentos/opencomposite-fail.txt
sourcing setup hook '/nix/store/ll2b6cslly4v30im7qk34f9y21ziiz1i-cmake-3.29.6/nix-support/setup-hook'
sourcing setup hook '/nix/store/yq6n8b0mnk0qxzbs3ajsjcp8ziwqylrl-patchelf-0.15.0/nix-support/setup-hook'
sourcing setup hook '/nix/store/iks1pihvbilsh5sy8qvpd638k422w9i8-update-autotools-gnu-config-scripts-hook/nix-support/setup-hook'
sourcing setup hook '/nix/store/h9lc1dpi14z7is86ffhl3ld569138595-audit-tmpdir.sh'
sourcing setup hook '/nix/store/m54bmrhj6fqz8nds5zcj97w9s9bckc9v-compress-man-pages.sh'
sourcing setup hook '/nix/store/wgrbkkaldkrlrni33ccvm3b6vbxzb656-make-symlinks-relative.sh'
sourcing setup hook '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh'
sourcing setup hook '/nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh'
sourcing setup hook '/nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh'
sourcing setup hook '/nix/store/pag6l61paj1dc9sv15l7bm5c17xn5kyk-move-systemd-user-units.sh'