Skip to content
home@dennisPersonal Website of Dennis Plöger
  • Home
  • Blog
  • Artist
  • Impressum
  • Datenschutzerklärung

Flying high on iCal files

7. Januar 2017 2 comments Article Allgemein

I’m responsible for taking out the trash. Yes, this is a cliché, I admit it. But it is like it is.

The problem with that isn’t the trash itself, but rather that I’m really bad with remembering dates. But luckily, my home town’s disposal company offers an iCal download of the pickup dates on their website. Neat.

However, the resulting file wasn’t quite meeting my needs. Especially:

  • All pickup dates were all day events
  • The dates didn’t have an alarm set
  • We are using a seasonal contract for one specific trashcan, so that it is only picked up between march and november

So, I manually changed the events in the file to match my needs. Moved the all day events to timed events, added alarms to all events and removed unneeded events.

But, you know me. Manually doing things over and over again isn’t just my style.

However, a tool, that could easily modify a bunch of events in an ICS file, is either non-existent or very hard to find. I didn’t find one, anyway. So I wrote my own.

Announcing icarus, an iCal batch processor. I’m not so into Java, but I only found iCal4j to be a very good ICS implementation. So, grab a JRE and have fun with it.

I’ve already put all features in it, I currently needed, but it’s very open to new processors (more on that in the README) and I’m happy to accept pull requests. So, go ahead!

2 comments

  • Dirk 30. Januar 2024 at 10:51 Antworten

    Hey, thanks for icarus! Funnily enough, I was looking for an iCal processor only to find out that you made icarus for exactly the same purpose I need it for. Soulmates or just Germans? There’s no way to add two alarms in one go, right? As a workaround, I run Icarus twice with the same iCal file to also generate an alarm for the morning (in case I forget the alarm on the eve of garbage day, or am just too lazy) – does the job!

    Grüße!

    • Dennis 30. Januar 2024 at 11:04 Antworten

      Yeah, I think it’s a pretty German thing to do. 😂

      No, Icarus was specifically designed with the Unix philosphy in mind. So you basically pipe the calendar to the first addAlarm and then to the second addAlarm.

      Nice that you find it useful. 🥰

      Grüße zurück!

Schreibe einen Kommentar Antwort abbrechen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre, wie deine Kommentardaten verarbeitet werden.

Neueste Beiträge

  • Making Puppet host reports in Foreman available in Grafana
  • Introducing Handler Inspector
  • Github Action for the Godot Asset library
  • Announcing EgoVenture
  • The third installment of my learning project

Schlagwörter

administration apache blog configuration configuration management development dhcp disclaimer django documentation dokuwiki extension footer hammerspoon java javascript jslint keyboard lbows linux log migration milter news php plugin printer python rest rhino server shortcut skd soap social ssh survey twitter ubuntu vmware website window management zimbra zimlet zimlets

Meta

  • Anmelden
  • Eintrags-Feed
  • Kommentar-Feed
  • WordPress.org

Neueste Beiträge

  • Making Puppet host reports in Foreman available in Grafana
  • Introducing Handler Inspector
  • Github Action for the Godot Asset library
  • Announcing EgoVenture
  • The third installment of my learning project

Schlagwörter

administration apache blog configuration configuration management development dhcp disclaimer django documentation dokuwiki extension footer hammerspoon java javascript jslint keyboard lbows linux log migration milter news php plugin printer python rest rhino server shortcut skd soap social ssh survey twitter ubuntu vmware website window management zimbra zimlet zimlets

Meta

  • Anmelden
  • Eintrags-Feed
  • Kommentar-Feed
  • WordPress.org

Copyright (c) Dennis Plöger | Theme by ThemeinProgress | Proudly powered by WordPress

Zum Ändern Ihrer Datenschutzeinstellung, z.B. Erteilung oder Widerruf von Einwilligungen, klicken Sie hier: Einstellungen