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
| #!/bin/bash | |
| echo "********************************************************"; | |
| echo "Moodle Installation Starts..."; | |
| echo "********************************************************"; | |
| echo ""; | |
| mysqlInstalled=`dpkg --get-selections | grep mysql` | |
| apacheInstalled=`dpkg --get-selections | grep apache2` | |
| phpInstalled=`dpkg --get-selections | grep php7` |
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
| #DOCKER INSTALLATION | |
| sudo apt-get remove docker docker-engine docker.io containerd runc | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| apt-transport-https \ | |
| ca-certificates \ | |
| curl \ | |
| gnupg2 \ | |
| software-properties-common | |
| # DEBIAN |
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.gisandchips.osmtest; | |
| import org.osmdroid.tileprovider.tilesource.TileSourceFactory; | |
| import org.osmdroid.util.GeoPoint; | |
| import org.osmdroid.views.MapController; | |
| import org.osmdroid.views.MapView; | |
| import org.osmdroid.views.overlay.SimpleLocationOverlay; | |
| import android.app.Activity; | |
| import android.content.Context; |
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
| <RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:paddingBottom="@dimen/activity_vertical_margin" | |
| android:paddingLeft="@dimen/activity_horizontal_margin" | |
| android:paddingRight="@dimen/activity_horizontal_margin" | |
| android:paddingTop="@dimen/activity_vertical_margin" | |
| tools:context=".MainActivity"> |