Skip to content

Instantly share code, notes, and snippets.

View Plumillon's full-sized avatar

Flavien Norindr Plumillon

  • Plumillon Forge
  • France
View GitHub Profile
@spalladino
spalladino / mysql-docker.sh
Created December 22, 2015 13:47
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
@multiarts
multiarts / ClipShadowPath.dart
Last active October 16, 2024 20:06 — forked from coman3/ClipShadowPath.dart
Updated to null safety
import 'package:flutter/material.dart';
class ClipShadowPath extends StatelessWidget {
final Shadow shadow;
final CustomClipper<Path> clipper;
final Widget child;
const ClipShadowPath({
Key? key,
required this.shadow,