List:
docker images -a
Remove:
docker rmi Image Image
| #!/bin/sh | |
| exec tail -n +3 $0 | |
| # This file provides an easy way to add custom menu entries. Simply type the | |
| # menu entries you want to add after this comment. Be careful not to change | |
| # the 'exec tail' line above. | |
| menuentry "Windows 8 UEFI" { | |
| search --file --no-floppy --set=root /efi/Microsoft/Boot/bootmgfw.efi | |
| chainloader (${root})/efi/Microsoft/Boot/bkpbootmgfw.efi | |
| } |
| script-security 2 | |
| up /etc/openvpn/update-resolv-conf | |
| down /etc/openvpn/update-resolv-conf |
| LATEST=$(wget -q -O - http://chromedriver.storage.googleapis.com/LATEST_RELEASE) | |
| wget http://chromedriver.storage.googleapis.com/$LATEST/chromedriver_linux64.zip | |
| unzip chromedriver_linux64.zip -d /usr/local/bin && rm chromedriver_linux64.zip |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
For more about AWS and AWS Certifications you can follow me @leonardofed
| package com.belano; | |
| import static java.lang.String.format; | |
| import static org.joda.time.format.ISODateTimeFormat.date; | |
| import static org.joda.time.format.ISODateTimeFormat.dateTime; | |
| import static org.joda.time.format.ISODateTimeFormat.dateTimeNoMillis; | |
| import java.lang.annotation.Annotation; | |
| import java.lang.reflect.Type; |
| #!/bin/bash | |
| function getStatus(){ | |
| CONTAINER_ID=$(docker ps -a | grep -v Exit | grep $1 | awk '{print $1}') | |
| if [[ -z $CONTAINER_ID ]] ; then | |
| echo 'Not running.' | |
| return 1 | |
| else | |
| echo "Running in container: $CONTAINER_ID" | |
| return 0 |
| import java.io.IOException; | |
| import java.net.ServerSocket; | |
| public final class Network { | |
| private Network() { | |
| // Do nothing. | |
| } | |
| public static int findFreePort() { |
| #!/usr/bin/env python | |
| ''' | |
| Lots taken from http://codereview.stackexchange.com/q/56979 | |
| ''' | |
| from argparse import ArgumentParser, FileType | |
| import requests | |
| import json | |
| import os, sys |
| export ANDROID_HOME=$HOME/apps/adt-bundle-linux-x86_64-20130219/sdk | |
| export ANDROID_NDK_HOME=$HOME/apps/adt-bundle-linux-x86_64-20130219/ndk | |
| export PATH=$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH |