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 / 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 / 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 / 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 / _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 / 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" />
@fredgrott
fredgrott / antdirnameeclipse
Created January 2, 2012 14:43
antdirnameeclipse
<!-- Eclipse AntClassloader gives weird results for
<dirname property="root.d" file="${basedir}"/>
we use this instead
-->
<dirname property="root.d" file="${ant.file.Beowolf}"/>
@fredgrott
fredgrott / android build.xmladt16xpath
Created January 11, 2012 19:15
android build.xmladt16xpath
<xpath input="AndroidManifest.xml" expression="/manifest/application/@android:hasCode"
output="manifest.hasCode" default="true"/>
<xpath input="AndroidManifest.xml"
expression="/manifest/@package" output="manifest.package" />
@fredgrott
fredgrott / proguard.cfg
Created January 12, 2012 20:49
updatedproguardcfg
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose
-ignorewarnings
-renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable,*Annotation*,Signature