Skip to content

Instantly share code, notes, and snippets.

{
"engagement": {
"architectures": [
{
"stages": [
{
"stage_name": "dev",
"display_name": "Dev Environment",
"domain": "http://dev.myapp.com",
"user_to_role": [
@priley86
priley86 / prettier-standard-tests.md
Last active October 6, 2017 17:14
Prettier -> Standard JS Tests

The Prettier Autoformatter fixes many common JS linting rules such those defined by Standard JS.

Total rules tested: 117

Total rules fixed: 49

Total rules not fixed: 68

Percent fixed automatically: 41.8%

@priley86
priley86 / Procfile
Created January 25, 2018 20:51
Procfile
# Web server workers
# The $PORT variable is set automatically by foreman for particular workers
# We tell foreman to start at 3000, it then increments by 1 per instance of a worker type
# and 100 per worker type.
#
# So, the first ui worker will get PORT=3000 while the next will get PORT=3001
# The first api worker will get PORT=3100 and the next will get PORT=3101
ui: env PORT=$PORT bundle exec rails r lib/workers/bin/run_single_worker.rb MiqUiWorker
api: env PORT=$PORT bundle exec rails r lib/workers/bin/run_single_worker.rb MiqWebServiceWorker
websocket: env PORT=$PORT bundle exec rails r lib/workers/bin/run_single_worker.rb MiqWebsocketWorker
@priley86
priley86 / Gemfile
Created January 25, 2018 20:57
classic-ui
source 'https://rubygems.org'
gemspec
#
# Custom Gemfile modifications
#
# Load developer specific Gemfile
# Developers can create a file called Gemfile.dev.rb containing any gems for
@priley86
priley86 / symlinks
Created January 25, 2018 21:26
symlinks
@priley86
priley86 / symlinks
Created January 25, 2018 21:26
symlinks
raise "Ruby versions less than 2.3.1 are unsupported!" if RUBY_VERSION < "2.3.1"
source 'https://rubygems.org'
#
# VMDB specific gems
#
gem "manageiq-gems-pending", ">0", :require => 'manageiq-gems-pending', :git => "https://github.com/ManageIQ/manageiq-gems-pending.git", :branch => "master"
# Modified gems for gems-pending. Setting sources here since they are git references
@priley86
priley86 / get-started-with-react.md
Last active May 24, 2019 04:13
Getting Start w/ React by Patrick Riley
@priley86
priley86 / .babelrc
Created March 7, 2018 15:47
babelrc
{
"presets": [
[
"env",
{
"modules": false,
"targets": {
"browsers": [
"> 1%",
"last 2 versions",
@priley86
priley86 / setup
Created March 7, 2018 16:00
current babel setup
{
"presets": [
[
"env",
{
"targets": {
"browsers": [
"> 1%",
"last 2 versions",
"Firefox ESR",