Skip to content

Instantly share code, notes, and snippets.

View Munkkeli's full-sized avatar
🏗️
Building the future of development

Tuomas Pöyry Munkkeli

🏗️
Building the future of development
View GitHub Profile
@Munkkeli
Munkkeli / install.sh
Last active September 6, 2021 22:03
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
@Munkkeli
Munkkeli / designer.html
Last active August 29, 2015 14:07
designer
<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">
@Munkkeli
Munkkeli / _colors.scss
Last active August 29, 2015 14:07
Colors form http://flatuicolors.com/ in a Sass file
$clouds : #16a085;
$silver : #bdc3c7;
$concrete : #95a5a6;
$asbestos : #7f8c8d;
$wet-asphalt : #34495e;
$midnight-blue : #2c3e50:
$turquoise : #1abc9c;
$green-sea : #16a085;
@Munkkeli
Munkkeli / TileMapper.cs
Last active August 29, 2015 14:03
Unity - Creates a tilemap from separate textures
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;
@Munkkeli
Munkkeli / MeshGenerator.cs
Last active August 29, 2015 14:01
Unity - Simple Mesh Generation
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();