Skip to content

Instantly share code, notes, and snippets.

View inblank's full-sized avatar
🎯
Focusing

Pavel Aleksandrov inblank

🎯
Focusing
View GitHub Profile
@inblank
inblank / docker-rm-volumes
Last active August 2, 2016 18:04
docker remove volumes
#!/bin/bash
docker volume ls -qf dangling=true | xargs -r docker volume rm
@inblank
inblank / docker-compose.yml
Last active August 2, 2016 18:35
Minimal docker-compose config file
version: "2"
services:
nginx:
image: inblank/nginx-proxy
links:
- php:apache
ports:
- "80:80"
volumes:
- ./site:/usr/share/nginx
@inblank
inblank / docker-pull-all
Last active July 29, 2016 08:16
Pull latest version of all docker images
#!/bin/bash
docker images | awk '{print $1}' | xargs -L1 docker pull
@inblank
inblank / jqi_bookmarklet.js
Created May 20, 2016 10:58
Bookmarklet: jQuery injection to the current opened page
javascript:(function(){var script = document.createElement('script');script.type = 'text/javascript';script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.js';document.head.appendChild(script);})();