Skip to content

Instantly share code, notes, and snippets.

View dnlbauer's full-sized avatar
👾

Daniel Bauer dnlbauer

👾
View GitHub Profile
@dnlbauer
dnlbauer / timelog
Created October 30, 2024 09:33
simple script to edit gtimelog log file from cli
#!env python3
import os
from datetime import datetime
import subprocess
# Define the path to the timelog file
TIMELINE_PATH = os.path.expanduser("~/.local/share/gtimelog/timelog.txt")
def ensure_timelog_file():
@dnlbauer
dnlbauer / PKGBUILD
Last active March 4, 2017 22:28
PKGBUILD for Battlescribe. Creates executeables for BattlescribeRosterEditor, BattlescribeDataEditor and BattlescribeDataIndexer
# Installs Battlescribe into /opt/Battlescribe and creates executeables in /usr/share
# TODO .desktop files would be nice
# Maintainer: Daniel Bauer <danijoo _at_ headlezz.net>
pkgname=Battlescribe
pkgver=2.00.14
pkgrel=1
pkgdesc="BattleScribe is a fast and powerful Army List Creator for tabletop wargamers."
arch=('any')
url="https://battlescribe.net"
/*
* Copyright (C) 2014 [email protected]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software