INSERT GRAPHIC HERE (include hyperlink in image)
Subtitle or Short Description Goes Here
const viewModelProps = { | |
title: { type: String, isRequired: true, minLength: 5, unique: true, index: true }, | |
category: { type: String, isRequired: true }, | |
} | |
// in mongoose | |
const videoSchema = new mongoose.Schema({ | |
...generateSchema(true, viewModelProps), | |
duration: { | |
type: Number, |
const express = require('express') | |
var numCPUs = require('os').cpus().length; | |
const cluster = require('cluster'); | |
const app = express() | |
app.get('/', (req, res) => { | |
res.send('Hello World!') | |
}); |
module App { | |
"use strict"; | |
export class AppConfig { | |
static $inject = ["$stateProvider", "$urlRouterProvider", "localStorageServiceProvider"]; | |
constructor($stateProvider: angular.ui.IStateProvider, | |
$urlRouterProvider: angular.ui.IUrlRouterProvider, | |
localStorageProvider: angular.local.storage.ILocalStorageServiceProvider |
using System.Linq; | |
using System.Net; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
using Microsoft.Azure.WebJobs; | |
using Microsoft.Azure.WebJobs.Extensions.Http; | |
using Microsoft.Azure.WebJobs.Host; | |
namespace FunctionApp1 | |
{ |
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title></title> | |
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet" /> | |
</head> | |
<body> | |
<div> | |
<div class=" container ng-scope" ng-switch=" view"> |
using System; | |
using System.Collections.Generic; | |
using System.Data.Entity; | |
using System.Linq; | |
using System.Linq.Dynamic; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using System.Transactions; | |
using Core = BizBookCoreDbModelLibrary; | |
using BizBookDbModelLibrary; |
private static IEnumerable<string> GetTextFromPDF(string invoicePdf) | |
{ | |
var fromPdf = new List<string>(); | |
using (PdfReader reader = new PdfReader(invoicePdf)) | |
{ | |
for (int i = 1; i <= reader.NumberOfPages; i++) | |
{ | |
string value = PdfTextExtractor.GetTextFromPage(reader, i); | |
List<string> list = value.Split(new[] { "\n" }, StringSplitOptions.None).ToList(); | |
list.RemoveAll(Match); |
public class BaseReportService | |
{ | |
protected T CreateDefault<T>(Type t, string shopId) where T : BaseReport | |
{ | |
var report = Activator.CreateInstance(t) as BaseReport; | |
report.Id = Guid.NewGuid().ToString(); | |
report.Created = DateTime.Now; | |
report.Modified = DateTime.Now; | |
report.CreatedBy = "System"; | |
report.ModifiedBy = "System"; |