Skip to content

Instantly share code, notes, and snippets.

@roberton
roberton / astley
Created October 18, 2014 16:48
The lyrics to *that* Rick Astley song.
We're no strangers to love
You know the rules and so do I
A full commitment's what I'm thinking of
You wouldn't get this from any other guy
I just wanna tell you how I'm feeling
Gotta make you understand
Never gonna give you up
Never gonna let you down
Never gonna run around and desert you
@roberton
roberton / gist:2ea2e550443d6983777a
Created September 9, 2014 12:55
Example of Connascence of Position
@Override
public ProviderResponseStatistics getStatisticsFor(String provider) {
database = openHelper.getReadableDatabase();
int minimumResponseTime = Integer.MAX_VALUE;
int maxinumResponseTime = Integer.MIN_VALUE;
Cursor cursor = database.query("call", null, null, null, null, null, null);
cursor.moveToFirst();
while (!cursor.isAfterLast()) {