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
output.ods | |
.~lock* |
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
#!/usr/bin/env bash | |
# Add hyperlinks to a LibreOffice Calc file | |
# We appreciate https://ask.libreoffice.org/en/question/81492/convert-clickable-hyperlink-to-viewable-url/ | |
# but don't want to handwrite the action every time nor trust a macro (though I guess a bash script isn't much better) | |
# Intended to be used on `.ods` with no hyperlinks at all, would need XML parser otherwise | |
# More recent version might exist in https://github.com/twolfson/dotfiles but no promises | |
# Exit on first error, unset variable, or pipe failure | |
set -euo pipefail |
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
.pio/ | |
include/ | |
lib/ | |
src/ | |
test/ |
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
node_modules/ |
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
.pio/ | |
include/ | |
lib/ | |
src/ | |
test/ |
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
# Node.js dependencies | |
node_modules/ | |
# Parcel files | |
.cache/ | |
dist/ |
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
(async function () { | |
// Define a Promise generator | |
function getPromise() { | |
// return Promise.resolve('done2'); | |
// return Promise.reject('throw text '); | |
return new Promise((resolve, reject) => { | |
setTimeout(() => { | |
resolve('done'); | |
}, 300 /* ms */); | |
}); |
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
# Load in our dependencies | |
import pandas | |
import numpy | |
# Define our main function | |
def main(): | |
# Create a pandas dataframe | |
# https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html | |
# `numpy.array()` syntax | |
# df = pandas.DataFrame([ |
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
node_modules | |
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
// Load in our dependencies | |
import submodule from './submodule.js'; | |
// Edit our pass-through content | |
// DEV: We can only modify mutable content on the submodule's keys | |
// If we attempt to replace a direct key, then the edit won't pass through | |
// submodule.bar = 'world'; // Works in this file, but doesn't pass through | |
submodule.bar.baz = 'hi'; | |
// DEV: The following is a similarly acceptable way to pass-through edit |