Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Bogdan Yarosh Definence

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

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 Oct 24, 2018 — forked from ezidio/jest.config.js
Jest transformer works with webpack's require.context
View jest_with_require_context
module.exports = {
verbose: true,
moduleDirectories: ['node_modules'],
transform: {
'\\.js$': '<rootDir>/../build/utils/webpack_polyfill'
}
}