This file contains 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
CONSUL_VERSION="1.6.0" | |
NOMAD_VERSION="0.9.5" | |
SERVER_IP=$(hostname -I | awk '{print $1}') | |
sudo apt-get update | |
sleep 2 | |
sudo apt-get install -y unzip apt-transport-https ca-certificates curl software-properties-common | |
sleep 2 |
This file contains 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
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../google-map/google-map.html"> | |
<polymer-element name="my-element"> |
This file contains 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
$clouds : #16a085; | |
$silver : #bdc3c7; | |
$concrete : #95a5a6; | |
$asbestos : #7f8c8d; | |
$wet-asphalt : #34495e; | |
$midnight-blue : #2c3e50: | |
$turquoise : #1abc9c; | |
$green-sea : #16a085; |
This file contains 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
using UnityEngine; | |
using System.Collections.Generic; | |
public class TileMapper { | |
// The tile class | |
public class Tile { | |
public int x, y, width, height; | |
public Texture2D texture; | |
public Vector2[] uv; |
This file contains 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
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
[RequireComponent(typeof(MeshFilter), typeof(MeshRenderer), typeof(MeshCollider))] | |
public class MeshGeneration : MonoBehaviour { | |
// Use this for initialization | |
void Awake () { | |
CreateMesh(); |