Skip to content

Instantly share code, notes, and snippets.

View mbohun's full-sized avatar
🙃
How do you do?

Martin Bohun Hormann mbohun

🙃
How do you do?
  • Canberra, ACT, Australia
View GitHub Profile
@mbohun
mbohun / grails-maven-git_release.sh
Last active August 29, 2015 14:05
grails-maven-git_release.sh
# TODO: review this - and suggest some reasonable branching strategy if required/suitable
# we are currently at version: 1.2-SNAPSHOT
# get the grails module source
git clone ala-module-in-grails
cd ala-module-in-grails
# preview what is about to happen
mvn release:prepare -DdryRun=true
@mbohun
mbohun / TODO_jenkins_migration.md
Last active August 29, 2015 14:05
TODO jenkins migration
  • ala-cas
  • ala-cas-client
  • ala-downloads
  • ala-expert java.io.FileNotFoundException: /var/log/tomcat6/expert.log (No such file or directory)
  • ala-fieldguide
  • ala-hub
  • ala-install
  • ala-logger
  • ala-logger-service
  • ala-name-matching
@mbohun
mbohun / ala-travis.md
Last active August 29, 2015 14:06
enabling/adding travis-ci.org for ALA project-s

##Intro The ALA applications/components can be divided into 3 diff groups/types according to the build system they use:

  • jenkins-mvn/maven - maven project, build with maven, deployed into a maven repo using hudons/jenkins maven plugin
  • grails-mvn - grails project, build with grails, deployed into a maven repo using grails maven plugin
  • jenkins-scp - grails project, build with grails, resulting .war scp into a maven repo using hudson/jenkins scp plugin
jenkins-mvn/maven grails-mvn jenkins-scp
ala-cas ala-downloads ala-expert
@mbohun
mbohun / install-vlc-openSUSE13.1.sh
Last active August 29, 2015 14:06
install/fix vlc on openSUSE13.1
# problem: vlc does not play mp4 files, error message:
# No suitable decoder module: VLC does not support the audio or video format "h264".
# Unfortunately there is no way for you to fix this.
#
# reason: the installed libautil52 from openSUSE13.1 distro repo is incompatible with /usr/lib64/vlc/plugins/codec/libavcodec_plugin.so
# from vlc-codecs from the videolan.org repo
#
# solution: remove/uninstall libavutil52 from openSUSE13.1 repo
sudo zypper rm libavutil52
@mbohun
mbohun / installing-sonatype-nexus-on-nectar_vm.sh
Last active August 29, 2015 14:06
installing sonatype nexus on nectar fedora20 vm notes
# download and install JDK
# download and install sonatype nexus
wget -c http://www.sonatype.org/downloads/nexus-latest-bundle.tar.gz
sudo cp nexus-latest-bundle.tar.gz /usr/local
cd /usr/local
sudo tar -zxvf nexus-latest-bundle.tar.gz
sudo ln -s nexus-2.9.1-02 nexus
# the sonatype nexus howto seems to be incorrect (resp. incomplete), you need a non-root user that can run nexus in /usr/local
@mbohun
mbohun / test.md
Created September 22, 2014 06:15
test a snippet in R / markdown

blah, blah, blah:

  1. aaaa
  2. bbbb
  3. cccc
tr=plotTree(ax,type="fan",ftype="off") ## plot tree without labels
## add each image
library(jpeg)
@mbohun
mbohun / data.CSV
Last active August 29, 2015 14:06
issue data.csv
Catalog Number Scientific Name Genus Species Latitude Longitude Event Date
A00001 Limnodynastes interioris Limnodynastes Limnodynastes interioris -33.6333 147.45 8/12/1970
A00030 Bufo marinus Rhinella Rhinella marina -21.1667 149.1917 6/05/1971
B00700 Eclectus roratus Eclectus Eclectus roratus -12.7917 143.3 8/01/1966
B07625 Ailuroedus crassirostris Ailuroedus Ailuroedus crassirostris -4.5083 142.6667 10/08/1966
R08920 Lampropholis guichenoti Lampropholis Lampropholis guichenoti -37.075 149.4667 1/02/1995
@mbohun
mbohun / example_usage.md
Created October 2, 2014 10:40
example usage: github-add-travis.sh

example usage:

# execute github-add-travis.sh for one repo
./github-add-travis.sh collectory
# execute github-add-travis.sh for all/for each AtlasOfLivingAustralia github repo
./githubapi-get-all-repos.sh [github user or organization] [github token] | xargs ./github-add-travis.sh
@mbohun
mbohun / summary.md
Last active August 29, 2015 14:07
testing the .md summary table generated by: ./generate-github-travis-build-summary.sh AtlasOfLivingAustralia ala-cas ala-cas-client ala-hub fieldcapture ecodata dashboard generic-hub