This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
» yarn start | |
yarn run v1.22.1 | |
$ backstage-cli backend:dev | |
Build succeeded | |
[HMR] Updated modules: | |
[HMR] - ../../plugins/scaffolder-backend/src/service/router.ts | |
[HMR] - ../../plugins/scaffolder-backend/src/index.ts | |
[HMR] - ./src/plugins/scaffolder.ts | |
[HMR] - ./src/index.ts | |
[HMR] Update applied. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$distances: ("s": 10px, "m": 25px); | |
$sides: left, top, bottom, right; | |
// This nested loop defines a set of spacer classes which we can use to place margins between | |
// elements. | |
// | |
// It generates slelectors which look like this: | |
// | |
// .ml--s { | |
// margin-left: 10px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A sample Gemfile | |
source "https://rubygems.org" | |
gem "activerecord" | |
gem "sqlite3" |
There are two programs:
- The docker daemon - a server process which manages all the containers
- The docker client - a remote control for the daemon
You can list the commands of the docker client by typing docker
with no arguments.
You can use container images which have been created by other people. You find them online in the docker index. You can search for images using docker search [keywords]
.
You probably don't want Google crawling your development staging app. Here's how to fix that.
$ mv public/robots.txt config/robots.production.txt
$ cp config/robots.production.txt config/robots.development.txt
Now edit config/routes.rb
to add a route for /robots.txt
, and add the controller code.
NewerOlder