View TiffCombiner.cs
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; |
View app.html
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> | |
<form class="form-inline"> | |
<input class="form-control" placeholder="greeting..." value.bind="greeting"></input> | |
</form> | |
</template> |
View app.html
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> | |
</template> |
View aurelia.json
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": "my-books", | |
"type": "project:application", | |
"platform": { | |
"id": "web", | |
"displayName": "Web", | |
"output": "scripts", | |
"index": "index.html" | |
}, | |
"transpiler": { |
View app.html
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="bootstrap/css/bootstrap.css"></require> | |
<require from="styles.css"></require> | |
<div class="container"> | |
<div class="header clearfix"> | |
<h3 class="text-muted"><span class="brand-highlight">my </span> books</h3> | |
</div> | |
<router-view></router-view> | |
<footer class="footer"> |
View index.html
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>CSS Transition Example</title> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body> | |
<div class="box"></div> | |
</body> |
View install-selectize.sh
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
npm install jquery --save | |
npm install selectize --save | |
npm install flag-icon-css --save |
View getHtml.js
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
loadSelectItemView(templateUrl) { | |
return this.viewEngine.loadViewFactory(templateUrl); | |
} | |
getHtml(item, factory) { | |
const childContainer = this.container.createChild(); | |
const view = factory.create(childContainer); | |
view.bind(item); |
View ux-selectize-inline-render.js
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
render: { | |
option: (item, escape) => { | |
return `<template> | |
<span class="title"> | |
<span class="name"> | |
<span class="flag-icon flag-icon-${code.toLowerCase()} flag-icon-squared"> | |
</span> | |
</span> | |
</span> | |
<span class="description">${code} - ${name} </span> |
View country-template.html
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> | |
<span class="title"> | |
<span class="name"> | |
<span class="flag-icon flag-icon-${code.toLowerCase()} flag-icon-squared"> | |
</span> | |
</span> | |
</span> | |
<span class="description">${code} - ${name} </span> | |
</template> |
NewerOlder