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
package com.github.shareme.loga; | |
import org.apache.log4j.Level; | |
import de.mindpipe.android.logging.log4j.LogConfigurator; | |
import android.os.Environment; | |
import android.util.Config; | |
/** |
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
/* | |
* Copyright (C) 2011 The Android Open Source Project | |
* | |
* 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 | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
#!/usr/bin/env python | |
# GIMP plugin for applying Android menu icon style | |
# For batch processing, use it like this: | |
# gimp -i --batch-interpreter=python-fu-eval -b 'pdb.python_fu_androidicon_batch(None, None, "/path/to/pictures/*.svg", "/path/to/res");pdb.gimp_quit(1)' | |
from gimpfu import * | |
import glob | |
import os | |
import shutil |
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
{% comment%}<!-- | |
Be careful we do not want to access or iterate an array as an associative | |
array of associative arrays | |
We are cheating here by using | |
assign siteImgArrayObject to tell us what associative array to iterate over | |
out of collection of associative arrays. |
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
- adb shell am instrument com.leandog/com.google.android.testing.nativedriver.server.ServerInstrumentation | |
- adb forward tcp:54129 tcp:54129a |
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
<condition property="bash.it" value="/bin/bash" else="cmd"> | |
<and> | |
<not> | |
<os family="windows"/> | |
</not> | |
</and> | |
</condition> | |
<property name="lint.script" value="${sdk.dir}/tools/lint"/> | |
<property name="lint.report" location="${basedir}/project.docs/lintreport.html"/> |
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
<emma> | |
<report sourcepath="${tested.project.absolute.dir}/${source.dir}" | |
verbosity="${verbosity}"> | |
<!-- TODO: report.dir or something like should be introduced if necessary --> | |
<infileset dir="${tested.project.absoulte.dir}"> | |
<include name="coverage.em"/> | |
</infileset> | |
<infileset dir="."> |
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
package org.bitbucket.fredgrott.gwsdroiddeviceid; | |
import java.util.UUID; | |
import android.content.Context; | |
import android.content.SharedPreferences; | |
/** | |
* Okay, we have some use cases: | |
* |
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
package org.bitbucket.fredgrott.gwsdroidlive.app; | |
import java.io.File; | |
import java.io.FileFilter; | |
import java.util.regex.Pattern; | |
public class NumCPUCores { | |
/** The device cpu num cores. */ | |
public static int deviceCPUNumCores; |
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
-startup | |
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar | |
--launcher.library | |
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505 | |
-product | |
org.eclipse.epp.package.modeling.product | |
--launcher.defaultAction | |
openFile | |
-showsplash | |
org.eclipse.platform |