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 System | |
| { | |
| using System.Globalization; | |
| // source: https://gist.github.com/sandrock/6fe3298b8ac6d9d0d9872dd811a63908 | |
| /// <summary> | |
| /// Extension methods for common types that provide ToInvariantString() capability. | |
| /// </summary> |
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
| { | |
| "Africa/Abidjan": "+00:00", | |
| "Africa/Accra": "+00:00", | |
| "Africa/Addis_Ababa": "+03:00", | |
| "Africa/Algiers": "+01:00", | |
| "Africa/Asmara": "+03:00", | |
| "Africa/Asmera": "+03:00", | |
| "Africa/Bamako": "+00:00", | |
| "Africa/Bangui": "+01:00", | |
| "Africa/Banjul": "+00:00", |
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 WpfApplication1.Behaviors | |
| { | |
| using System.Windows; | |
| using System.Windows.Controls; | |
| using System.Windows.Input; | |
| using System.Windows.Interactivity; | |
| /// <summary> | |
| /// Helps find the user-selected value of a slider only when the keyboard/mouse gesture has ended. |
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
| $dest = "F:\Backup\Runs\backup-"+(Get-Date).ToString("yyyy-MM-dd HHmm") | |
| .\Raven.Backup.exe --url=http://localhost/ --dest=$dest | |
| & 'C:\Program Files\7-Zip\7z.exe' a $dest $dest | |
| Remove-Item -Recurse $dest |