Skip to content

Instantly share code, notes, and snippets.

Avatar

Robert Pösel Robyer

View GitHub Profile
View WeekView.java
/*
Fixed version for https://github.com/Quivr/Android-Week-View/edit/develop/library/src/main/java/com/alamkanak/weekview/WeekView.java
This is code for answer: https://stackoverflow.com/a/50247323/2801482
*/
package com.alamkanak.weekview;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Bitmap;
@Robyer
Robyer / spotihosts
Created Oct 28, 2017 — forked from Shujito/spotihosts
The hosts file entries to block Spotify audio ad servers.
View spotihosts
# taken from here:
# https://www.reddit.com/r/Piracy/comments/4kn6rq/comprehensive_guide_to_blocking_ads_on_spotify/
0.0.0.0 adclick.g.doublecklick.net
0.0.0.0 adeventtracker.spotify.com
0.0.0.0 ads-fa.spotify.com
0.0.0.0 analytics.spotify.com
0.0.0.0 audio2.spotify.com
0.0.0.0 b.scorecardresearch.com
0.0.0.0 bounceexchange.com
0.0.0.0 bs.serving-sys.com
@Robyer
Robyer / maven-publish-helper-usage.gradle
Last active Sep 29, 2020
Gradle script for publishing Android library with sources and javadoc to Maven repository using maven-publish plugin.
View maven-publish-helper-usage.gradle
// You can use maven-publish-helper.gradle script without changes and even share it between multiple
// modules. Just place the maven-publish-helper.gradle file in the root directory of your project,
// then apply it at the bottom of your module's build.gradle file like this:
// ...content of module's build.gradle file...
apply from: '../maven-publish-helper.gradle'
publishing {
publications {
@Robyer
Robyer / live-form-validation.js
Last active Dec 13, 2016 — forked from pavelplzak/live-form-validation.js
Live Form Validation for Nette 2.3
View live-form-validation.js
Source moved to: https://github.com/Robyer/nette-live-form-validation
You can’t perform that action at this time.