You can activate a free Microsoft Azure account at http://azure.com/free
For the purpose of the hackathon, we're providing you with free Azure Pass codes worth 100$ and valid for 30-days.
// UTILITY | |
const cars = [ | |
{ type: 'mazda', driven: 14020, active: true }, | |
{ type: 'volvo', driven: 404324, active: false }, | |
{ type: 'nissan', driven: 135223, active: true } | |
]; | |
// MAP FUNCTIONS | |
const shnigimap = (arr, mapfunc) => { | |
const resultArray = []; |
You can activate a free Microsoft Azure account at http://azure.com/free
For the purpose of the hackathon, we're providing you with free Azure Pass codes worth 100$ and valid for 30-days.
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user
Note: This has been tested in Rasbian Buster released on 2019-06-20
Important: replace
jeremy
below with whatever username you'd like as your new user.
sudo adduser jeremy
## Y-Tunnukseen perustuva domainejen haku (.fi) | |
## Esimerkki: getdomains 1093944-1 # MTV Oy | |
# Laita tämä .bashrc tai .zshrc | |
# Käyttöesimerkkejä: | |
# Looppaa Y-tunnuksetn kaikki domainit läpi ja tee kysely | |
# for i in $(getdomains 1093944-1); do echo $i && host -t cname www.$i; done |
#!/usr/bin/python | |
import socket #for sockets | |
import sys #for exit | |
try: | |
#create an AF_INET, STREAM socket (TCP) | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
except socket.error, msg: | |
print 'Failed to create socket. Error code: ' + str(msg[0]) + ' , Error message : ' + msg[1] |
<template> | |
<div id="map" class="map"> | |
<div class="button-bar"> | |
<button v-on:click="addMapLayer()">terrain</button> | |
</div> | |
</div> | |
</template> | |
<script> |