Skip to content

Instantly share code, notes, and snippets.

Working on smart home project

LongkerDandy longkerdandy

Working on smart home project
Block or report user

Report or block longkerdandy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
longkerdandy /
Created Aug 24, 2017
Java code for generating Firebase Push IDs
import java.util.Random;
* Fancy ID generator that creates 20-character string identifiers with the following properties:
* 1. They're based on timestamp so that they sort *after* any existing ids.
* 2. They contain 72-bits of random data after the timestamp so that IDs won't collide with other
You can’t perform that action at this time.