create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
| import android.content.SharedPreferences | |
| /** | |
| * Simple extension to remove the need to call `SharedPreferences.edit()` and `SharedPreference.Editor.apply()` for | |
| * every preferences change. | |
| */ | |
| fun SharedPreferences.update(updateBlock: SharedPreferences.Editor.() -> Unit) { | |
| val editor = edit() | |
| updateBlock(editor) |
| #!/bin/bash | |
| if [ -z "$1" ]; then | |
| echo "waiting for the following arguments: username + max-page-number" | |
| exit 1 | |
| else | |
| name=$1 | |
| fi | |
| if [ -z "$2" ]; then |
| // | |
| // LiveFrameCaptureViewController.swift | |
| // SCNKit2Video | |
| // | |
| // Created by Lacy Rhoades on 11/29/16 | |
| // Revised 7/19/17 | |
| // Copyright © 2017 Lacy Rhoades. All rights reserved. | |
| // | |
| import Foundation |
| echo | |
| echo "This installation sets up a P2 instance on AWS (Ubuntu 14.04 only), installs all necessary packages" | |
| echo "which are required for CUDA, TensorFlow, Keras, Caffe and Torch." | |
| echo | |
| # Install dependencies | |
| sudo apt-get update | |
| sudo apt-get --assume-yes upgrade | |
| sudo apt-get install -y build-essential git python-pip libfreetype6-dev libxft-dev libncurses-dev libopenblas-dev gfortran python-matplotlib libblas-dev liblapack-dev libatlas-base-dev python-dev python-pydot linux-headers-generic linux-image-extra-virtual unzip python-numpy swig python-pandas python-sklearn zip | |
| sudo pip install -U pip |