Skip to content

Instantly share code, notes, and snippets.

View Narutuffy's full-sized avatar
💻

Vamsi Rao Narutuffy

💻
View GitHub Profile
At the dir 'npm install --save-dev eslint-config-rallycoding'
At the dir make a file with name .eslintrc with the code as below
{
"extends":"rallycoding"
}
Considering this to be the index file of the directory, you export all the other files of the directory from here.
CASE 1: When other file contains couple of export consts then:
export * from './actions';
CASE: When other file contains export default:
import Header from './Header';
export default {
background: linear-gradient(45deg, rgb(118, 196, 226) 0%, rgb(133, 203, 168) 100%);
background: linear-gradient(45deg, rgb(241, 105, 117) 0%, rgb(246, 146, 89) 100%);
background: linear-gradient(45deg, rgb(129, 118, 181) 0%, rgb(186, 119, 177) 100%);
background: linear-gradient(45deg, rgb(129, 118, 181) 0%, rgb(118, 196, 226) 100%);
background: linear-gradient(135deg,#a177ff 0,#02ceff 100%);
@Narutuffy
Narutuffy / curl.md
Created January 29, 2019 07:08 — 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.