at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:130)
... 20 more
Caused by: java.lang.NoClassDefFoundError: Lorg/sonatype/aether/RepositorySystem;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2397)
at java.lang.Class.getDeclaredFields(Class.java:1806)
at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:661)
at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:366)
at com.google.inject.internal.ConstructorBindingImpl.getInternalDependencies(ConstructorBindingImpl.java:165)
This file contains 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
#!/bin/bash | |
# Usage: | |
# $ cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates | |
# $ bash ~/remove-boilerplate-comments-from-xcode-templates.sh | |
# Repeat for /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates | |
find -E . -type f \ | |
\( -regex '.*\.[chm]' -or -regex '.*\.swift' \) \ | |
-exec sed -i '' '1,/^$/d' '{}' ';' |
This file contains 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
/** | |
* Copyright (C) 2017 Drew Hannay | |
* <p> | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* <p> | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* <p> | |
* Unless required by applicable law or agreed to in writing, software |
This file contains 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
FROM ubuntu:16.04 | |
MAINTAINER Jonathan Underwood | |
# set env vars for linux user and keybase user | |
ENV LINUX_USER="kbuser" \ | |
KEYBASE_USER="youruser" | |
# use curl to grab the latest build from keybase.io | |
RUN apt update && apt install -y \ | |
curl |
This file contains 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.os.Build | |
import android.view.View | |
import io.github.inflationx.viewpump.InflateResult | |
import io.github.inflationx.viewpump.Interceptor | |
import javax.inject.Inject | |
class AutofillKillerInterceptor : Interceptor { | |
override fun intercept(chain: Interceptor.Chain): InflateResult { | |
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) { |
This file contains 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
$$('.octicon-no-newline') |
This file contains 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
@Module( | |
complete = false, | |
library = true, | |
overrides = true | |
) | |
public final class DebugApiModule { | |
@Provides @Singleton ApiEndpoint provideApiEndpoint(Locale locale, @ApiEndpointMarker StringPreference apiEndpoint, | |
@NetworkIgnoreLocale BooleanPreference ignoreLocale) { | |
return (ignoreLocale.get()) |
This file contains 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
# Find open webviews on API 19 Android emulator. | |
def print_webviews | |
webviews = `adb shell cat /proc/net/unix` | |
webview_prefix = '@webview_devtools_remote_' | |
webviews = webviews.split("\r\n").reject { |l| ! l.include?(webview_prefix) } | |
# one pid may have many webviews | |
pids = webviews.map { |view| view.split(webview_prefix).last }.uniq |
This file contains 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
<!-- security authorizationdb read system.privilege.taskport > system.privilege.taskport.txt | |
DevToolsSecurity --enable | |
security authorizationdb write system.privilege.taskport is-developer | |
Fix developer popup. | |
Commands from: https://github.com/appium/appium/pull/1468 | |
--> | |
<?xml version="1.0" encoding="UTF-8"?> |
This file contains 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
# Example of Ruby page object pattern | |
module App | |
module Splash | |
class << self | |
def login | |
'login' | |
end | |
end | |
end |
NewerOlder