- xcode-select --install
- softwareupdate --all --install --force
- softwareupdate --install-rosetta --agree-to-license
- /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Brew
- brew install --cask microsoft-edge
- brew install --cask 1password
- brew install --cask microsoft-teams
- brew install --cask slack brew install zoom
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
// {{#each_with_index records}} | |
// <li class="legend_item{{index}}"><span></span>{{Name}}</li> | |
// {{/each_with_index}} | |
Handlebars.registerHelper("each_with_index", function(array, fn) { | |
var buffer = ""; | |
for (var i = 0, j = array.length; i < j; i++) { | |
var item = array[i]; | |
// stick an index property onto the item, starting with 1, may make configurable later |
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
Handlebars.registerHelper 'each_with_index', (array, fn) -> | |
buffer = '' | |
for i in array | |
item = i | |
item.index = _i | |
buffer += fn(item) | |
buffer |
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
Bootstrap.Run(config => { | |
config.IncludeAssemblyFor<Type>(); | |
config.IncludeAssembly(Assembly); | |
config.UseAutoMapper(mapper => mapper.UseSomeOption()); | |
config.UseAutofac(); | |
config.LogToConsole(); | |
}; | |
Bootstrap.Run(config => | |
config |
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
------------------------------------- | |
Session Tracking | |
------------------------------------- | |
Exceptionless can also track user sessions which enables powerful application analytics. | |
Session tracking can be enabled by simply adding this line to the startup of your application: | |
ExceptionlessClient.Default.Configuration.UseSessions() |