Skip to content

Instantly share code, notes, and snippets.

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> {
@ftabashir
ftabashir / Git_SSL_Certificate_Error.txt
Last active August 30, 2017 06:49
this is a how to solve for this git problem: fatal: unable to access 'https://domain.com/path/to/git': SSL certificate problem: unable to get local issuer certificate. REFERENCE: to see original post visit here: https://stackoverflow.com/questions/11621768/how-can-i-make-git-accept-a-self-signed-certificate/26785963#26785963
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