A small angular service for trigger action when certain conditions occur.
Using the Angular module
@angular-redux/store.
Trigger a list of Redux Action
| # | |
| # Multipart dockerfile for build the application and the delivery docker image | |
| # | |
| FROM node:12-alpine AS builder | |
| WORKDIR /builder | |
| RUN \ | |
| apk add --update tree openssl && \ | |
| mkdir -p /builder/frontend/src /builder/app /builder/backend/src |
| import { SubscriptionLike } from 'rxjs'; | |
| export class SubscriberList implements SubscriptionLike { | |
| private mList: SubscriptionLike[] = []; | |
| private mClosed = false; | |
| get closed(): boolean { | |
| return this.mClosed; |
| @mixin display-flex($direction, $wrap: nowrap) { | |
| display: flex; | |
| flex-direction: $direction; | |
| flex-wrap: $wrap; | |
| } | |
| @mixin flex-resizable($basis: auto, $grow: 1, $shrink: 1) { | |
| flex-basis: $basis; | |
| flex-grow: $grow; |
| import { Injectable } from '@angular/core'; | |
| import { Observable } from 'rxjs/Observable'; | |
| import { Subject } from 'rxjs/Subject'; | |
| import 'rxjs/add/operator/filter'; | |
| import 'rxjs/add/operator/map'; | |
| /** | |
| * **Note**: The internal structure of the message queue. | |
| */ | |
| export interface IMessage { |
| 'use strict'; | |
| const express = require('express'); | |
| const executor = require('app/executor'); | |
| const userService = require('app/service/user-service'); | |
| // | |
| // Router: /users |
| package kirchnerei.httpclient; | |
| import java.io.PrintWriter; | |
| import java.io.StringWriter; | |
| import java.util.Formatter; | |
| import java.util.logging.Level; | |
| import java.util.logging.LogRecord; | |
| import java.util.logging.Logger; | |
| public class MyHandlerHandler extends Handler implements DalvikLogHandler { |
| module.exports = function (grunt) { | |
| var _stage = grunt.option('stage') || 'dev', | |
| _basePath, | |
| _todayDate = grunt.template.today('yyyy-mm-dd'), | |
| _todayTime = grunt.template.today('HH-MM-ss'), | |
| _replacePattern = []; | |
| switch (_stage.toLowerCase()) { | |
| case 'prod': |
| /* | |
| * Copyright (c) 2014. BlueSkyFish <[email protected]> | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights | |
| * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | |
| * of the Software, and to permit persons to whom the Software is furnished to do so, | |
| * subject to the following conditions: | |
| * |
| <build> | |
| <finalName>${project.artifactId}</finalName> | |
| <resources> | |
| <resource> | |
| <directory>src/main/resources</directory> | |
| <filtering>true</filtering> | |
| </resource> | |
| </resources> | |
| <plugins> | |
| <plugin> |