Skip to content

Instantly share code, notes, and snippets.

View lefou's full-sized avatar

Tobias Roeser lefou

  • Freelancer, working remotely
  • Germany, Lusatia
  • 11:05 (UTC +02:00)
  • Mastodon @[email protected]
View GitHub Profile
@lefou
lefou / 2020-09-12_07-02_Sat-Orbit-360-Sachsen.gpx
Last active September 15, 2020 07:34
2020-09-12 Bikepacking Tour Orbit 360 - Sachsen - https://orbit360.cc/sachsen/
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<gpx version="1.1" creator="OsmAnd~ 3.7.4" xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
<metadata>
<name>2020-09-12_07-02_Sat</name>
</metadata>
<trk>
<trkseg>
<trkpt lat="51.0655571" lon="13.7425885">
<ele>101.007</ele>
<time>2020-09-12T05:02:10Z</time>
@lefou
lefou / gk
Created November 6, 2020 09:30
gitk wrapper that also includes all stashes
#!/usr/bin/env sh
if [ "x$@" = "x" ] ; then
gitk --all `git stash list '--pretty=format:%gd'` &
else
gitk "$@" &
fi
@lefou
lefou / build_eclipse.sc
Last active December 22, 2021 16:57
Eclipse Bundles 4.16
import scala.collection.immutable.Seq
import mill.scalalib._
/**
* Defines an Archive file (ZIP, ...) than can be downloaded from a given URL.
* The bundle must be location inside the archive with the schematic name `${artifactId}_${version}.jar`.
* Source bundles must have the schematic name `${artifactId}.source_${version}.jar`.
*
* @param url
package someorg.aspects;
import de.tototec.utils.functional.Try;
import jakarta.persistence.EntityManager;
import jakarta.persistence.PersistenceContext;
import org.aspectj.lang.Aspects;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
@lefou
lefou / GitHub Flavored Asciidoc (GFA).adoc
Created December 17, 2024 08:45 — forked from dcode/GitHub Flavored Asciidoc (GFA).adoc
Demo of some useful tips for using Asciidoc on GitHub

GitHub Flavored Asciidoc (GFA)