This file contains hidden or 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
| #note - may have to run diskpart script by itself | |
| .\diskpart.exe /s "C:\diskpartScript.txt" | |
| dism /apply-image /imagefile:"Z:\Path to WIM\win10Ann.wim" /index:1 /applydir:W:\ | |
| bcdboot W:\Windows /s S: /f UEFI |
This file contains hidden or 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
| /** | |
| * A special function that runs when the spreadsheet is open, used to add a | |
| * custom menu to the spreadsheet. | |
| */ | |
| function onOpen() { | |
| var spreadsheet = SpreadsheetApp.getActive(); | |
| var menuItems = [ | |
| {name: 'Five Week Interval Report...', functionName: 'generateFiveWeekIntervalReport'} | |
| ]; | |
| spreadsheet.addMenu('Reports', menuItems); |
This file contains hidden or 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
| /** | |
| * A special function that runs when the spreadsheet is open, used to add a | |
| * custom menu to the spreadsheet. | |
| */ | |
| function onOpen() { | |
| var spreadsheet = SpreadsheetApp.getActive(); | |
| var menuItems = [ | |
| {name: 'Generate Academic Status Report...', functionName: 'generateAcademicStatusReport'} | |
| ]; | |
| spreadsheet.addMenu('Reports', menuItems); |
This file contains hidden or 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
| [TestClass] | |
| public class BaseTest | |
| { | |
| public TestContext TestContext { get; set; } | |
| public static IServiceProvider ServiceProvider; | |
| [TestInitialize] | |
| public virtual void SetUp() | |
| { | |
| //ensure each unit test gets a fresh database |
This file contains hidden or 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
| Param([string] $siteName, [bool] $up) | |
| Import-Module WebAdministration | |
| if($up) | |
| { | |
| #website | |
| Start-WebSite $siteName | |
| #worker | |
| Start-WebAppPool $siteName | |
| } | |
| else |
This file contains hidden or 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
| Param( | |
| [string] $filePath, | |
| [string] $buildNumber | |
| ) | |
| $jsonContent = Get-Content $filePath -Raw | ConvertFrom-Json | |
| $jsonContent.version = $jsonContent.version + "." + $buildNumber | |
| ConvertTo-Json -InputObject $jsonContent -Depth 20 | Set-Content $filePath |
This file contains hidden or 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
| #if DEBUG | |
| var compareLogic = new CompareLogic(new ComparisonConfig() { MaxDifferences = 100 }); | |
| var result = compareLogic.Compare(workstation, workstationOld); | |
| //if these are different, write out the differences | |
| if (!result.AreEqual) | |
| Console.WriteLine(result.DifferencesString); | |
| #endif |
This file contains hidden or 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
| <views:BaseView x:Class="MyCoolApplication.Wpf.Views.MainView" | |
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
| xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
| xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
| xmlns:views="clr-namespace:MyCoolApplication.Wpf.Views" | |
| xmlns:mvx="clr-namespace:MvvmCross.BindingEx.WindowsPhone;assembly=MvvmCross.BindingEx.Wpf" | |
| mc:Ignorable="d" | |
| d:DesignHeight="300" d:DesignWidth="300" > | |
| <Grid> |
This file contains hidden or 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
| "buildOptions": { | |
| "copyToOutput": "appsettings.json" | |
| } |
This file contains hidden or 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
| namespace V.AdamAnalysis.BusinessLogic.Jobs | |
| { | |
| public class AdamAnalysisJob | |
| { | |
| //none of the real work is shown here...the interesting parts are the constructors that take in objects to be used | |
| //and the journal mechansim to report progress back to the website. | |
| private AdamAnalysisManager adamAnalysisManager; | |
| private IHubContext hubContext; |