-
Allows you to specify an HTTP action such as GET, POST, PUT or DELETE.
-
Example:
curl -X DELETE 'http://accounting.dev/v1/refunds/1'
const/let are block scoped (meaning anywhere we have an opening and closing curly brace we're creating a new scope).
It's generally agreed upon that block scope is a better paradigm than function scope which is why organizations like Mozilla have been primarily using let internally for years. Now that brings us to const. Everything let has, const also has. The only difference is that when you create a variable with const, that variable can't be re-assigned a new reference. Notice I didn't say that variable is immutable.
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
$ rake db:mongoid:create_indexes
or you can do it at compose.io too...
https://gorails.com/setup/osx/10.15-catalina
To migrate existing data from a previous major version of PostgreSQL run:
brew postgresql-upgrade-database
To have launchd start postgresql now and restart at login:
brew services start postgresql
Console Cable Setup:
- The red lead should be connected to 5V if you want to power via the cable, see below for details
- The black lead to GND (3rd pin down)
- The white lead to TXD on the Pi (4th pin down)
- The green lead to RXD on the pI (5th pin down)
Serve and watch for changes in a directory.
$ browser-sync start --directory --server --directory --files
$ cd /etc/default
$ sudo vi kodi
edit ``ENABLED=1back to
ENABLED=0`