Skip to content

Instantly share code, notes, and snippets.

@kamynina
kamynina / remove-docker-containers.md
Created August 12, 2018 23:12 — forked from ngpestelos/remove-docker-containers.md
How to remove unused Docker containers and images

May 8, 2018

I wrote this four years ago, so instead use this command:

$ docker rmi $(docker images -q -f dangling=true)
@kamynina
kamynina / busybox-extras-install.txt
Last active August 8, 2018 11:46 — forked from ollieparanoid/busybox-extras-install.txt
Alpine Linux: busybox-extras install/uninstall
Related to this pull-request:
https://github.com/alpinelinux/aports/pull/1092
Steps:
1. upgrade busybox to the one, which has busybox-extras
2. telnet does not exist anymore
3. add busybox-extras
4. telnet exists
5. uninstall busybox-extras and re-install busybox
6. telnet does not exist anymore
@kamynina
kamynina / idea-reset-evaluation.sh
Created February 20, 2017 11:05
reset intellij idea 14 evaluation
#!/bin/bash
echo "removeing evaluation key"
rm ~/.IntelliJIdea15/config/eval/idea15.evaluation.key
echo "resetting evalsprt in options.xml"
sed -i '/evlsprt/d' ~/.IntelliJIdea15/config/options/options.xml
echo "resetting evalsprt in prefs.xml"
sed -i '/evlsprt/d' ~/.java/.userPrefs/prefs.xml