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
const people = [ | |
{ | |
age: 21, | |
eyeColor: 'blue', | |
firstName: 'Bowman', | |
lastName: 'Parks', | |
}, | |
{ | |
age: 49, | |
eyeColor: 'green', |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
:: Edit the line below to match your path to the ffmpeg executable. | |
set path2exe=C:\Users\mvesheff.PROGRESS\Documents\ShareX\Tools\ffmpeg.exe | |
(for %%i in (*.mp4) do @echo file '%%i') > list.txt | |
%path2exe% -f concat -i list.txt -c copy output.mp4 | |
del list.txt |
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 static class AutoMapperConfig | |
{ | |
public static IList<Type> GetTypesInAssembly() | |
{ | |
var assemblies = new string[] { Assemblies.ViewModels }; | |
var types = new List<Type>(); | |
foreach (var assembly in assemblies.Select(Assembly.Load)) | |
{ | |
types.AddRange(assembly.GetExportedTypes()); |