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
<?php | |
require_once( ABSPATH . 'wp-admin/includes/plugin.php' ); | |
$plugins_staging = array( | |
'wp-reroute-email/wp-reroute-email.php' | |
); | |
$plugins_prod= array( | |
'google-site-kit/google-site-kit.php', | |
'lite-speed-cache/lite-speed-cache.php', | |
'microsoft-clarity/clarity.php' | |
); |
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
Number.From(DateTime.ToText(DateTime.LocalNow(), "yyyyMMdd"))) |
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
/* | |
docs.microsoft.com/en-us/rest/api/power-bi/pushdatasets/datasets_gettables | |
Easy auth token: | |
https://datagulp.com/powerbi/power-bi-rest-api-how-to-get-authentication-token-with-powershell-cmdlets/ | |
*/ | |
let | |
Source = Json.Document( | |
Web.Contents( | |
"https://api.powerbi.com/v1.0/myorg/datasets/"& DATASETID &"/tables", |
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
/* POST TOSHL.com transaction in Power BI Power Query | |
https://developer.toshl.com/docs/entries/create/ | |
all KEYS & IDs stored as parameters | |
*/ | |
let | |
Source = Json.Document( | |
Web.Contents( | |
"https://api.toshl.com/entries", | |
[ |
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
/* | |
List TOSHL.com transactions in Power BI Power Query | |
https://developer.toshl.com/docs/entries/list/ | |
all KEYS & IDs stored as parameters | |
*/ | |
let | |
Source = Json.Document( | |
Web.Contents( | |
"https://api.toshl.com/entries?from=2000-01-01&to=2020-05-31", |
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
/* POST YNAB.com new transactions in Power BI Power Query | |
https://api.youneedabudget.com/v1#/Transactions/createTransaction | |
Store all rows to be POSTED in seperate Query #"YNAB-POSTPREP" | |
Use one api call for each transaction | |
Log responses from YNAB all KEYS & IDs stored as parameters | |
*/ | |
let |
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
/* | |
GET YNAB.com transactions in Power BI Power Query | |
https://api.youneedabudget.com/v1#/Transactions/getTransactions | |
all KEYS & IDs stored as parameters | |
*/ | |
let | |
Source = Json.Document( | |
Web.Contents( | |
"https://api.youneedabudget.com/v1/budgets/" & YNABBudgetID & "/transactions", |
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
// Source for Jake Archibald's idb https://github.com/jakearchibald/idb/blob/v3.0.2/build/idb.js | |
(function (global, factory) { | |
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | |
typeof define === 'function' && define.amd ? define(['exports'], factory) : | |
(global = global || self, factory(global.idb = {})); | |
}(this, function (exports) { 'use strict'; | |
function toArray(arr) { | |
return Array.prototype.slice.call(arr); | |
} |
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
### Keybase proof | |
I hereby claim: | |
* I am katoen on github. | |
* I am koenvm (https://keybase.io/koenvm) on keybase. | |
* I have a public key ASAAVyUXkH3w9BD058f9S_wqUVkVqLO34OS5TRmnlLJhzAo | |
To claim this, I am signing this object: |