Skip to content

Instantly share code, notes, and snippets.

View gpmontt's full-sized avatar

gpmontt gpmontt

  • Germany
  • 20:47 (UTC -12:00)
View GitHub Profile

Push Based Architecture With Rxjs

title: Push Based Architecture with RxJS tags: angular, rxjs, javascript, angularjs, tutorial, typescript, observables, rxjs observables, Push Based Architecture with RxJS, state management, behavior subject description: Make Reactive Applications

Push Based Architecture With Rxjs!

There are 2 types of architectures one is Pull Based the second one is Push Based. I will explain you how can we leverage RxJS BehaviorSubject to establish Push Based Architecture. In Design Patterns book we have Observer Design Pattern that is exactly what I mean by Push Based Architecture.

@gpmontt
gpmontt / .md
Last active January 9, 2022 13:01
example rules with clock, timers and switch(PIR)

Rules Tasmota

Activete Rule Before Dawn and At Dust

  • activate switch button as pushbutton
switchmode1 2; <- 
rule1 
  on switch1#state do backlog power1 1; RuleTimer1 30 endon  
@gpmontt
gpmontt / docker_compose_cheatsheet.md
Last active September 27, 2019 07:45 — forked from jonlabelle/docker_compose_cheatsheet.md
Docker Compose Cheatsheet

Quick reference for Docker Compose commands and config files

author: Jon LaBelle date: April 7, 2019

Basic config example

@gpmontt
gpmontt / ditaa
Created May 10, 2019 13:54
ditaa instruction
# docker container for ditaa
Author: (chai2010/ditaa-docker)[https://github.com/chai2010/ditaa-docker]
## Usage
```
# create txt file
$ cat << EOF > simple.txt
+--------+ +-------+ +-------+
| | --+ ditaa +--> | |