Skip to content

Instantly share code, notes, and snippets.

View marvin-kolja's full-sized avatar
🛠️
Creating Stuff

Marvin Willms marvin-kolja

🛠️
Creating Stuff
  • Berlin, Germany
View GitHub Profile
@marvin-kolja
marvin-kolja / periodic.dart
Last active October 4, 2023 08:43
Custom Dart Periodic - with duration multiplier, run limit, and immediate callback execution
import 'dart:async';
typedef PeriodicCallback = Future<Duration?> Function(
Periodic periodic,
);
/// The [Periodic] class is a wrapper around the [Timer] class that allows you
/// to run a timer periodically with a variable duration. It allows for a bit
/// more control over a periodic run.
///
@JamesMGreene
JamesMGreene / gitflow-breakdown.md
Last active July 19, 2024 01:24
`git flow` vs. `git`: A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository