Here is the looks and feel of your terminal once the tutorial has been applied on your system:
Using Homebrew:
Installation | |
#wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.61-1_amd64.deb | |
#sudo dpkg -i cuda-repo-ubuntu1604_8.0.61-1_amd64.deb | |
#sudo apt-get update | |
#sudo apt-get install cuda-8.0 -y | |
Reboot the server and add below lines in .bashrc file. | |
export CUDA_ROOT=/usr/local/cuda |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Action": [ | |
"ec2:StartInstances", | |
"ec2:StopInstances", | |
"ec2:RebootInstances" | |
], | |
"Condition": { |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": "s3:ListAllMyBuckets", | |
"Resource": "arn:aws:s3:::*" | |
}, | |
{ | |
"Effect": "Allow", |
#!/bin/bash | |
apt-get update | |
apt-get -y install curl | |
# download the Chef server package | |
if [ ! -f /tmp/chef-server-core_12.17.33_amd64.deb ]; then | |
echo "Downloading the Chef server package..." | |
wget -nv -P /tmp https://packages.chef.io/files/stable/chef-server/12.17.33/ubuntu/16.04/chef-server-core_12.17.33-1_amd64.deb | |
fi |
Here is the looks and feel of your terminal once the tutorial has been applied on your system:
Using Homebrew:
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
#!/usr/bin/env bash | |
set -ex | |
# To avoid locale.Error | |
export LC_ALL="en_US.UTF-8" | |
export LC_CTYPE="en_US.UTF-8" | |
sudo apt-get update | |
sudo apt-get install -yq python-pip |
# it was due to .Xauthority file has bad permissions or missing. In my case, .Xauthority file was missing. | |
Ctl + ALT + F3 to switch to command line | |
touch ~/.Xauthority | |
xauth add ${HOST}:0 . $(xxd -l 16 -p /dev/urandom) | |
xauth list | |
sudo init 6 | |
fixed this issue. :) |
# Copyright (C) 2016 Martina Pugliese | |
from boto3 import resource | |
from boto3.dynamodb.conditions import Key | |
# The boto3 dynamoDB resource | |
dynamodb_resource = resource('dynamodb') | |
def get_table_metadata(table_name): |