Skip to content

Instantly share code, notes, and snippets.

Avatar

Antonio Abad lapastillaroja

View GitHub Profile
@lapastillaroja
lapastillaroja / flickr.html
Last active Jun 23, 2016
Setting up Hugo with autodeploys, custom domain, etc
View flickr.html
<figure class="wp-caption alignnone">
<a data-context="false"
href="{{ index .Params 2 }}"
title="{{ index .Params 0 }}">
<img src="{{ index .Params 3 }}" alt="{{ index .Params 0 }}" />
</a>
<figcaption class="wp-caption-text">{{ index .Params 1 }}</figcaption>
@lapastillaroja
lapastillaroja / README.md
Last active Mar 14, 2017
Don't break the chain: use RxJava's compose() operator -> Android + Retrolambda + Observable.Transformer cannot find symbol method
View README.md
@lapastillaroja
lapastillaroja / DividerItemDecoration.java
Last active Mar 16, 2021 — forked from akmalxxx/DividerItemDecoration.java
DividerItemDecoration. RecyclerView.ItemDecoration simple implementation
View DividerItemDecoration.java
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;
import android.view.View;