I hereby claim:
- I am rozag on github.
- I am rozag (https://keybase.io/rozag) on keybase.
- I have a public key ASARItueGmMr-u_4jpmjgnAWrp82xuI_vKQztwqAK3KADAo
To claim this, I am signing this object:
{ | |
"feeds": [ | |
"https://medium.com/feed/android-news", | |
"http://akarnokd.blogspot.com/feeds/posts/default", | |
"http://feeds.feedburner.com/GoogleOpenSourceBlog", | |
"http://feeds.feedburner.com/BenNorthrop", | |
"http://os.phil-opp.com/atom.xml", | |
"http://dev.cheremin.info/feeds/posts/default", | |
"http://feeds.feedburner.com/blogspot/hsDu", | |
"http://ruhaskell.org/feed.xml", |
/** | |
* A lifecycle-aware observable that sends only new updates after subscription, used for events like | |
* navigation and Snackbar messages. | |
* <p> | |
* This avoids a common problem with events: on configuration change (like rotation) an update | |
* can be emitted if the observer is active. This LiveData only calls the observable if there's an | |
* explicit call to setValue() or call(). | |
* <p> | |
* Note that only one observer is going to be notified of changes. | |
*/ |
{ | |
"feeds": [ | |
"http://umneem.org/index.xml", | |
"https://nplus1.ru/rss", | |
"https://nplusonemag.com/feed/", | |
"http://disgustingmen.com/feed/", | |
"http://gorky.media/feed/", | |
"https://thenextweb.com/feed/" | |
] | |
} |
<!DOCTYPE html> | |
<html> | |
<head lang="en"> | |
<meta charset="UTF-8"> | |
<title>SimpleFractal</title> | |
</head> | |
<body> | |
<canvas width="900" height="600"></canvas> | |
</body> |
#!/usr/bin/env bash | |
set -x | |
rm -rv .idea/caches | |
rm -rv .idea/libraries | |
rm -v .idea/gradle.xml | |
rm -v .idea/modules.xml |
____________ | |
| itty | | |
| android | | |
| peerlab | | |
| ./sh | | |
‾‾‾‾‾‾‾‾‾‾‾‾ |
private static final int SECOND_MILLIS = 1000; | |
private static final int MINUTE_MILLIS = 60 * SECOND_MILLIS; | |
private static final int HOUR_MILLIS = 60 * MINUTE_MILLIS; | |
private static final int DAY_MILLIS = 24 * HOUR_MILLIS; | |
public static String getTimeAgo(long time, Context context) { | |
if (time < 1000000000000L) { | |
// if timestamp given in seconds, convert to millis | |
time *= 1000; | |
} |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.List; | |
public final class BenchmarkUtil { | |
private static final List<Long> TIMES = new ArrayList<>(10); | |
private static long startNanos; |
public final class Pair { | |
public int firstValue; | |
public int secondValue; | |
// Reference to next object in the pool | |
private Pair next; | |
// The lock used for synchronization | |
private static final Object sPoolSync = new Object(); |
I hereby claim:
To claim this, I am signing this object: