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
gist(1) -- upload code to https://gist.github.com | |
================================================= | |
## Synopsis | |
The gist gem provides a `gist` command that you can use from your terminal to | |
upload content to https://gist.github.com/. | |
## Installation |
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 | |
# Populate the current shell with environment variables sourced from the .env | |
# file in the current working directory. | |
# | |
# This script is designed to take advantage of how Yarn assigns the INIT_CWD | |
# environment variable based on where a package.json script is called from in a | |
# workspace-enabled project. | |
# | |
# EXAMPLE USAGE: |
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 | |
read -d '\0' HEREDOC << 'EOF' | |
usage: compare.sh <flag> | |
<flag> [1> <path>] [2> <path>] | |
EOF | |
echo "${HEREDOC}" | |
readonly FLAG="UHVscCBGaWN0aW9u" |
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
/// <reference path="jest-chain" /> | |
/// <reference path="jest-extended" /> | |
import { main } from "./index"; | |
describe(`${main.name}()`, () => { | |
const value = 1337 as const; | |
it(`resolves to ${value} (1)`, async () => { | |
await expect(main()) |
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
diff --git a/node_modules/jest-chain/dist/chain.js b/node_modules/jest-chain/dist/chain.js | |
index 4a7b85b..cf756ba 100644 | |
--- a/node_modules/jest-chain/dist/chain.js | |
+++ b/node_modules/jest-chain/dist/chain.js | |
@@ -17,18 +17,20 @@ class JestAssertionError extends Error { | |
} | |
-const chainMatchers = (matchers, originalMatchers = matchers) => { | |
+const chainMatchers = (matchers, originalMatchers = matchers, value = undefined) => { |
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
diff --git a/node_modules/parcel-bundler/src/Resolver.js b/node_modules/parcel-bundler/src/Resolver.js | |
index 825e45d..471cd26 100755 | |
--- a/node_modules/parcel-bundler/src/Resolver.js | |
+++ b/node_modules/parcel-bundler/src/Resolver.js | |
@@ -175,6 +175,10 @@ class Resolver { | |
let parts = getModuleParts(filename); | |
let root = path.parse(dir).root; | |
+ if (parts[0] === 'core-js') { | |
+ dir = path.resolve(require.main.children[0].path, '../..'); |
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
.vscode-body pre, | |
.vscode-body code { | |
font-family: Menlo, Monaco, 'Courier New', monospace; | |
} |
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
Show hidden characters
{} |
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
# .zprofile | |
PATH="${HOME}/.local/bin:${PATH}" | |
function () { | |
local BREW_PREFIX="${HOME}/.local/opt/homebrew" | |
alias brew="${BREW_PREFIX}/bin/brew" | |
function () { |
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
class myweb::sites::wiki_example_com { | |
wiki_base = '/var/www/sites/wiki.example.com' | |
include ::profile::gitconfig | |
profile::gitconfig::safe_directory {"${wiki_base}/code/mediawiki-1.35-LTS":} | |
vcsrepo { "${wiki_base}/code/mediawiki-1.35-LTS/": | |
ensure => latest, | |
provider => git, | |
source => '[email protected]:wiki/mediawiki-1.35-LTS.git', |
OlderNewer