How to implement a custom search for Hugo usig Gruntjs and Lunrjs.
Install the following tools:
| // UPDATE! | |
| // In Json.NET 7, a DictionaryKeyResolver was added. | |
| // This might be able to fix the problem more elegantly. | |
| // I haven't checked though. | |
| public class DictionaryJsonConverter : JsonConverter | |
| { | |
| public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) | |
| { | |
| var dictionary = (IDictionary)value; |
| import android.content.Context; | |
| import android.content.res.TypedArray; | |
| import android.util.AttributeSet; | |
| import android.support.v7.widget.RecyclerView; | |
| import android.support.v7.widget.LinearLayoutManager; | |
| import android.view.View; | |
| import android.graphics.Rect; | |
| import android.graphics.drawable.Drawable; | |
| import android.graphics.Canvas; |
| /** | |
| * Author: Mario Velasco Casquero | |
| * Date: 08/09/2015 | |
| * Email: m3ario@gmail.com | |
| */ | |
| public class ImagePicker { | |
| private static final int DEFAULT_MIN_WIDTH_QUALITY = 400; // min pixels | |
| private static final String TAG = "ImagePicker"; |