Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
function onOpen() { | |
const ui = DocumentApp.getUi(); | |
ui.createMenu('SEO') | |
.addItem('Check Keywords', 'findKeywords') | |
.addToUi(); | |
} | |
function makeCaseInsensitive(searchPattern) { | |
// see: https://stackoverflow.com/a/54217083/11582326 | |
return "(?i)" + searchPattern; |
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 <typename T, unsigned N> | |
struct MatrixImpl { | |
static_assert(N > 0, "Matrix should have at least one dimension"); | |
using Type = std::vector<typename MatrixImpl<T, N - 1>::Type>; | |
}; | |
template <typename T> | |
struct MatrixImpl<T, 1> { | |
using Type = std::vector<T>; | |
}; |