Instance | Branch |
---|
-
vagrant up
-
vagrant ssh
-
sudo -i
-
pip install ansible
-
pip install lxc-python2
-
lxc-create -n db1 -t ubuntu
-
lxc-start -n db1 -d
-
lxc-create -n web1 -t ubuntu
def print_grid(grid): | |
for i in range(9): | |
for j in range(9): | |
print(grid[i][j], end="") | |
print('\n') | |
def find_empty_location(grid): | |
for row in range(9): | |
for column in range(9): | |
if grid[row][column] == 0: |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>CSS Only Navigation Menu</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> | |
<label for="show-menu" class="show-menu">Show Menu</label> |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Push left menu</title> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> | |
<div class="wrapper"> |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<title>Bootstrap 101 Template</title> | |
<!-- Bootstrap --> |
<div class="panel-group" id="accordion"> | |
<div class="panel panel-default"> | |
<div class="panel-heading"> | |
<h4 class="panel-title"> | |
<a data-toggle="collapse" data-parent="#accordion" href="#collapseOne"> | |
Element 1 | |
</a> | |
</h4> | |
</div> | |
<div id="collapseOne" class="panel-collapse collapse in"> |
# Our .tmux.conf file | |
# Setting the prefix from C-b to C-a | |
set -g prefix C-a | |
# Free the original Ctrl-b prefix keybinding | |
unbind C-b | |
#setting the delay between prefix and command | |
set -s escape-time 1 | |
# Ensure that we can send Ctrl-A to other apps | |
bind C-a send-prefix |
There are certain files created by particular editors, IDEs, operating systems, etc., that do not belong in a repository. But adding system-specific files to the repo's .gitignore
is considered a poor practice. This file should only exclude files and directories that are a part of the package that should not be versioned (such as the node_modules
directory) as well as files that are generated (and regenerated) as artifacts of a build process.
All other files should be in your own global gitignore file. Create a file called .gitignore
in your home directory and add anything you want to ignore. You then need to tell git where your global gitignore file is.
git config --global core.excludesfile ~/.gitignore
git config --global core.excludesfile %USERPROFILE%\.gitignore