Skip to content

Instantly share code, notes, and snippets.

@andrei-sapeshka
andrei-sapeshka / qt5-ubuntu14.04
Created April 30, 2017 14:53 — forked from greenjava/qt5-ubuntu14.04
Docker file qt5-ubuntu:14.04 wit QT5
FROM ubuntu:14.04
MAINTAINER Jan Issac <[email protected]>
# Use noninteractive debconf frontend
ENV DEBIAN_FRONTEND noninteractive
# Update
Run apt-get update
#!/bin/bash
# bash generate random alphanumeric string
#
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
# bash generate random 32 character alphanumeric string (lowercase only)
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1