Directories on host machine:
-
/data/certbot/letsencrypt -
/data/certbot/www -
Nginx server in docker container
docker run -d --name nginx \
Directories on host machine:
/data/certbot/letsencrypt
/data/certbot/www
Nginx server in docker container
docker run -d --name nginx \
| अझै | |
| अधिक | |
| अन्य | |
| अन्यत्र | |
| अन्यथा | |
| अब | |
| अरु | |
| अरुलाई | |
| अर्को | |
| अर्थात |
| * OpenHatch - https://openhatch.org/search/?q=&language=Python | |
| * PyLadies - https://github.com/pyladies | |
| * New Coder - https://github.com/econchick/new-coder | |
| * Django Girls - https://github.com/DjangoGirls | |
| * Matplotlib - https://github.com/matplotlib/matplotlib | |
| * Hylang - http://docs.hylang.org/en/latest/, https://github.com/hylang/hy | |
| * Open Slides (Django) - http://openslides.org/ | |
| * Zeeguu - https://zeeguu.unibe.ch | |
| * Project Jupyter - https://github.com/jupyter | |
| * nbgrader - https://github.com/jupyter/nbgrader |
| import android.support.v7.widget.LinearLayoutManager; | |
| import android.support.v7.widget.RecyclerView; | |
| public abstract class EndlessRecyclerOnScrollListener extends RecyclerView.OnScrollListener { | |
| public static String TAG = EndlessRecyclerOnScrollListener.class.getSimpleName(); | |
| private int previousTotal = 0; // The total number of items in the dataset after the last load | |
| private boolean loading = true; // True if we are still waiting for the last set of data to load. | |
| private int visibleThreshold = 5; // The minimum amount of items to have below your current scroll position before loading more. | |
| int firstVisibleItem, visibleItemCount, totalItemCount; |
Default set up for git deploy web-server on debian box [for a laravel site but also pretty generic]
There a good guide (for ubuntu) here
apt-get update && apt-get upgrade
| import java.io.IOException; | |
| import java.io.OutputStream; | |
| import android.graphics.Bitmap; | |
| import android.graphics.Bitmap.Config; | |
| import android.graphics.Canvas; | |
| import android.graphics.Paint; | |
| public class AnimatedGifEncoder { | |
| protected int width; // image size |
| import android.content.Context; | |
| import android.graphics.Bitmap; | |
| import android.renderscript.Allocation; | |
| import android.renderscript.Element; | |
| import android.renderscript.RenderScript; | |
| import android.renderscript.ScriptIntrinsicBlur; | |
| import com.squareup.picasso.Transformation; | |
| public class BlurTransform implements Transformation { |
| import com.android.volley.toolbox.HurlStack; | |
| import com.squareup.okhttp.OkHttpClient; | |
| import java.io.IOException; | |
| import java.net.HttpURLConnection; | |
| import java.net.URL; | |
| /** | |
| * An {@link com.android.volley.toolbox.HttpStack HttpStack} implementation which | |
| * uses OkHttp as its transport. | |
| */ |
System directories
| Method | Result |
|---|---|
| Environment.getDataDirectory() | /data |
| Environment.getDownloadCacheDirectory() | /cache |
| Environment.getRootDirectory() | /system |
External storage directories
Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)That's it!