(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.
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Jigsaw puzzle</title> | |
<script type="text/javascript"> | |
function save(filename, data) | |
{ | |
var blob = new Blob([data], {type: "text/csv"}); |
Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
ActivityTweet | |
generic_activity_highlights | |
generic_activity_momentsbreaking | |
RankedOrganicTweet | |
suggest_activity | |
suggest_activity_feed | |
suggest_activity_highlights | |
suggest_activity_tweet |
export const RECEIVE_MESSAGE = 'RECEIVE_MESSAGE'; |
/* rewritten example of JsonWebToken example | |
* from https://gist.github.com/thealexcons/4ecc09d50e6b9b3ff4e2408e910beb22 | |
* Keys are generated and packed to PEM-format at server start | |
* Plus some fixes and refactors | |
* | |
* My respect to thealexcons | |
*/ | |
package main | |
import ( |
var sphero = require('sphero-pwn'), | |
exec = require('exec'), | |
macros = require('sphero-pwn-macros'), | |
keypress = require("keypress"); | |
var orb = null, | |
id = 'ble://##:##:##:##:##:##'; | |
var awsIot = require('aws-iot-device-sdk'); |
var Rx = require('rxjs'); | |
var firebase = require('firebase'); | |
firebase.initializeApp({ | |
"databaseURL": "https://quiver-two.firebaseio.com", | |
"serviceAccount": "./service-account.json" | |
}); | |
var ref = firebase.database().ref('rxjs-demo'); | |
Rx.Observable.fromPromise(ref.remove()) | |
.map(function () { |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta name="description" content="RxJS"> | |
<meta charset="UTF-8"> | |
<title>Weather Monitoring in RxJS</title> | |
<style> | |
#form { | |
margin-bottom: 20px; | |
} |
(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.
#!/usr/bin/ruby | |
# Create display override file to force Mac OS X to use RGB mode for Display | |
# see http://embdev.net/topic/284710 | |
require 'base64' | |
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay` | |
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten | |
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten |