Skip to content

Instantly share code, notes, and snippets.

View filipebezerra's full-sized avatar
💭
Ich bin Filipe. Ich komme aus Brasilien. Ich wohne in Goiânia.

Filipe Bezerra filipebezerra

💭
Ich bin Filipe. Ich komme aus Brasilien. Ich wohne in Goiânia.
View GitHub Profile
@filipebezerra
filipebezerra / ParcelableUtils.java
Created November 9, 2015 17:04 — forked from keyboardr/ParcelableUtils.java
Utility class for dealing with Parcelables. Handles null checks for objects, and parcels some common non-Parcelable classes
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import android.os.Parcel;
import android.os.Parcelable;
@filipebezerra
filipebezerra / NotificationController.cs
Last active June 20, 2017 16:27
Csharp classes demonstrating how to send push notifications to a specific registration using tag expressions in Azure Mobile Apps
using System.Linq;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.OData;
using System.Web.Http.Tracing;
using Microsoft.Azure.Mobile.Server;
using App.Models;
using App.Notification;
Unless specified otherwise, all of the below tinting applies to both Lollipop and pre-Lollipop using AppCompat v21.
To use the support version of these attributes, remove the android namespace.
For instance, "android:colorControlNormal" becomes "colorControlNormal".
These attributes will be propagated to their corresponding attributes within the android namespace
for devices running Lollipop. Any exceptions to this will be noted by including the "android:" prefix.
All Clickable Views:
-----------
import android.os.Build;
import android.support.v4.view.ViewCompat;
import android.view.View;
import android.view.ViewTreeObserver;
/**
* @author Filipe Bezerra
*/
public class ViewUtils {
@filipebezerra
filipebezerra / README.md
Created June 3, 2019 03:07 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha:

@filipebezerra
filipebezerra / add_python_to_WINDOWS_WSL_ubuntu.md
Last active August 28, 2020 20:35 — forked from monkut/add_python_to_WINDOWS_WSL_ubuntu.md
Add python to Windows Subsystem for Linux (WSL) [ubuntu]