- Pass the
--strict-peer-deps
options tonpm ci
ornpm install
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
AGFzbQEAAAABJghgAX8AYAF/AX9gAABgAn9/AGAAAX9gAn9/AX9gAn99AGABfwF9AoIBBBZ3YXNpX3NuYXBzaG90X3ByZXZpZXcxCXByb2NfZXhpdAAAB3dhc21pbm8JbmFub3NsZWVwAAMWd2FzaV9zbmFwc2hvdF9wcmV2aWV3MQ5hcmdzX3NpemVzX2dldAAFFndhc2lfc25hcHNob3RfcHJldmlldzEIYXJnc19nZXQABQMbGgIAAAMBBAcGAwEABQIBAAEABAEDAQACAAIEBAUBcAEBAQUDAQACBhIDfwFBsKwEC38BQQALfwFBAAsH9QEOBm1lbW9yeQIABl9zdGFydAAEEXdhc21pbm9HZXRQaW5Nb2RlAAgSd2FzbWlub0dldFBpbkNvdW50AAkOd2FzbWlub1JlYWRQaW4ACg93YXNtaW5vV3JpdGVQaW4ACxB3YXNtaW5vU2V0VXB0aW1lAAwGbWFsbG9jAA0EZnJlZQAOFWFzeW5jaWZ5X3N0YXJ0X3Vud2luZAAZFGFzeW5jaWZ5X3N0b3BfdW53aW5kABoVYXN5bmNpZnlfc3RhcnRfcmV3aW5kABsUYXN5bmNpZnlfc3RvcF9yZXdpbmQAHBJhc3luY2lmeV9nZXRfc3RhdGUAHQqFVxrDAQEDfyMBQQJGBEAjAiMCKAIAQXxqNgIAIwIoAgAoAgAhAAsCfwJ/IwFBAkYEQCMCIwIoAgBBfGo2AgAjAigCACgCACECCyACRQtBASMBGwRAEBUhAUEAIwFBAUYNARogASEACyAAIwFBAkZyBEAgAkEBRkEBIwEbBEAgABAAQQEjAUEBRg0CGgsjAUUEQAALCw8LIQEjAigCACABNgIAIwIjAigCAEEEajYCACMCKAIAIAA2AgAjAiMCKAIAQQRqNgIAC74CAgN/AX4jAUECRgRAIwIjAigCAEFsajYCACMCKAIAIgEoAgAhACABKAIEIQMgASkCCCEEIAEoAhAhAQsCfyMBQQJGBEAjAiMCKAIA |
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
git tag --sort=-creatordate | awk 'BEGIN { nxt = "HEAD" } | |
{ printf "[%s]: https://github.com/cucumber/XXXXXX/compare/%s...%s\n", (nxt=="HEAD")? "Unreleased" : substr(nxt,2), $1, nxt } | |
{ nxt = $1 } | |
' |
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 | |
# | |
# This script creates a new repository from a directory in the common monorepo. | |
# See https://github.com/cucumber/common/issues/1724 | |
# | |
# Prerequisites: | |
# * brew install git-filter-repo | |
# | |
# Usage: make-polyglot-repo.sh name | |
# Example: make-polyglot-repo.sh cucumber-expressions |
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 | |
# | |
# Run this script from the root of a git repo to create directories containing | |
# the old and new version of a .feature file. | |
# | |
# A directory will be created for each commit that modifies a .feature file, | |
# and inside this directory there will be a directory with the name of the file. | |
# Finally, inside that directory there will be a `new` and `old` file showing | |
# the contents before and after the commit. | |
# |
I hereby claim:
- I am aslakhellesoy on github.
- I am aslakhellesoy (https://keybase.io/aslakhellesoy) on keybase.
- I have a public key ASD3yL3iYIQ3nEu8MSpmZoT_oKeabrTA5M4LcDntg_238Qo
To claim this, I am signing this object:
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
public class JdbcSchema { | |
public static void createTables(Connection connection) throws SQLException, URISyntaxException, IOException { | |
// Stupid Scanner trick: https://community.oracle.com/blogs/pat/2004/10/23/stupid-scanner-tricks | |
String sql = new Scanner(JdbcSchema.class.getResourceAsStream("sqlite.sql"), "UTF-8").useDelimiter("\\A").next(); | |
for (String stmt : sql.split("-- 8< --")) { | |
connection.createStatement().executeUpdate(stmt); | |
} | |
} | |
} |
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 Main { | |
public static void main(String[] args) { | |
for(int i = 0; i<10; i++) | |
System.out.println(java.util.UUID.randomUUID().toString().charAt(14)); | |
} | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
pre { | |
white-space: pre-wrap; | |
font-size: 60px; | |
font-family: serif; | |
height: 100%; | |
padding: 10px; |
NewerOlder