create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| package photo.mission; | |
| import java.io.File; | |
| import java.io.FileNotFoundException; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.io.OutputStream; | |
| import android.content.Context; |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
Picking the right architecture = Picking the right battles + Managing trade-offs
| ## Pre-requisite: You have to know your last commit message from your deleted branch. | |
| git reflog | |
| # Search for message in the list | |
| # a901eda HEAD@{18}: commit: <last commit message> | |
| # Now you have two options, either checkout revision or HEAD | |
| git checkout a901eda | |
| # Or | |
| git checkout HEAD@{18} |
| codecov: | |
| branch: master | |
| bot: null | |
| coverage: | |
| precision: 2 | |
| round: down | |
| range: "70...100" | |
| status: |
| public class MySwipeToRefresh extends SwipeRefreshLayout { | |
| private int mTouchSlop; | |
| private float mPrevX; | |
| public MySwipeToRefresh (Context context, AttributeSet attrs) { | |
| super(context, attrs); | |
| mTouchSlop = ViewConfiguration.get(context).getScaledTouchSlop(); | |
| } |
| override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { | |
| mView = inflater.inflate(R.layout.fragment_base_section, container, false) | |
| KeyboardUtil(requireActivity(), mView.coordinatorLayout) | |
| return mView | |
| } |
| import android.text.SpannableStringBuilder | |
| import android.text.Spanned | |
| import android.text.TextPaint | |
| import android.text.method.LinkMovementMethod | |
| import android.text.style.ClickableSpan | |
| import android.view.View | |
| import androidx.appcompat.widget.AppCompatTextView | |
| fun AppCompatTextView.highLightWord(word: String, onClick: () -> Unit) { | |
| val ssBuilder = SpannableStringBuilder(this.text) |
| // generate app-release.apks | |
| java -jar bundletool-all-1.4.0.jar build-apks --local-testing --bundle=app-release.aab --output=app-release.apks --connected-device | |
| // Install apk from genrated app-release apks | |
| java -jar bundletool-all-1.4.0.jar install-apks --apks app-release.apks |