This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/starship.toml | |
[battery] | |
full_symbol = "🔋" | |
charging_symbol = "🔌" | |
discharging_symbol = "⚡" | |
[[battery.display]] | |
threshold = 30 | |
style = "bold red" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///////////////////////////////////////////////////////// | |
As others have mentioned: | |
This workaround only works for versions 2.* | |
In other words: It's outdated and doesn't work anymore | |
Scroll down for community posts! | |
///////////////////////////////////////////////////////// | |
Original gist: | |
Obviously for educative purposes only. |