$> sudo yum update -y
$> sudo yum install docker
$> sudo systemctl start docker
para que este disponible cuando se inicia la maquina
$> sudo systemctl enable docker
"""Functions for printing a TicTacToe gameboard to the console | |
The gameboard should be represented as a 2 dimensional list of 3 rows and 3 columns | |
""" | |
element_process = lambda i: ("X" if i == 1 else ("O" if i == 2 else " ")) | |
def printboard(board): | |
print "\n game = [%s]\n" % ",\n\t ".join(["[%s]" % ", ".join(map(element_process, board[i])) for i in xrange(3)]) |
#!/bin/bash | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Author: J. Le Coupanec | |
# Date: 2014/11/04 |
while true; do sleep 1; curl http://www.google.com; echo -e '\n\n\n\n'$(date);done |
ADMIN_PASSWORD=devstack | |
MYSQL_PASSWORD=devstack | |
RABBIT_PASSWORD=devstack | |
SERVICE_PASSWORD=devstack | |
SERVICE_TOKEN=devstack | |
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5 | |
SWIFT_REPLICAS=1 | |
# Uncomment the BRANCHes below to use stable versions |
Existing schema is below: | |
ActiveRecord::Schema.define(:version => 20120130161449) do | |
create_table "movies", :force => true do |t| | |
t.string "title" | |
t.string "rating" | |
t.text "description" | |
t.datetime "release_date" | |
t.datetime "created_at" |