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
gci c:someFolder -Recurse | Unblock-File |
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
public List<DocType> DoStuffForALotOfData() | |
{ | |
var list = new List<DocType>(); | |
using (var session = _DataContext.OpenSession()) | |
{ | |
var skip = 0; | |
var take = 50; | |
// Execute query |
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
// Create index, NOTE the plural form of DocTypes | |
from doc in docs.DocTypes | |
select new { | |
doc.Id | |
} | |
// Now you can query documents like this, NOTE the plural form of DocTypes | |
Id: DocTypes/108449 |
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
Follow these steps: | |
https://www.getdonedone.com/accessing-your-windows-development-environment-from-osx/ | |
Configure your parralels VM to share all file disk | |
When setting up your IIS website make sure the Physical path points to the MAC network and root folder of your application. | |
This way you can still keep your project files on your mac disk en run them though IIS on your VM |
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 { ValidationRules } from 'aurelia-validation'; | |
export class Address { | |
street; | |
city; | |
} | |
ValidationRules | |
.ensure(a => a.street).required() | |
.ensure(a => a.city).required() |
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
<template> | |
<router-view></router-view> | |
</template> |
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
<template> | |
${message} | |
<div id="example"> | |
<ak-combobox k-data-text-field="text" | |
view-model.ref="box" | |
k-data-value-field="value" | |
k-value.two-way="title" | |
k-data-source.bind="data" | |
k-on-select.delegate="addSelected($event.detail)" | |
k-filter="contains" |
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
<template> | |
<require from="aurelia-kendoui-bridge/chart/chart"></require> | |
<ak-chart k-title.bind="{text: 'Gross Domestic product growth \n /GDP annual %/'}" | |
k-legend.bind="{position: 'bottom'}" | |
k-series-defaults.bind="seriesDefaults" | |
k-series.bind="series" | |
k-value-axis.bind="valueAxis" | |
k-category-axis.bind="categoryAxis" | |
k-tooltip.bind="tooltip"> | |
</ak-chart> |
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
<template> | |
<require from="aurelia-kendoui-bridge/chart/chart"></require> | |
<ak-chart k-widget.bind="widget" k-data-source.bind="datasource" k-legend.bind="{position: 'bottom'}" k-series-defaults.bind="seriesDefaults" | |
k-series.bind="series" k-value-axis.bind="valueAxis" k-category-axis.bind="categoryAxis" k-tooltip.bind="tooltip" | |
view-model.ref="chart"> | |
</ak-chart> | |
</template> |
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
<template> | |
<require from="aurelia-kendoui-bridge/chart/chart"></require> | |
<ak-chart k-title.bind="title" k-data-source.bind="datasource" k-legend.bind="legend" k-series-defaults.bind="seriesDefaults" | |
k-series.bind="series" k-tooltip.bind="tooltip"> | |
</ak-chart> | |
</template> |
OlderNewer