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
node_modules/ |
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
node_modules/ | |
.cache/ |
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
output.ods | |
.~lock* |
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
#!/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 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
.pio/ | |
include/ | |
lib/ | |
src/ | |
test/ |
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
node_modules/ |
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
.pio/ | |
include/ | |
lib/ | |
src/ | |
test/ |
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
# Node.js dependencies | |
node_modules/ | |
# Parcel files | |
.cache/ | |
dist/ |
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
(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 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
# 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([ |