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
const gor = require('goreplay_middleware'); | |
const fs = require('fs'); | |
// `init` will initialize STDIN listener | |
gor.init(); | |
// Example of very basic way to compare if replayed traffic have no errors | |
gor.on('request', function (req) { | |
gor.on('response', req.ID, function (resp) { | |
gor.on('replay', req.ID, function (repl) { | |
if (gor.httpStatus(resp.http) != gor.httpStatus(repl.http)) { |
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 sodium from 'https://cdn.skypack.dev/libsodium-wrappers@0.7.10?dts'; | |
console.log(sodium); |
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 sodium from 'https://esm.sh/libsodium-wrappers@0.7.10?deno-std=0.160.0'; | |
console.log(sodium); |
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
semver.inc("1.0.0", "patch") >>> 1.0.1 | |
semver.inc("1.0.0", "minor") >>> 1.1.0 | |
semver.inc("1.0.0", "major") >>> 2.0.0 | |
--- prepatch --- | |
semver.inc("1.0.0", "prepatch") >>> 1.0.1-0 | |
semver.inc("1.0.0-itvx", "prepatch", "itvx") > 1.0.1-itvx.0 | |
semver.inc("1.0.0-itvx.0", "prepatch", "itvx") > 1.0.1-itvx.0 | |
--- preminor --- | |
semver.inc("1.0.0", "preminor") >>> 1.1.0-0 | |
semver.inc("1.0.0-itvx", "preminor", "itvx") > 1.1.0-itvx.0 |
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
openapi: 3.0.3 | |
info: | |
title: Pact bi-directional | |
version: 1.0.0 | |
contact: {} | |
servers: | |
- url: http://example.com | |
paths: | |
/discovery: | |
post: |
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
openapi: 3.0.3 | |
info: | |
title: ITV - Pact bi-directional | |
version: 1.0.0 | |
contact: {} | |
servers: | |
- url: http://example.com | |
paths: | |
/discovery: | |
get: |
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
{ | |
"info": { | |
"_postman_id": "41598fbc-9770-47d3-930e-6d0a491e8e00", | |
"name": "Pact bi-directional", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", | |
"_exporter_id": "659145" | |
}, | |
"item": [ | |
{ | |
"name": "POST discovery PRD", |
This file has been truncated, but you can view the full file.
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 debug pnpm:scope": { | |
"selected": 20, | |
"total": 20, | |
"workspacePrefix": "/Users/romuquan/Documents/devserver/workspace/fe-core" | |
}, | |
"1 debug pnpm:package-manifest": { | |
"initial": { | |
"name": "performance", | |
"version": "1.0.0", |
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
### Keybase proof | |
I hereby claim: | |
* I am soundstep on github. | |
* I am romualdquantin (https://keybase.io/romualdquantin) on keybase. | |
* I have a public key ASAu7xS8jEhHgfZX9LNLoWwOP2nUlnb9Y8BQT1aKVhLtxAo | |
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
// ==UserScript== | |
// @name Extract Hades files | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @include http*://*hades* | |
// @grant none | |
// ==/UserScript== |
NewerOlder