(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.
| # /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!) |
| import { Router, CanActivate } from '@angular/router'; | |
| import { Injectable } from '@angular/core'; | |
| /** **/ | |
| class UserToken {} | |
| /** **/ | |
| class Permissions { | |
| canActivate(user: UserToken, id: string): boolean { | |
| return true; | |
| } |
(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.
| 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 |
| 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. |
| git add * | |
| git commnit -m "Message" | |
| git push origin master | |
| --Simple git commands once origin already established |
| - Arts: | |
| - Design | |
| - Fashion & Beauty | |
| - Food | |
| - Literature | |
| - Performing Arts | |
| - Spoken Word | |
| - Visual Arts | |
| - Business: | |
| - Business News |