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
import { type Primitive } from "type-fest"; | |
export type BuiltIns = Primitive | Date | RegExp; | |
/** | |
* Add's a numeric `order` property to all objects within arrays, recursively. | |
* Used for creating nodes from nested arrays when we want to keep the same order | |
* as the feed. | |
* | |
* Based on type-fest's `ReadonlyDeep` |
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
a, | |
button, | |
input { | |
&:focus { | |
/* More subtle style for older browsers */ | |
outline: 1px dashed black; | |
} | |
&:focus:not(:focus-visible) { | |
outline: none; | |
} |
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
npx npm-check-updates -u |
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
# Run this in CMD | |
taskkill /im 2.43-x64-chromedriver /f |
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
http://octopusdeploy.com/downloads/latest/CommandLineTools |
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
# See https://github.com/moby/moby/issues/16106#issuecomment-310781836 for pulling images in parallel | |
# Nohup (no hang up) with trailing ampersand allows running the command in the background | |
# The </dev/null bits redirects the outputs to files rather than strout/err | |
nohup sh -c "echo selenium/hub:3.141.59-zirconium mcr.microsoft.com/dotnet/core/aspnet:3.1 | xargs -P10 -n1 docker pull" </dev/null >nohup.out 2>nohup.err & |
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
#!/bin/bash | |
set -Ee | |
somethingThatWorks() { | |
echo "somethingThatWorks" | |
} | |
somethingThatErrors() { | |
echo "somethingThatErrors" |
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
"PrescribingInfo".replace(/(.+)([A-Z])/g, (s, p1, p2) => `${p1}-${p2}`) |
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
docker run -d -e "ES_JAVA_OPTS=-Xms2g -Xmx2g" -p 9200:9200 -v "/$(pwd)/ElasticConfiguration/synonyms.txt:/usr/share/elasticsearch/config/synonyms.txt" -v "/$(pwd)/ElasticConfiguration/stemmer_override.txt:/usr/share/elasticsearch/config/stemmer_override.txt" --name elasticsearch docker.elastic.co/elasticsearch/elasticsearch:6.5.2 |
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
0 21 * * 1-5 |
NewerOlder