Run and manage a complete local instance of Example.
- Have all projects cloned as sibling directories:
~/code/example/
Warning: Failed prop type: Invalid prop `elements[0]` of type `function` supplied to `ElementsRenderer`, expected `object`. | |
in ElementsRenderer (created by render) | |
in render | |
in ScrollManager | |
in StaticContainer (created by BaseRouter) | |
in BaseRouter (created by ConnectedRouter) | |
in ConnectedRouter (created by FarceRouter) | |
in Provider (created by FarceRouter) | |
in FarceRouter (created by _ClientApp) | |
in div (created by Context.Consumer) |
title Arch Linux | |
linux /vmlinuz-linux | |
initrd /initramfs-linux.img | |
options cryptdevice=UUID=c064a135-4764-4ca8-9144-460d0395fd98:archlvm root=/dev/mapper/archvg-root quiet rw resume=/dev/mapper/archvg-swap |
ack | |
acpi | |
alsa-utils | |
amd-ucode | |
arandr | |
autoconf | |
automake | |
autorandr | |
aws-cli | |
bash |
#!/usr/bin/env bash | |
exec > >(tee /var/log/prepare-instance.log|logger -t prepare-instance -s 2>/dev/console) 2>&1 | |
set -e | |
AZ=$(curl --show-error --silent http://169.254.169.254/latest/meta-data/placement/availability-zone) | |
ID=$(curl --show-error --silent http://169.254.169.254/latest/meta-data/instance-id) | |
REGION=$(printf "%s" "$AZ" | sed 's/.$//') | |
set_instance_health() { |
require "securerandom" | |
module DuplicationExample | |
def identical(message, header: true) | |
body = [] | |
body << "-- HEADER --" if header | |
body << "-- MESSAGE --" | |
body << message | |
body << "-- FOOTER --" | |
message = body.join("\n") |
codeclimate analyze -f json -e rubocop > issues.json | |
cat issues.json | jq | |
cat issues.json | jq '. | length' | |
cat issues.json | jq '.[0] | keys' | |
cat issues.json | jq '.[0].fingerprint' | |
cat issues.json | jq '.[0] | .check_name, .fingerprint' | |
cat issues.json | jq '.[] | select(.severity == "minor")' | |
cat issues.json | jq '.[] | { check: .check_name, fingerprint: .fingerprint }' | |
cat issues.json | jq '.[0].remediation_points | . * 2' | |
cat issues.json | jq '.[0] | .remediation_points = .remediation_points * 2' |
AllCops: | |
TargetRubyVersion: 2.3 | |
Exclude: | |
- 'angular/**/*' | |
- 'bin/*' | |
- 'db/migrate/*' | |
- 'db/schema.rb' | |
- 'db/seeds/*' | |
- 'db/seed*' | |
- 'app/models/ability.rb' |
# Gemfile | |
source 'https://rubygems.org' | |
gem 'rake' | |
gem 'routable' |