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
Mac-Pro:Gradle$ gradle clean --stacktrace | |
FAILURE: Build failed with an exception. | |
* Where: | |
Build file '/Volumes/Android/Gradle/ClockworkModBilling/build.gradle' line: 1 | |
* What went wrong: | |
A problem occurred evaluating project ':ClockworkModBilling'. | |
> Failed to apply plugin [id 'com.android.library'] |
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
Mac-Pro:Gradle$ gradle clean --debug | |
17:03:31.407 [DEBUG] [org.gradle.internal.resource.transport.http.JavaSystemPropertiesHttpProxySettings] Found java system property 'http.nonProxyHosts': local|*.local|169.254/16|*.169.254/16. Will ignore proxy settings for these hosts. | |
17:03:31.560 [INFO] [org.gradle.BuildLogger] Starting Build | |
17:03:31.561 [DEBUG] [org.gradle.BuildLogger] Gradle user home: /Users/koush/.gradle | |
17:03:31.564 [DEBUG] [org.gradle.BuildLogger] Current dir: /Volumes/Android/Gradle | |
17:03:31.565 [DEBUG] [org.gradle.BuildLogger] Settings file: null | |
17:03:31.567 [DEBUG] [org.gradle.BuildLogger] Build file: null | |
17:03:31.594 [DEBUG] [org.gradle.initialization.buildsrc.BuildSourceBuilder] Starting to build the build sources. | |
17:03:31.603 [DEBUG] [org.gradle.initialization.buildsrc.BuildSourceBuilder] Gradle source dir does not exist. We leave. | |
17:03:31.609 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: [] |
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
read the sticky post |
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
Mixed Content: The page at 'https://inkwire.io/share/#' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Source+Sans+Pro:300'. This request has been blocked; the content must be served over HTTPS. |
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
function getAuthToken(interactive, cb) { | |
chrome.identity.getAuthToken({ | |
interactive: interactive, | |
// must use the exact same scopes used to submit the license or the token shits | |
scopes: | |
['https://www.googleapis.com/auth/userinfo.profile', | |
'https://www.googleapis.com/auth/userinfo.email', | |
'https://www.googleapis.com/auth/chromewebstore.readonly'] | |
}, |
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
[Unit] | |
Description=Turn Server | |
After=network.target | |
[Service] | |
ExecStart=/usr/local/bin/turnserver -r -v -L 173.192.187.130 -u foo:bar --daemon | |
Type=forking | |
PIDFile=/var/tmp/turnserver.pid | |
User=turn | |
KillMode=process |
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
ArrayList<WeakReference<ContentObserver>> observers = new ArrayList<WeakReference<ContentObserver>>(); | |
public void loadCursor(final BetterCursorAdapter adapter, final Uri uri, final String[] projection, final String selection, final String[] selectionArgs, final String sortOrder) { | |
final FutureCallback<BetterCursorAdapter> callback = new FutureCallback<BetterCursorAdapter>() { | |
@Override | |
public void onCompleted(Exception e, BetterCursorAdapter result) { | |
if (e != null) | |
return; | |
View view = getView(); | |
if (view == null) |
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
// | |
// 2/24/2016 1:58:42 PM | |
// Script generated by MAX Mapper Plugin | |
//---------------------------------------- | |
unmap PS4_SHARE; | |
remap TRACE_1 -> PS4_SHARE; | |
unmap PS4_TOUCH; | |
remap TRACE_2 -> PS4_TOUCH; |
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
public class MyFragment { | |
boolean loaded; | |
private void maybeLoad() { | |
if (!loaded && getUserVisibleHint()) { | |
loaded = true; | |
loadMyData(); | |
} | |
} | |
@Override |
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
package com.koushikdutta.boilerplate; | |
import android.content.Context; | |
import android.graphics.PorterDuff; | |
import android.util.AttributeSet; | |
import android.widget.ProgressBar; | |
public class TintedProgressBar extends ProgressBar { | |
public TintedProgressBar(Context context) { | |
super(context); |