The following script will generate a simple markdown worklog in the format listed below. It correctly handles the partial weeks at the beginning and the end of the year.
# Worklog
## Week 1 [2025-01-01 - 2025-01-03]
from svc import log # noqa |
from svc import log # noqa |
package src | |
import ( | |
"testing" | |
) | |
// Apply functional options pattern | |
type config struct { | |
// Required | |
foo, bar string |
package main | |
import ( | |
"fmt" | |
"io" | |
"os" | |
"runtime" | |
"strings" | |
) |
/* | |
cc Redowan Delowar (rednafi.com) | |
+----------------------------------------+ | |
| Load Balancer (8080) | | |
| +----------------------------------+ | | |
| | | | | |
| | Request from Client | | | |
| | | | | |
| +-----------------|----------------+ | |
https://developers.google.com/search/apis/indexing-api/v3/quickstart
Run this directly from the browser console:
async function getSitemapUrls(sitemapUrl) {
// Must update the USERNAME, PASSWORD, and ORDER_CODE variables. | |
const USERNAME = "<your-username>"; // Has to be an email. | |
const PASSWORD = "<your-password>"; | |
const ORDER_CODE = "KI00000133"; // Collect this from zapier panel. | |
const ROOT_DOMAIN = "https://kiyatec.dendisoftware.com"; | |
// Cache the token. | |
let config = { token: "" }; | |
async function getToken() { |
JVBERi0xLjMKJeLjz9MKMSAwIG9iago8PAovVHlwZSAvUGFnZXMKL0NvdW50IDEzCi9LaWRzIFsgMyAwIFIgNCAwIFIgNSAwIFIgNiAwIFIgNyAwIFIgOCAwIFIgOSAwIFIgMTAgMCBSIDExIDAgUiAxMiAwIFIgMTMgMCBSIDE0IDAgUiAxNSAwIFIgXQo+PgplbmRvYmoKMiAwIG9iago8PAovUHJvZHVjZXIgKFB5UERGMykKPj4KZW5kb2JqCjMgMCBvYmoKPDwKL1R5cGUgL1BhZ2UKL0NvbnRlbnRzIDE3IDAgUgovUmVzb3VyY2VzIDw8Ci9Gb250IDw8Ci9GMTMzIDE4IDAgUgovRjEzNCAyNCAwIFIKL0YxMzggMzAgMCBSCi9GMTY4IDM2IDAgUgovUjcgNDEgMCBSCj4+Ci9YT2JqZWN0IDw8Ci9JbTEgNTAgMCBSCj4+Ci9Db2xvclNwYWNlIDw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