What makes an awesome engineer?
A simple way to visualize what makes a great engineer:

-
Strong technical acumen
-
Works well with others
I was able to render an OnlyOffice document in React using the OnlyOffice local document server running in Docker with a JWT key and token.
This version also supports saving the document to my server automatically or on-demand.
Issues solved with this example include:
In a Looker table calculation custom expression you can compute the max or min value of a date time object using an expression like this:
max(
(100 * 100 * 100 * 100 * 100 * extract_years(${table.created_at})) +
(100 * 100 * 100 * 100 * extract_months(${table.created_at})) +
(100 * 100 * 100 * extract_days(${table.created_at})) +
(100 * 100 * extract_hours(${table.created_at})) +
(100 * extract_minutes(${table.created_at})) +
(extract_seconds(${table.created_at}))
To delegate effectively to a new team, you have to explain the following:
As the team grows and they learn how to do the work, it become sufficient and appropriate to explain only the first three bullet points. As the team further progresses, you can communicate the first 2 bullet points and the team will figure out what to do and how to do it. Finally, with high performing teams/individuals, you can provide context and the goal, and the team defines the rest.
# Example Jira GraphQL API to fetch a Cloud ID, query for issues with JQL, and get issues with links, i.e. child issues | |
# | |
# Run this in https://developer.atlassian.com/platform/atlassian-graphql-api/graphql/explorer/ | |
# | |
# In the GraphQL explorer UI, at the bottom, add these Request Headers: | |
# { | |
# "X-ExperimentalApi" : "JiraIssueSearch" | |
# } | |
# | |
query fetchCloudId { |
// Given an element, select a range of text given a start and end character position offset relative | |
// to the element's innerText, not counting any HTML markup in the element. | |
// Partial credit: https://stackoverflow.com/questions/16662393/insert-html-into-text-node-with-javascript | |
function injectMarkerIntoTextNode(node, startIndex) { | |
// startIndex is beginning location of the text to inject a span | |
let parentNode = node.parentNode; | |
var s = node.nodeValue; | |
var beforePart = s.substring(0, startIndex); |
I wanted to set the default title of new notes created via Cmd+N to be formatted like "2023-05-18 New", "2023-05-18 New 2", ...
I also wanted all new notes created via Cmd+N to go in the new
folder.
Create a folder called e.g. new
In "Files & Links" settings, set "Folder to create new notes in" to new
Create a folder called e.g. templates
and add a file called e.g. Default
with this content: