Skip to content

Instantly share code, notes, and snippets.

View mehdiraized's full-sized avatar
⛱️
Enjoy Life

Mehdi Rezaei mehdiraized

⛱️
Enjoy Life
View GitHub Profile
@bastman
bastman / docker-cleanup-resources.md
Created March 31, 2016 05:55
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

@electerious
electerious / ackee_scriptable_views_today.js
Last active March 17, 2021 18:32
Ackee iOS widget for Scriptable.app
// On first run only, uncomment line bellow and replace '888...' with the token returned after login
// Keychain.set("ACKEE_KEY", "88888888-8888-8888-8888-888888888888")
// Ackee configuration
const ACKEE_KEY = Keychain.get('ACKEE_KEY')
const ACKEE_API = 'https://ackee.example.com/api'
const TIME_ZONE = 'Europe/Berlin'
const createWidget = async () => {
const viewsToday = await getViewsToday()