Skip to content

Instantly share code, notes, and snippets.

View akoul889's full-sized avatar

Akshay Koul akoul889

  • Jiva.ag
  • Bengaluru
View GitHub Profile
@akoul889
akoul889 / AuthorHolder.java
Created June 23, 2017 10:01
Glide load gist
glideRequestManager.load(author.avatarUrl()).bitmapTransform(new
RoundedCornersTransformation(authorImage.getContext(),
Utilities.dpToPx(authorImage.getResources(), 5), 0))
.error(R.drawable.person_placeholder)
.placeholder(R.drawable.person_placeholder)
.dontAnimate()
.dontTransform().into(authorImage);
@akoul889
akoul889 / palo.xml
Last active February 25, 2020 10:55
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" version="2.0">
<channel>
<title>Prothom Alo Stories</title>
<link>https://www.prothomalo.com</link>
<description>Prothom Alo Stories.</description>
<atom:link href="http://rss.palobd.com/rss/rss" rel="self" type="application/rss+xml"/>
<language>en-US</language>
<lastBuildDate>Tue, 25 Feb 2020 16:50:50 +0600</lastBuildDate>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<?xml version="1.0" encoding="UTF-8" ?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" version="2.0">
<channel>
<title>Latest News</title>
<description/>
<atom:link href="https://www.vikatan.com/api/v1/collections/latest-news.rss?format=ucweb&time-period=last-24-hours" rel="self" type="application/rss+xml"/>
<link>https://www.vikatan.com</link>
<language>ta</language>
<lastBuildDate>Fri, 07 Feb 2020 06:19:29 +0000</lastBuildDate>
<item>
{"@timestamp":"2020-04-01T07:10:19,153","thread":"qtp1877160278-38188","level":"INFO","logger":"qarth.ring","ndc":[],"mdc":{},"logged-message":"Exception trying to verify record java.lang.IllegalArgumentException: Multi-services require an auth record or service parameter
at qarth.ring$new_record_redirect_handler$fn__20713.invoke(ring.clj:23)
at qarth.ring$omni_handler$fn__20754.invoke(ring.clj:150)
at qarth.friend$oauth_workflow$fn__20780.invoke(friend.clj:96)
at cemerick.friend$authenticate_request$fn__15851.invoke(friend.clj:242)
at clojure.core$some.invokeStatic(core.clj:2701)
at clojure.core$some.invoke(core.clj:2692)
at cemerick.friend$authenticate_request.invokeStatic(friend.clj:242)
at cemerick.friend$authenticate_request.invoke(friend.clj:231)
at cemerick.friend$authenticate_STAR_.invokeStatic(friend.clj:251)
@akoul889
akoul889 / vikatn print
Last active September 16, 2020 07:54
vikatn print
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" version="2.0">
<channel>
<title>Prothom Alo Stories</title>
<link>https://www.prothomalo.com</link>
<description>Prothom Alo Stories.</description>
<atom:link href="http://rss.palobd.com/rss/rss" rel="self" type="application/rss+xml"/>
<language>en-US</language>
<lastBuildDate>Thu, 10 Sep 2020 18:21:43 +0600</lastBuildDate>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>