killall ssh-agent; eval `ssh-agent`
You should see something along the lines of: Agent pid 59566
ssh-add ~/.ssh/id_rsa
public abstract class BasePresenter<V> { | |
protected V mView; | |
public final void attachView(@NonNull V view) { | |
mView = view; | |
} | |
public final void detachView() { | |
mView = null; |
With this helper class you can transform your ordinary ImageView into ciruclar shape using Picasso library.
###Include this class into your project:
package com.<YOUR-PACKAGE-NAME>
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
ssh-add ~/.ssh/id_rsa |
# Local files | |
/local.properties | |
/build | |
/captures | |
# Built application files | |
*.apk | |
*.ap_ | |
# Files for the Dalvik VM |
language: android | |
jdk: | |
# Jdk version used by your project | |
- oraclejdk8 | |
sudo: false | |
android: | |
components: |
We need to generate a unique SSH key for our second GitHub account.
ssh-keygen -t rsa -C "your-email-address"
Be careful that you don't over-write your existing key for your personal account. Instead, when prompted, save the file as id_rsa_COMPANY
. In my case, I've saved the file to ~/.ssh/id_rsa_work
.
killall ssh-agent; eval `ssh-agent` |