(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.
(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.
// I pasted this without even looking at it. It the code running in the video here: http://youtu.be/OZ_9Yg0PG3M | |
// The video is of an Arduino controlling a single 8x8 LED matrix via an MBI5026 chip + a single 74HC595 shift register. | |
// Link to the MBI5026: http://www.rayslogic.com/propeller/programming/AdafruitRGB/MBI5026.pdf | |
#define SDI 10 | |
#define CLK 9 | |
#define LE 8 | |
#define LED 17 | |
// 74HC595 | |
#define SHSDI 3 // DS (pin 14 on shift register) |
npm install -g npm
to update npm to the latest versionNow you can use npm and node from windows cmd or from bash shell like Git Bash of msysgit.
The standard way of understanding the HTTP protocol is via the request reply pattern. Each HTTP transaction consists of a finitely bounded HTTP request and a finitely bounded HTTP response.
However it's also possible for both parts of an HTTP 1.1 transaction to stream their possibly infinitely bounded data. The advantages is that the sender can send data that is beyond the sender's memory limit, and the receiver can act on
using System; | |
using System.Threading.Tasks; | |
using Xamarin.Forms; | |
public static class ViewExtensions | |
{ | |
public static void ShiftColorTo (this VisualElement view, Color sourceColor, Color targetColor, Action<Color> setter, uint length = 250, Easing easing = null) | |
{ | |
view.Animate ("ShiftColorTo", | |
x => |
<html> | |
<head> | |
<title>DevTools Test</title> | |
</head> | |
<body> | |
<script> | |
if ('serviceWorker' in navigator) { | |
navigator.serviceWorker.register('sw.js'); | |
// Wait until the SW has taken control of the page before inserting the <script> elements. | |
// That way we can be sure the SW's fetch handler will intercept them. |
#!/bin/sh | |
set -x | |
set -e | |
# | |
# Docker build calls this script to harden the image during build. | |
# | |
# NOTE: To build on CircleCI, you must take care to keep the `find` | |
# command out of the /proc filesystem to avoid errors like: | |
# | |
# find: /proc/tty/driver: Permission denied |
#pragma once | |
/** | |
* FAsyncQueue can be used to run asynchronous delegates in sequence, parallel and combinations of the above | |
* | |
* Use Add() to enqueue delegates matching FAsyncDelegate signature: | |
* a void function that accepts a single argument of another void function with no arguments. | |
* | |
* Static factories MakeSync, MakeSequence and MakeParallel can be used to wrap different type of delegates and | |
* delegate collections into a single FAsyncDelegate which can be enqueued with Add(). |
Actually, this already works using VirtualBox’s NAT networking mode in your guest. What doesn’t work is resolving domain names from the guest that are only known in the VPN network.
So if you have a a domain like w3.mycompany.com that only resolves using the VPN’s DNS, you can resolve that name from your host (which is connected to the VPN), but not from your guest by default. You won’t be able to ping w3.mycompany.com from the guest. However, if you try to ping the IP address from your guest, that works.
To solve this, VirtualBox has a nice feature to allow you to set the Host DNS resolver as the DNS proxy of a VirtualBox VM. To configure this, you first need to figure out the id of your VirtualBox VM:
$ VBoxManage list vms
<?php | |
// File :: config/mail.php | |
'stream' => [ | |
'ssl' => [ | |
'allow_self_signed' => true, | |
'verify_peer' => false, | |
'verify_peer_name' => false, | |
], | |
], |