I hereby claim:
- I am nicolasramy on github.
- I am darkelda (https://keybase.io/darkelda) on keybase.
- I have a public key whose fingerprint is 5C9A 3938 ACF5 D542 952F 20D9 812F 03FE DF16 418C
To claim this, I am signing this object:
#!/bin/sh | |
_pip_completion() { | |
cur="${COMP_WORDS[COMP_CWORD]}" | |
prev="${COMP_WORDS[COMP_CWORD-1]}" | |
first="${COMP_WORDS[0]}" | |
commands=$($first --help | awk '/Commands\:/,/General Options\:/' | \ | |
\grep -E -o "^\s{2}\w*" | tr -d ' ') | |
opts=$($first --help | \grep -E -o "((-\w{1}|--(\w|-)*=?)){1,2}") |
FROM ubuntu | |
MAINTAINER Nicolas Ramy "nicolas.ramy@darkelda.com" | |
RUN echo "deb http://archive.ubuntu.com/ubuntu/ precise universe" >> /etc/apt/sources.list | |
RUN apt-get update | |
RUN apt-get -y upgrade | |
# Keep upstart for complaining | |
RUN dpkg-divert --local --rename --add /sbin/initctl | |
RUN ln -sf /bin/true /sbin/initctl |
#/bin/bash | |
PROJECT_NAME=my_website | |
WORKSPACE=/var/www | |
USERNAME=www-data | |
PORT=22 | |
DATEMARK=`date +%Y%m%d%H%M%S` | |
HOSTNAME=www.example.com |
I hereby claim:
To claim this, I am signing this object:
# First step | |
apt-get update | |
apt-get upgrade | |
# Error | |
# W: mdadm: /etc/mdadm/mdadm.conf defines no arrays. | |
# W: mdadm: no arrays defined in configuration file. | |
>> Need a solution to solve this problem | |
#!/bin/bash | |
echo -n $1 | md5sum |