FATA[0000] Error starting daemon: open /var/run/docker.pid: permission denied
or
FATA[0000] Error starting daemon: open /var/run/docker.pid: permission denied
#!/bin/bash | |
## Usage: $ wget -O - git.io/v5H1h|source /dev/stdin | |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
php composer-setup.php | |
php -r "unlink('composer-setup.php');" | |
chmod +x ./composer.phar |
#!/bin/bash | |
#This script allow to easily start chrome pages as app windows | |
function register { | |
read -p "The app alias: " alias | |
read -p "The complete domain: " domain | |
if echo "$alias $domain" >> $HOME/.gcapp | |
then |
package main | |
/* | |
This simple program show how to transfer messages by go chanels, | |
and how to sync the goroutines output | |
*/ | |
import ( | |
"fmt" |
Create a function that receives a string and represents the name of a Smoothie, plus additionals or decrements for that smootie like so: Classic,+chocolate,-strawberry
and returns and array of strings with the ingredients of a given smoothie
{
"Classic": ["strawberry", "banana", "pineapple", "mango", "peach", "honey", "ice", "yogurt"],
"Forest Berry": ["strawberry", "raspberry", "blueberry", "honey", "ice", "yogurt"],