Skip to content

Instantly share code, notes, and snippets.

View rochecompaan's full-sized avatar

Roché Compaan rochecompaan

View GitHub Profile
@rochecompaan
rochecompaan / toggl_import.py
Last active November 30, 2024 04:30 — forked from khaeru/toggl_import.py
Toggl → Timewarrior import extension
#!/usr/bin/env python3
"""Toggl → Timewarrior import extension
© 2016 Paul Natsuo Kishimoto <[email protected]>
Licensed under the GNU GPL v3 or later.
Implements a Timewarrior extension (see
https://taskwarrior.org/docs/timewarrior/index.html) to import data from Toggl
(http://toggl.com).
@rochecompaan
rochecompaan / flake.nix
Created May 16, 2024 11:28
Flake for Python project on a specific Python version that manages dependencies in requirements.txt
{
description = "wx3 dev environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
# Go to nixhub.io and find the hash of the specific Python version you want to time-travel too
python38.url = "github:NixOS/nixpkgs/nixpkgs/9a9dae8f6319600fa9aebde37f340975cab4b8c0";
flake-utils.url = "github:numtide/flake-utils";