(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| - Arts: | |
| - Design | |
| - Fashion & Beauty | |
| - Food | |
| - Literature | |
| - Performing Arts | |
| - Spoken Word | |
| - Visual Arts | |
| - Business: | |
| - Business News |
| git add * | |
| git commnit -m "Message" | |
| git push origin master | |
| --Simple git commands once origin already established |
| import java.io.IOException; | |
| import java.lang.reflect.Type; | |
| import com.google.gson.stream.JsonReader; | |
| import com.google.gson.stream.JsonWriter; | |
| import org.bson.types.ObjectId; | |
| import com.google.gson.*; | |
| /** | |
| * Created by alexb on 12/05/15. |
| def etree_to_dict(t): | |
| """ | |
| A simple yet really powerful function for converting XML into a dict, | |
| Faster than xmltodict | |
| http://www.xml.com/pub/a/2006/05/31/converting-between-xml-and-json.html | |
| :param t: | |
| :return: | |
| """ | |
| d = { | |
| t.tag: {} if t.attrib else None |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| import { Router, CanActivate } from '@angular/router'; | |
| import { Injectable } from '@angular/core'; | |
| /** **/ | |
| class UserToken {} | |
| /** **/ | |
| class Permissions { | |
| canActivate(user: UserToken, id: string): boolean { | |
| return true; | |
| } |
| # /etc/network/interfaces | |
| # | |
| auto lo | |
| iface lo inet loopback | |
| # device: eth0 | |
| iface eth0 inet manual | |
| # IPv4 bridge | |
| # (connect ONLY your firewall/router KVM instance here, this is the WAN device!) |
| Proxmox on Debian at Hetzner with multiple IP addresses | |
| AUGUST 9, 2016 BY FLORIAN BEER·15 COMMENTS | |
| I’ve spent most of my day today trying a plethora of different ways on how to configure Proxmox on a Hetzner server with multiple IP addresses. Most of the tutorials I found online gave a good deal of information but where lacking in one or two crucial details. Shortly before I was ready to throw my computer out of the window, I had success and managed to get everything set up the way I wanted it. | |
| This aims to be the definitive guide on how to accomplish the aforementioned task. When ready the setup includes the following features: | |
| Host bound to main IPv4 address, that comes with the server (and one of the 18,446,744,073,709,551,616 included IPv6 addresses) | |
| Every IPv4 address of a separately delegated subnet usable for virtual machines | |
| Internal private network for inter-virtual machine communication and non publicly accessible VMs |
For this example i shall be using a dedicated server from Hertzner.https://www.hetzner.de/en/. A shout out to hetzner if your looking for cheap and beefy dedicated hosting then these guys are your best bet.
This guide assumes your server has Debian 8 (Jessie installed)
| upstream tunnel { | |
| server 127.0.0.1:3000; | |
| } | |
| server { | |
| listen 80; | |
| server_name dev.codeplane.com br.dev.codeplane.com; | |
| location / { | |
| proxy_set_header X-Real-IP $remote_addr; |