Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Evgeniy reg2005

🏠
Working from home
View GitHub Profile
View self-signed-private-registry.sh
#!/usr/bin/env bash
# Installs/Configures:
# - Docker
# - Docker Registy Container with self-signed cert
#
# Tested on Ubuntu 14.04.1
# Must be executed with elevated privilages
if [ "$(id -u)" != "0" ]; then
View gist:864043ba74926224b05d
86937 isset
43159 echo
31697 empty
29252 substr
26146 count
24248 is_array
22572 strlen
19365 sprintf
18090 unset
16584 str_replace