stocks-in-the-future

(★ 47)

No description available.

File Explorer

  • .better-html.yml
  • .dockerignore
  • .erb_lint.yml
  • .gitattributes
  • .gitignore
  • .rubocop.yml
  • .rubocop_rails_default.yml
  • .ruby-version
  • .standard.yml
  • Capfile
  • code-of-conduct.md
  • config.ru
  • CONTRIBUTING.md
  • docker-compose.yml
  • Dockerfile
  • Dockerfile.dev
  • Gemfile
  • Gemfile.lock
  • LICENSE.md
  • package.json
  • Procfile
  • Procfile.dev
  • pull_request_template.md
  • Rakefile
  • README.md
  • SECURITY.md
  • yarn.lock

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

aws ssm

View Details ▼

Securely interact with and manage AWS resources.
Note: Interactive sessions require the Session Manager plugin to be installed.

aws ssm send-command --instance-ids {{instance_id1 instance_id2 ...}} --document-name "AWS-RunShellScript" --parameters 'commands=["{{command}}"]'

Run commands on instances:

aws ssm list-command-invocations --instance-id "{{instance_id}}"

Check command invocations on an instance:

aws ssm list-command-invocations --command-id "{{command_id}}" --details

Check command output for a specific command invocation:

🔍

docker compose up

View Details ▼

Start and run Docker services defined in a Compose file.

docker compose up

Start all services defined in the docker-compose file:

docker compose up {{[-d|--detach]}}

Start services in the background (detached mode):

docker compose up --build

Start services and rebuild images before starting:

🔍

docker compose

View Details ▼

Run and manage multi container Docker applications.

docker compose ps

List all running containers:

docker compose up {{[-d|--detach]}}

Create and start all containers in the background using a `docker-compose.yml` file from the current directory:

docker compose up --build

Start all containers, rebuild if necessary:

🔍

npm install

View Details ▼

Install Node packages.

npm {{[i|install]}}

Install dependencies listed in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}

Download the latest version of a package and add it to the list of dev dependencies in `package.json`:

🔍

rails

View Details ▼

A server-side MVC framework written in Ruby.
Some subcommands such as `generate` have their own usage documentation.

rails new "{{project_name}}"

Create a new rails project:

rails generate scaffold Post title:string body:text

Generate a scaffold for a model named Post, predefining the attributes title and body:

rails db:migrate

Run migrations:

🔍

systemctl restart

View Details ▼

Stop and then start one or more systemd units.
Can be used in place of `systemctl start` on a stopped unit, but `start` is safer so that a running unit isn't accidentally restarted.

systemctl restart {{unit}}

Restart a unit:

systemctl restart {{unit1 unit2 ...}}

Restart more than one unit:

systemctl restart {{unit}} --user

Restart a user unit:

// repository documentation