I hereby claim:
- I am tbabej on github.
- I am tbabej (https://keybase.io/tbabej) on keybase.
- I have a public key ASCQqPAYF5iEfm5DX67-NQRHaYlm0wPw_sLl3s8Ar7QbeAo
To claim this, I am signing this object:
$ docker run -it fedora:rawhide bash | |
$ dnf install python3 git gcc gcc-c++ cmake make gnutls-devel libuuid-devel libfaketime glibc-langpack-en -y | |
... abbreviated | |
Upgraded: | |
glibc-2.33.9000-2.fc35.x86_64 glibc-common-2.33.9000-2.fc35.x86_64 | |
glibc-minimal-langpack-2.33.9000-2.fc35.x86_64 gnutls-3.7.1-2.fc35.x86_64 | |
libblkid-2.36.2-3.fc35.x86_64 libfdisk-2.36.2-3.fc35.x86_64 | |
libgcc-11.0.1-0.4.fc35.x86_64 libgomp-11.0.1-0.4.fc35.x86_64 | |
libmount-2.36.2-3.fc35.x86_64 libsmartcols-2.36.2-3.fc35.x86_64 |
I hereby claim:
To claim this, I am signing this object:
From e5db453a74b31e244871cd95005f65493d9f64d4 Mon Sep 17 00:00:00 2001 | |
From: Tomas Babej <tomasbabej@gmail.com> | |
Date: Wed, 18 Mar 2015 16:37:34 +0100 | |
Subject: [PATCH] Task: Make L priority negative | |
--- | |
src/Task.cpp | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
diff --git a/src/Task.cpp b/src/Task.cpp |
#!/usr/bin/python | |
from tasklib.task import Task | |
task = Task.from_input(modify=True) | |
touched = False | |
if 'due' in task._original_data and 'due' in task._data: | |
original_due_date = task._original_data['due'] | |
current_due_date = task['due'] |
#!/usr/bin/python | |
# Install tasklib from my hooks branch | |
# sudo pip install --force git+git://github.com/tbabej/tasklib@hooks2 | |
# This hook tries to solve the problem where two TW clients create | |
# both child tasks of the same recurrent tasks. | |
# Only hook-approach that does not come up to having multiple task | |
# occurences in the database (albeit deleted), is to prohibit recurrent |
#!/usr/bin/python | |
# Install tasklib from my hooks branch | |
# sudo pip install --force git+git://github.com/tbabej/tasklib@hooks2 | |
import sys | |
from tasklib.task import TaskWarrior, Task | |
tw = TaskWarrior() # Use data_location for alternate locations, see docs | |
task = Task.from_input() |
#!/usr/bin/python | |
import pytz | |
from datetime import time | |
from tasklib.task import Task | |
LOCALTZ = pytz.timezone('Europe/Bratislava') # Your timezone | |
DEFAULT_TIME = time(22,0,0) # Your wanted default time | |
def is_local_midnight(timestamp): |