Skip to content

Instantly share code, notes, and snippets.

🌮
not in the face

Aaron Stacy aaronj1335

🌮
not in the face
Block or report user

Report or block aaronj1335

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:5799a1348cc5b273d12021a08e3a9172
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
*.pyc
dist
View GuardedSafetyNetClient.java
class GuardedSafetyNetClient {
private final SafetyNetClient client;
private GuardedSafetyNetClient(Context context) {
client = SafetyNet.getClient(context);
}
public static SafetyNetClient getClient(Context context) {
return new GuardedSafetyNetClient(context);
}
View MainActivity.java
package com.bontouch.testlocationbug;
import android.Manifest;
import android.content.IntentSender;
import android.content.pm.PackageManager;
import android.location.Location;
import android.os.Build;
import android.os.Bundle;
import android.os.SystemClock;
import android.support.annotation.NonNull;
View .bazelproject
directories:
.
targets:
//...:all
android_sdk_platform: android-25
build_flags:
--strategy=KotlinCompile=standalone
View classes-truncated.dex
Processing '/tmp/apk/classes.dex'...
Opened '/tmp/apk/classes.dex', DEX version '035'
Class #0 -
Class descriptor : 'Lcom/aaronstacy/app/R$attr;'
Access flags : 0x0011 (PUBLIC FINAL)
Superclass : 'Ljava/lang/Object;'
Interfaces -
Static fields -
Instance fields -
Direct methods -
View classes.dex
This file has been truncated, but you can view the full file.
Processing '/tmp/apk/classes.dex'...
Opened '/tmp/apk/classes.dex', DEX version '035'
Class #0 -
Class descriptor : 'Lcom/aaronstacy/app/R$attr;'
Access flags : 0x0011 (PUBLIC FINAL)
Superclass : 'Ljava/lang/Object;'
Interfaces -
Static fields -
Instance fields -
View error.txt
java.lang.NoSuchMethodError: com.android.tools.idea.gradle.util.Projects.requiredAndroidModelMissing(Lcom/intellij/openapi/project/Project;)Z
at com.google.idea.blaze.android.run.BlazeAndroidRunConfigurationValidationUtil.validateModule(BlazeAndroidRunConfigurationValidationUtil.java:76)
at com.google.idea.blaze.android.run.binary.BlazeAndroidBinaryRunConfigurationHandler.validate(BlazeAndroidBinaryRunConfigurationHandler.java:146)
at com.google.idea.blaze.android.run.binary.BlazeAndroidBinaryRunConfigurationHandler.checkConfiguration(BlazeAndroidBinaryRunConfigurationHandler.java:135)
at com.google.idea.blaze.base.run.BlazeCommandRunConfiguration.checkConfiguration(BlazeCommandRunConfiguration.java:238)
at com.intellij.execution.impl.RunnerAndConfigurationSettingsImpl.checkSettings(RunnerAndConfigurationSettingsImpl.java:432)
at com.intellij.execution.impl.RunnerAndConfigurationSettingsImpl.checkSettings(RunnerAndConfigurationSettingsImpl.java:427)
at com.intellij.execution.impl.RunManagerImpl.lambd
View gist:6fbc2d3d33e36b490483788a4ae3d8a8
Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies]
Configuration on demand is an incubating feature.
google-services plugin could not detect any version for com.google.android.gms, default version: 8.3.0 will be used.
please apply google-services plugin at the bottom of the build file.
Incremental java compilation is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
View gist:8a9d3cbe4cdbd8670ccdcf5d0d917f5d
+---------------------------+---------+
| Gem | Version |
+---------------------------+---------+
| jekyll | 3.0.3 |
| jekyll-sass-converter | 1.3.0 |
| jekyll-textile-converter | 0.1.0 |
| kramdown | 1.10.0 |
| rdiscount | 2.1.8 |
| redcarpet | 3.3.3 |
| RedCloth | 4.2.9 |
View postcss-plugin.js
import postcss from 'postcss';
import customProperties from 'postcss-custom-properties';
import {reduce} from 'lodash';
import LineToLineMappedSource from 'webpack-core/lib/LineToLineMappedSource';
export default function() {
this.plugin('compilation', function(compilation) {
compilation.plugin('optimize-chunk-assets', function(chunks, callback) {
compilation.assets = reduce(compilation.assets, (assets, asset, name) => {
if (/\.css$/.test(name)) {
You can’t perform that action at this time.