ref: http://jimhoskins.com/2013/07/27/remove-untagged-docker-images.html
-
Stopped Containers
docker rm $(docker ps -a -q)
-
Untagged Images
docker rmi $(docker images | grep "^" | awk "{print $3}")
ref: http://jimhoskins.com/2013/07/27/remove-untagged-docker-images.html
Stopped Containers
docker rm $(docker ps -a -q)
Untagged Images
docker rmi $(docker images | grep "^" | awk "{print $3}")
"Packaging" has been no longer available so manual installation is needed. pypa/setuptools#937
#!/usr/bin/env python2 | |
import binascii | |
import collections | |
import hashlib | |
import itertools | |
import re | |
import os | |
import random | |
import shlex |
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
import sys | |
# RSA Decipher for SECCON CTF 4(Yokohama) | |
# Author: Matsukuma Hiroki a.k.a. hhc0null <hhc.0.null@gmail.com> | |
# Usage: ./RSA_Decipher < [Crypted Text] |
mini: file format elf64-x86-64 | |
Disassembly of section .init: | |
00000000004003c8 <_init>: | |
4003c8: 48 83 ec 08 sub $0x8,%rsp | |
4003cc: 48 8b 05 25 0c 20 00 mov 0x200c25(%rip),%rax # 600ff8 <_DYNAMIC+0x1d8> | |
4003d3: 48 85 c0 test %rax,%rax |
class Cell: | |
def __init__(self, *args): | |
self.stock = [*args] | |
def __lshift__(self, value): | |
self.stock.append(value) | |
return self | |
if __name__ == '__main__': |
CC = gcc | |
CFLAGS =-c -std=gnu11 -fstack-protector-all -fPIC | |
LDFLAGS = -Wl,-z,now -Wl,-z,relro #-pie | |
sources = tinypad.c pwnio.c | |
objects = $(sources:.c=.o) | |
solution= tinypad | |
.PHONY: clean | |
all: $(sources) $(solution) |
#!/bin/sh | |
CAPACITY_PATH="/sys/class/power_supply/BAT1/capacity" | |
capacity=$(cat ${CAPACITY_PATH}) | |
ESC="\e" | |
BK=40 | |
LBK=100 | |
FW=30 | |
LFW=90 |
#!/usr/bin/env python2 | |
import binascii | |
import hashlib | |
import re | |
import random | |
import socket | |
import string | |
import struct | |
import subprocess |