Skip to content

Instantly share code, notes, and snippets.

View velrino's full-sized avatar
:octocat:
Fortis Fortuna Adiuvat

Velrino velrino

:octocat:
Fortis Fortuna Adiuvat
View GitHub Profile
{
"type": "ListView",
"children": [
{
"type": "Container",
"color": "#ec7000",
"padding": "10,30,10,50",
"child": {
"type": "Center",
"child": {
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: ListView(
@velrino
velrino / remove-docker-containers.md
Created October 5, 2017 14:31 — forked from ngpestelos/remove-docker-containers.md
How to remove unused Docker containers and images
  1. Delete all containers

     $ docker ps -q -a | xargs docker rm
    

-q prints only the container IDs -a prints all containers

Notice that it uses xargs to issue a remove container command for each container ID

  1. Delete all untagged images