Skip to content

Instantly share code, notes, and snippets.

View fredgrott's full-sized avatar
👾
focusing on flutter cross platform mobile dev

Fred Grott fredgrott

👾
focusing on flutter cross platform mobile dev
View GitHub Profile
@fredgrott
fredgrott / jdepend-ant-task-android
Created May 14, 2011 19:31
jdepend-ant-task-android
Jdepend is the weird one that most get wrong and hence do not use when they should,
they key is getting the paths right:
<path id="jdepend.paths">
<fileset dir="build/classes">
<include name="**/*.class"/>
</fileset>
<fileset dir="${anttasklibs.dir}/jdepend" includes="jdepend-2.9.1.jar"/>
</path>
@fredgrott
fredgrott / javadoc-apiviz-android
Created May 14, 2011 17:21
javadoc-apiviz-android
Picture:
https://lh6.googleusercontent.com/_dCsxxQGdwps/Tc64B1JhtTE/AAAAAAAAAkU/9iMAjHfJd04/s160-c/Apiviz.jpg
or: https://picasaweb.google.com/fred.grott/Apiviz?feat=directlink
from local.properties:
javadoc.stylesheet=C:/Google/Android/android-sdk/docs/assets/android-developer-docs.css
javadoc.linkoffline=http://d.android.com/reference C:/Google/Android/android-sdk/docs/reference
@fredgrott
fredgrott / android test_rules_coverage-target
Created June 1, 2011 14:47
android test_rules_coverage-target
test_rules is incorrect for coverage target for the coverage file locations and report generation..correcteed to:
<target name="coverage" depends="-set-coverage-classpath, -install-instrumented, install"
description="Runs the tests against the instrumented code and generates
code coverage report">
<run-tests-helper emma.enabled="true">
<extra-instrument-args>
<arg value="-e" />
<arg value="coverageFile" />
<arg value="${emma.dump.file}" />
@fredgrott
fredgrott / gist:1383053
Created November 21, 2011 16:02
etc/profile env props
# JAVA_HOME
JAVA_HOME=/usr/lib/jvm/default-java
export PATH=$JAVA_HOME:$PATH
# GROOVY_HOME
GROOVY_HOME=/usr/bin/groovy
export PATH=$GROOVY_HOME:$PATH
# JYTHON_HOME
JYTHON_HOME=/usr/bin/jython
export PATH=$JYTHON_HOME:$PATH
# GRAPHVIZ_EXECUTAble
@fredgrott
fredgrott / androidenvproperties.txt
Created November 21, 2011 15:53
android env properties
# To have correct env properties setup for android
# NDK
ANDROID_NDK_HOME=/home/fredgrott/opt/android/android-ndk-r7
export PATH=$ANDROID_NDK_HOME:$PATH
# ANDROID SDK
ANDROID_SDK_HOME=/home/fredgrott/opt/android/android-sdk-linux
export PATH=$ANDROID_SDK_HOME/tools:$ANDROID_SDK_HOME/platform-tools:$PATH
@fredgrott
fredgrott / gradlenevprops.txt
Created November 21, 2011 16:01
gradle env properties
# GRadle
GRADLE_HOME=/home/fredgrott/opt/gradle-1.0-milestone-6
export PATH=$GRADLE_HOME/bin:$PATH
@fredgrott
fredgrott / _config.yml
Created November 21, 2011 19:18
GID framework _config.yml
# highlighting for non slides pages/posts
pygments: true
# we use rdiscount for markdown as than we can mix markdown and html within an
# namefile.html page
markdown: rdiscount
# we exclude the general project read,e.markdown file from jekyll processing
exclude: readme.markdown
# we enable relative pages
lsi: true
# we set post urls to /catname/title.html
@fredgrott
fredgrott / gitsshenvkey.txt
Created November 21, 2011 15:50
Git SSH env key
# to enable eclipse to properly handle git ssh
# versions eclipse 3.5 and up
# its jgit dependency
GIT_SSH =/usr/bin/ssh
export PATH=$GIT_SSH:$PATH
@fredgrott
fredgrott / page.html
Created November 21, 2011 20:11
GID framework YAML front matter for a page
---
layout:page
title: GID Framework HowTo
---
@fredgrott
fredgrott / jarlibsref_path_android-builds
Created December 17, 2011 21:56
path jar.libs.ref android builds
<!-- create a path with all the jar files, from the main project and the
libraries -->
<if>
<condition>
<isreference refid="project.libraries"/>
</condition>
<then>
<path id="jar.libs.ref">
<fileset dir="${jar.libs.absolute.dir}" includes="*.jar" />
<path refid="project.libraries.jars" />