Skip to content

Instantly share code, notes, and snippets.

View siadat's full-sized avatar
💌
Have a great day! <3

siadat

💌
Have a great day! <3
  • Yelp
  • UK
  • 02:27 (UTC +01:00)
View GitHub Profile
@sohale
sohale / rxjs_example1.html
Last active September 29, 2016 15:51
A very simple example usage of RxJS 5 to get the idea of what is does.
<!DOCTYPE html>
<!-- Playing with RxJS 5.0 -->
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Buffer</title>
<script src="https://npmcdn.com/@reactivex/rxjs@5.0.0-beta.3/dist/global/Rx.umd.js"></script>
</head>
<body>
@defunkt
defunkt / browser
Created March 1, 2010 10:01
pipe html to a browser
#!/bin/sh -e
#
# Usage: browser
# pipe html to a browser
# e.g.
# $ echo '<h1>hi mom!</h1>' | browser
# $ ron -5 man/rip.5.ron | browser
if [ -t 0 ]; then
if [ -n "$1" ]; then