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]"
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
This assumes you are now connected to the server via SSH.
sudo -s
Enter root mode for admin accessgroupadd devgroup
Create new group to be later granted access to /var/www/htmluseradd -G root,devgroup masterdev
Create new root user. Also add to the devgrouppasswd masterdev
Change password for the new root user# | |
# Build configuration for Circle CI | |
# | |
general: | |
artifacts: | |
- /home/ubuntu/your-app-name/app/build/outputs/apk/ | |
machine: | |
environment: |
# chruby | |
# ruby-install | |
# ruby 2.2.0 | |
# /etc/profile.d/chruby.sh | |
Exec { | |
path => ["/bin","/usr/bin", "/usr/local/bin"] | |
} | |
file { "/etc/profile.d/chruby.sh": | |
ensure => present, |
public class SpaceItemDecoration extends RecyclerView.ItemDecoration { | |
private static final boolean DEFAULT_ADD_SPACE_ABOVE_FIRST_ITEM = false; | |
private static final boolean DEFAULT_ADD_SPACE_BELOW_LAST_ITEM = false; | |
private final int space; | |
private final boolean addSpaceAboveFirstItem; | |
private final boolean addSpaceBelowLastItem; | |
public SpaceItemDecoration(int space) { | |
this(space, DEFAULT_ADD_SPACE_ABOVE_FIRST_ITEM, DEFAULT_ADD_SPACE_BELOW_LAST_ITEM); |
package com.ghm.ui.adapter; | |
import android.content.Context; | |
import android.os.Bundle; | |
import android.os.Parcelable; | |
import android.support.v4.view.PagerAdapter; | |
import android.util.SparseArray; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; |