Sub MergeCells()
'
' MergeCells Macro
'
Dim var As String
rg = Selection.Address ' Current selected range e.g. "F2:F5"
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
/** | |
* Given some Javascript object, the function will have the browser download it as a | |
* json file (exactly like if it was downloaded from some server). | |
* The content of the file downloaded by the browser would be the "data" object input. | |
* One could also pass a name for the file to be downloaded to the function. | |
* References: | |
* - https://www.freecodecamp.org/news/how-to-use-the-browser-console-to-scrape-and-save-data-in-a-file-with-javascript-b40f4ded87ef/ | |
* - https://github.com/edubey/browser-console-crawl/blob/master/single-story.js | |
* @date 2021-06-18 | |
* @param {object} data |
Original Link: https://community.atlassian.com/t5/Jira-questions/How-can-I-filter-for-all-issues-where-I-have-commented/qaq-p/223917
(summary ~ currentUser() OR description ~ currentUser() OR assignee = currentUser() OR worklogAuthor = currentUser() OR comment ~ currentUser() OR watcher = currentUser() OR text ~ currentUser() OR creator = currentUser() OR voter = currentUser()) ORDER BY updated DESC
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
// https://stackoverflow.com/a/42242601/9034699 | |
// From original answer: Stack | |
const stackPush = (x, xs) => f => f(x,xs) | |
const stackPop = s => s((x,xs) => [x,xs]) | |
// From a looooong effort on my side. | |
// It is not efficient, or usable. But the goal was a proof of concept: To figure out a way to do this using similar method. | |
const countQ = Q => Q((prevEl, prevQ) => 1 + (prevQ ? countQ(prevQ) : 0)) | |
const enQ = (el, Q) => f => f(el, Q, Q ? countQ(Q): 0) |
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
/* Simple function that calculates tax for a certain amount */ | |
const calculateTax = function(amount, taxRate){ | |
return amount * taxRate; | |
} | |
/* | |
Straightforward Higher Order Function that prepends a currency symbol to |
NewerOlder