Skip to content

Instantly share code, notes, and snippets.

View Definence's full-sized avatar
🎯
Focusing

Bogdan Yarosh Definence

🎯
Focusing
View GitHub Profile
@Definence
Definence / curl.md
Created June 13, 2019 06:58 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@Definence
Definence / jest_with_require_context
Last active October 24, 2018 09:06 — forked from ezidio/jest.config.js
Jest transformer works with webpack's require.context
module.exports = {
verbose: true,
moduleDirectories: ['node_modules'],
transform: {
'\\.js$': '<rootDir>/../build/utils/webpack_polyfill'
}
}