This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This fixes issues with: | |
- devices that incorrectly state they support hover (Samsung Galaxy Note 9, SM-N960F, Android 8.1, Chrome 73) | |
- devices that do not support media queries for hover, but they are enabled by default in Material-UI | |
*/ | |
export default { | |
onProcessStyle(style, rule) { | |
if (rule.type !== 'style') return style; | |
let newProps = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x0034032F5A120002439bC4346a8d418Af902169F |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"APIVersion": "5747657", | |
"Id": 14077, | |
"Name": "Toma", | |
"Latitude": 50.069373, | |
"Longitude": 15.898114, | |
"Sections": [{ | |
"Id": 9313, | |
"Name": "Parter", | |
"Scale": 100.00000, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.gradle.daemon=true | |
# When configured, Gradle will run in incubating parallel mode. | |
# This option should only be used with decoupled projects. More details, visit | |
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects | |
org.gradle.parallel=true | |
org.gradle.configureondemand=true | |
org.gradle.java.home=/usr/lib/jvm/java-8-oracle/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# built application files | |
*.apk | |
*.ap_ | |
# files for the dex VM | |
*.dex | |
# Java class files | |
*.class |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.addCallAdapterFactory(new CallAdapter.Factory() { | |
//relevant SO: https://github.com/square/retrofit/pull/1117 | |
RxJavaCallAdapterFactory delegate = RxJavaCallAdapterFactory.create(); | |
@Override | |
public CallAdapter<?> get(Type returnType, Annotation[] annotations, Retrofit retrofit) { | |
//noinspection unchecked | |
CallAdapter<Observable<?>> delegate2 = (CallAdapter<Observable<?>>) delegate.get(returnType, annotations, retrofit); | |
return new CallAdapter<Object>() { | |
@Override |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add code to print out the key hash | |
try { | |
PackageInfo info = context.getPackageManager().getPackageInfo( | |
BuildConfig.APPLICATION_ID, | |
PackageManager.GET_SIGNATURES); | |
for (Signature signature : info.signatures) { | |
MessageDigest md = MessageDigest.getInstance("SHA"); | |
md.update(signature.toByteArray()); | |
Log.d("KeyHash:", Base64.encodeToString(md.digest(), Base64.DEFAULT)); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.util.Log; | |
import com.crashlytics.android.Crashlytics; | |
import com.crashlytics.android.core.CrashlyticsCore; | |
import timber.log.Timber; | |
/** | |
* Taken from https://gist.github.com/adi1133/2e76e69f8541c2d83473 | |
*/ | |
public class CrashlyticsTree extends Timber.Tree { |
NewerOlder