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!') | |
}); |
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; |
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 | |
{ |
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"; |
<button type="button" class="btn btn-inline" ng-click="vm.back()"><</button> | |
<button type="button" class="btn btn-inline" ng-click="vm.print()">Print</button> | |
<button type="button" class="btn btn-inline" ng-click="vm.downloadPdf('receipt')">Pdf</button> | |
<div class="container-fluid" id="receipt" style="background: white"> | |
<style type="text/css"> | |
.invoice-title h2, .invoice-title h3 { | |
display: inline-block; | |
} | |
.table > tbody > tr > .no-line { |
2017-08-21T07:35:21.7899827Z ##[debug]Evaluating condition for step: 'NuGet restore Exception/Exception.sln' | |
2017-08-21T07:35:21.7899827Z ##[debug]Evaluating: succeeded() | |
2017-08-21T07:35:21.7909820Z ##[debug]Evaluating succeeded: | |
2017-08-21T07:35:21.7909820Z ##[debug]=> (Boolean) True | |
2017-08-21T07:35:21.7909820Z ##[debug]Expanded: True | |
2017-08-21T07:35:21.7909820Z ##[debug]Result: True | |
2017-08-21T07:35:21.7909820Z ##[section]Starting: NuGet restore Exception/Exception.sln | |
2017-08-21T07:35:21.7909820Z ============================================================================== | |
2017-08-21T07:35:21.7909820Z Task : NuGet Installer | |
2017-08-21T07:35:21.7909820Z Description : Installs or restores missing NuGet packages |