Skip to content

Instantly share code, notes, and snippets.

View esodot's full-sized avatar

esodot esodot

  • Munich
  • 00:58 (UTC +02:00)
View GitHub Profile
@esodot
esodot / car_auto_dispose_family_async_notifier.dart
Created January 30, 2024 16:18
How to use AutoDisposeFamilyAsyncNotifier
import 'dart:async';
import 'dart:developer';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
/// Car model class holding relevant car attributes
class Car {
final String modelName;
final int modelYear;
@esodot
esodot / xclip.md
Created April 3, 2018 08:59
Using xclip in Linux console

Install

apt-get install xclip

Alias

alias setclip="xclip -selection c" alias getclip="xclip -selection c -o"

Usage

$ echo foo | setclip $ getclip