This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.iranfmcg.dokan.customer.helper; | |
import android.os.AsyncTask; | |
import android.support.annotation.MainThread; | |
import android.support.annotation.WorkerThread; | |
/* Copyright (C) Farzad Tabashir <ftabashir@gmail.com> 15 February 2017, 8:38 AM | |
* All Rights Reserved | |
*/ | |
public abstract class SafeAsyncTask<Params, Progress, Result> { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SSL Certificate error: | |
- To permanently accept a specific certificate | |
1. Initial clone | |
- GIT_SSL_CAINFO=/path/to/cert.pem git clone https://repo.or.cz/org-mode.git | |
2. Ensure all future interactions with origin remote also work | |
- cd my-repo-directory | |
- git config http.sslCAInfo /etc/ssl/certs/rorcz_root_cert.pem | |
- To disable TLS/SSL verification for a single git command | |
git -c http.sslVerify=false clone https://domain.com/path/to/git | |
- To disable SSL verification for that singular repository |
NewerOlder