# | Title | regex | Description/notes |
---|---|---|---|
1 | Regex to allow alphanumeric, spaces, some special characters | ^(?!\d+$)(?:[a-zA-Z0-9][a-zA-Z0-9 @&$]*)?$ |
not allowing only number |
^(?!$)(?:[A-Za-z0-9][A-Za-z0-9 @&$,.?_-]*)?$ |
getting invalid character class due to - |
This file contains 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 {Component, OnInit, Renderer2} from '@angular/core'; | |
import {NgbActiveModal} from '@ng-bootstrap/ng-bootstrap'; | |
import {ThemeService} from 'src/app/services/theme.service'; | |
import { InspaaceStorageService } from 'src/app/services/inspaace-storage.service'; | |
import { InspaaceHttpService } from 'src/app/services/inspaace-http.service'; | |
@Component({ | |
selector: 'app-display-setting', | |
templateUrl: './display-setting.component.html', | |
styleUrls: ['./display-setting.component.css'] |
This file contains 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
app.filter('hashtags',['$filter', '$sce', | |
function($filter, $sce) { | |
return function(text, target, type) { | |
if (!text) return text; | |
var replacedText = $filter('linky')(text, target); | |
var targetAttr = ""; | |
if (angular.isDefined(target)) { | |
targetAttr = ' target="' + target + '"'; | |
} | |
if(type === 'twitter'){ |
npm i ng2-search-filter --save npm install ng2-order-pipe --save
{ "name": "search-sort-pagination-angular2", "version": "0.0.0", "license": "MIT", "scripts": { "ng": "ng", "start": "ng serve",
SQL to MongoDB Mapping Chart¶
In addition to the charts that follow, you might want to consider the Frequently Asked Questions section for a selection of common questions about MongoDB.
Executables¶
The following table presents the MySQL/Oracle executables and the corresponding MongoDB executables.
This file contains 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
{ | |
"name": "inspaacevideo", | |
"version": "0.0.0", | |
"scripts": { | |
"ng": "ng", | |
"start": "ng serve", | |
"build": "ng build", | |
"test": "ng test", | |
"lint": "ng lint", | |
"e2e": "ng e2e", |
This file contains 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
* { | |
font-family: "Helvetica Neue", Helvetica; | |
font-size: 15px; | |
font-variant: normal; | |
padding: 0; | |
margin: 0; | |
} | |
html { | |
height: 100%; |
This file contains 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 { Component, OnInit, OnDestroy } from '@angular/core'; | |
import { Router } from '@angular/router'; | |
import { LoginService, AzureService } from '../services' | |
import { User, LiveSession } from '../models' | |
import { SharedService } from "app/services/shared.service"; | |
//declare var SimpleWebRTC; | |
declare var io; | |
declare var conference; | |
@Component({ |
This file contains 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
<preference name="KeyboardDisplayRequiresUserAction" value="false" /> |