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
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration> | |
<system.webServer> | |
<rewrite> | |
<rules> | |
<remove name="pushState" /> | |
<rule name="pushState" stopProcessing="true"> | |
<match url=".*" /> | |
<conditions logicalGrouping="MatchAll"> | |
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> |
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> | |
<h1>${greeting}</h1> | |
</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
{ | |
"items":[ | |
{ | |
"id" : 1, | |
"text": "Learn about Polymer", | |
"created_at": "Mon Apr 26 06:01:55 +0000 2015", | |
"Tags": [ | |
"Web Development", | |
"Web Components" | |
], |
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="./au-form"></require> | |
<link rel="stylesheet" type="text/css" href="style.css"> | |
<h1>${message}</h1> | |
<hr/> | |
<compose view="info-card.html"></compose> | |
<hr/> | |
<div class="container"> | |
<au-form></au-form> | |
</div> |
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="style.css"></require> | |
<require from="list-group"></require> | |
<require from="pokemon.html"></require> | |
<section> | |
<h1>${message}</h1> | |
<hr/> | |
<h3>custom template</h3> |
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 {customAttribute, inject, bindable} from 'aurelia-framework'; | |
import $ from 'bootstrap'; | |
@customAttribute('tooltip') | |
@inject(Element) | |
export class Tooltip { | |
element: HTMLElement; | |
@bindable title: any; | |
@bindable placement: any; |
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> | |
<h1>${message}</h1> | |
<form submit.trigger="greet()"> | |
<input type="text" value.bind="greeting"></input> | |
<input type="submit" value="greet"></input> | |
</form> | |
</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> | |
<h1>${message}</h1> | |
<form> | |
<input type="text"></input> | |
<input type="submit"></input> | |
</form> | |
</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="book-form"></require> | |
<book-form></book-form> | |
<div class="notification" show.bind="notification.length > 0"> | |
${notification} | |
</div> | |
</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
public class ImageUtilities | |
{ | |
//refrence https://stackoverflow.com/questions/398388/convert-bitmaps-to-one-multipage-tiff-image-in-net-2-0 | |
private const string Encoder = "image/tiff"; | |
public static Image CombineFiles(string[] inputFiles, string output) | |
{ | |
Image multiPageFile = null; |
NewerOlder