Skip to content

Instantly share code, notes, and snippets.

View maduhu's full-sized avatar

Paschal Maduhu maduhu

  • Creative Jodari Systems Ltd.
  • Dar es salaam, Tanzania
View GitHub Profile
@maduhu
maduhu / insthdfprep.sh
Created September 14, 2020 09:48 — forked from asears/insthdfprep.sh
Install Hortonworks Data Flow - Preparation
#!/bin/bash
# Download repos
wget -nv https://s3.amazonaws.com/public-repo-1.hortonworks.com/HDF/centos7/3.x/updates/3.0.2.0/hdf.repo -O /etc/yum.repos.d/hdf.repo
wget -nv http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.6.0.0/ambari.repo -O /etc/yum.repos.d/ambari.repo
wget -nv http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.3.0/hdp.repo -O /etc/yum.repos.d/hdp.repo
yum repolist
# Download management pack and unzipwget -nv https://s3.amazonaws.com/public-repo-1.hortonworks.com/HDF/centos7/3.x/updates/3.0.2.0/tars/hdf_ambari_mp/hdf-ambari-mpack-3.0.2.0-76.tar.gz ~/hdf-ambari-mpack-3.0.2.0-76.tar.gz
cd ~
tar -xvf hdf-ambari-mpack-3.0.2.0-76.tar.gz
# Install R + RStudio on Ubuntu 16.04
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys E084DAB9
# Ubuntu 12.04: precise
# Ubuntu 14.04: trusty
# Ubuntu 16.04: xenial
# Basic format of next line deb https://<my.favorite.cran.mirror>/bin/linux/ubuntu <enter your ubuntu version>/
sudo add-apt-repository 'deb https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/'
sudo apt-get update
@maduhu
maduhu / gist:81ca33aef661a28c517bb80c7fbc3a0b
Created December 26, 2017 01:36 — forked from conikeec/gist:1981301
Apache Whirr Setup (Outright)
git clone https://github.com/apache/whirr.git
cd whirr
mvn install
mvn package assembly:assembly
/*
After successful build
Navigate to the target folder to uncompress the release to your selected folder of choice
*/
* Downloaded or downloading
=============================
**http://kickass.to/infiniteskills-learning-jquery-mobile-working-files-t7967156.html
**http://kickass.to/lynda-bootstrap-3-advanced-web-development-2013-eng-t8167587.html
**http://kickass.to/lynda-css-advanced-typographic-techniques-t7928210.html
**http://kickass.to/lynda-html5-projects-interactive-charts-2013-eng-t8167670.html
**http://kickass.to/vtc-html5-css3-responsive-web-design-course-t7922533.html
*http://kickass.to/10gen-m101js-mongodb-for-node-js-developers-2013-eng-t8165205.html
*http://kickass.to/cbt-nuggets-amazon-web-services-aws-foundations-t7839734.html
Water Management Projects with FOSS4G:
International Water Management Institute, University of Moratuwa, Sri Lanka
Research & Monitoring
Evapotranspiration model
Road condition monitoring
PyWPS y Grass
http://www.slideshare.net/HirofumiHayashi/combining-foss4g-open-hardware-for-research-monitoring-in-southern-asia
San Jose Water Company, USA
@maduhu
maduhu / MainActivity.java
Created November 17, 2015 00:32 — forked from rduplain/MainActivity.java
A very simple full-screen WebView activity for Android native wrappers, as a starting point.
package com.willowtreeapps.demo;
import android.app.Activity;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.Window;
import android.webkit.WebView;
import android.webkit.WebViewClient;
public class MainActivity extends Activity {