Skip to content

Instantly share code, notes, and snippets.

View joeauty's full-sized avatar

Joe Auty joeauty

  • FlipGive, MedStack, Thinkdata Works, nanoPay, Sigstr, DataSprocket, NetMusician
View GitHub Profile
@MrTrustor
MrTrustor / clean-docker-for-mac.sh
Last active November 21, 2023 11:38
This script cleans the Docker.qcow2 file that takes a lot of disk space with Docker For Mac. You can specify some Docker images that you would like to keep.
#!/bin/bash
# Copyright 2017 Théo Chamley
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in the Software
# without restriction, including without limitation the rights to use, copy, modify, merge,
# publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
# to whom the Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or
Y.MyWidget = Y.Base.create('myWidget', Y.Widget, [], {
// *** Prototype *** //
bindUI : function () {
this.after('myAttrChange', this._afterMyAttrChange);
},
syncUI : function () {