This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// When update message types on persistent actor it will fail silently on start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UIDef.Lists.Data.Core; | |
using System.Linq; | |
using Microsoft.EntityFrameworkCore; | |
using UIDef.Core.Domain; | |
using System; | |
using UIDef.Lists.Data.Core.Domain; | |
using CSharpFunctionalExtensions; | |
using UIDef.Lists.Requests.GetFromatters; | |
using UIDef.Core.MediatR.CRUDHandlers.GetList; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ChangeDetectorRef, Inject, InjectionToken, OnDestroy, Optional, Pipe, PipeTransform } from '@angular/core'; | |
import { Subscription } from 'rxjs'; | |
import { XTranslateService } from './xtranslate.service'; | |
export const TRANSLATE_PREFIX = new InjectionToken<string>('TRANSLATE_PREFIX'); | |
/** | |
* Allows to avoid define full path to translate constatnt every time. | |
* @example | |
* ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BUILD image | |
FROM node:stretch | |
LABEL author="Max Putilov" | |
# Install powershell >>>>> | |
RUN apt-get update | |
RUN apt-get install -y curl gnupg apt-transport-https | |
# Import the public repository GPG keys | |
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - | |
# Register the Microsoft Product feed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build librarys and place rsult to dist folder | |
# Clean up previous distributions if folders exist | |
if (Test-Path dist) { | |
Remove-Item dist -Recurse -Force | |
} | |
if (Test-Path build) { | |
Remove-Item build -Recurse -Force | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@if "%SCM_TRACE_LEVEL%" NEQ "4" @echo off | |
cls | |
:: ---------------------- | |
:: KUDU Deployment Script | |
:: Version: 1.0.15 | |
:: ---------------------- | |
:: Prerequisites | |
:: ------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ENV_RUNTIME = { | |
"appConfig": { | |
"stickHeader": "xxx" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"appConfig": { | |
"stickHeader": "xxx" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ReaderM | |
type ReaderM<'d,'out> = | |
'd -> 'out | |
module Reader = | |
// basic operations | |
let run dep (rm : ReaderM<_,_>) = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
showElectivesBlockItem$ = this.actions$.let(s => | |
Flow.ofActions(s, A.isShowTechAction) | |
.filter(R.propEq("type", "electives-block")) | |
.switchMap(this.academicTerm.loadElementCourses) | |
.mapOk(items => ({ items })) | |
.flatMap(SA.modal(AcademicTermListItemUOTsComponent)) | |
.do((x: {id: string}) => SA.navigate(["/", "courses", "my", x.id ])) | |
.mapTo(<any>data.CANCEL_RESULT_ACTION) | |
.toRx() | |
) |
NewerOlder