Docker cheatsheet.
-
To get the list of commands:
$ docker -
To search for images in docker index:
$ docker search tutorial
| { | |
| "scripts": { | |
| "test": "echo \"Error: no test specified\" && exit 1", | |
| "dev": "webpack-dev-server --config webpack.dev.js" | |
| }, | |
| "devDependencies": { | |
| "babel-core": "^6.14.0", | |
| "babel-loader": "^6.2.5", | |
| "babel-preset-es2015": "^6.14.0", | |
| "html-webpack-plugin": "^2.22.0", |
| <p data-overflow>Olá Daniel Nass, como está você meu filho?</p> |
| import colr from 'colr'; | |
| let colorTemperature = function(t) | |
| { | |
| // Map the temperature to a 0-1 range | |
| var a = (t + 30)/60; | |
| a = (a < 0) ? 0 : ((a > 1) ? 1 : a); | |
| // Scrunch the green/cyan range in the middle | |
| var sign = (a < .5) ? -1 : 1; |
Docker cheatsheet.
To get the list of commands:
$ docker
To search for images in docker index:
$ docker search tutorial
| [user] | |
| name = Pavan Kumar Sunkara | |
| email = [email protected] | |
| username = pksunkara | |
| [core] | |
| editor = vim | |
| whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| excludesfile = ~/.gitignore | |
| [sendemail] | |
| smtpencryption = tls |
| [{ "Note": "The first two digits (ranging from 10–43) correspond to the province, while the last two digits correspond either to the city/delivery zone (range 01–50) or to the district/delivery zone (range 51–99). Afghanistan Postal code lookup", "Country": "Afghanistan", "ISO": "AF", "Format": "NNNN", "Regex": "^\\d{4}$"}, { "Note": "With Finland, first two numbers are 22.", "Country": "Åland Islands", "ISO": "AX", "Format": "NNNNN", "Regex": "^\\d{5}$"}, { "Note": "Introduced in 2006, gradually implemented throughout 2007.", "Country": "Albania", "ISO": "AL", "Format": "NNNN", "Regex": "^\\d{4}$"}, { "Note": "First two as in ISO 3166-2:DZ", "Country": "Algeria", "ISO": "DZ", "Format": "NNNNN", "Regex": "^\\d{5}$"}, { "Note": "U.S. ZIP codes (range 96799)", "Country": "American Samoa", "ISO": "AS", "Format": "NNNNN (optionally NNNNN-NNNN or NNNNN-NNNNNN)", "Regex": "^\\d{5}(-{1}\\d{4,6})$"}, { "Note": |
| module.exports = { | |
| // ... all your other configs | |
| plugins: [ | |
| // ... all your other plugins | |
| { | |
| resolve: `gatsby-source-contentful`, | |
| options: { | |
| spaceId: process.env.CONTENTFUL_SPACE_ID, | |
| accessToken: process.env.CONTENTFUL_API_KEY, | |
| environment: process.env.CONTENTFUL_SPACE_ENVIRONMENT, |