Skip to content

Instantly share code, notes, and snippets.

View gaetschwartz's full-sized avatar
🖥️
Developing apps

Gaëtan gaetschwartz

🖥️
Developing apps
View GitHub Profile
@simc
simc / indexable_skip_list.dart
Created August 2, 2023 09:53
Fast indexable skip list for Dart. All operations (except clear) are O(log n)
import 'dart:collection';
import 'dart:math';
class IndexableSkipList<K, V> {
static const _maxHeight = 12;
final _Node<K, V> _head = _Node(
null,
null,
List.filled(_maxHeight, null),
@ryo-ARAKI
ryo-ARAKI / starship.toml
Last active March 12, 2026 02:14
Starship configuration file
# ~/.config/starship.toml
# NOTE: Emojis with variation selectors or unstable display widths may cause prompt rendering glitches.
# Examples include ⚔️ 🏎️ 🗃️ 🗑️ ✒️
# If layout breaks, prefer colourful emojis without variation selectors.
format = """
$username$hostname$directory$git_branch$git_commit$git_state$git_metrics$git_status$julia$python$rust$conda$direnv$fill$memory_usage$cmd_duration$battery$time
$character"""