This file contains hidden or 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
#!/usr/bin/env python | |
""" | |
Clone all public and private repositories from a GitHub user or organization. | |
Copyright (c) 2018 Yuriy Guts | |
usage: github-clone-all.py [-h] [--auth-user AUTH_USER] | |
[--auth-password AUTH_PASSWORD] [--clone-user USER] | |
[--clone-org ORG] |
This file contains hidden or 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
public class ImageSaveTask extends AsyncTask<String, Void, Void> { | |
private Context context; | |
public ImageSaveTask(Context context) { | |
this.context = context; | |
} | |
@Override | |
protected Void doInBackground(String... params) { | |
if (params == null || params.length < 2) { |