- Need to tap casks before
- Ansible does not reinstall home brew
- Will not reinstall rvm if there is already a ~/.rvm directory
brew tap homebrew/dupes brew install caskroom/cask/brew-cask brew install python pip install mercurial brew install ansible
| $ cd /opt/atla/current | |
| $ RAILS_ENV=production bundle exec rails c | |
| > u = User.where(email: 'EMAIL').first | |
| > u.password = u.password_confirmation = "PASSWORD" | |
| > u.save | |
| > exit | |
| $ exit |
| diff --git a/src/services/OptimizelyActions.js b/src/services/OptimizelyActions.js | |
| index bf38f78..a48e6aa 100644 | |
| --- a/src/services/OptimizelyActions.js | |
| +++ b/src/services/OptimizelyActions.js | |
| @@ -12,8 +12,14 @@ const DEFAULT_VARIATION = 'default' | |
| function getCookie(name) { | |
| const values = document.cookie.split(`; `) | |
| + const match = values.find(value => value.split('=')[0] === name) | |
| + if match { |
| Processing by Refinery::Feast::OrgsController#show as HTML | |
| Rendering /home/app/refinerycms/core/app/views/layouts/application.html.erb | |
| Rendering refinery/feast/orgs/show.html.erb within layouts/application | |
| Rendered collection of refinery/blog/news/_card_vertical.html.erb [1 times] (94.5ms) | |
| Rendered /home/app/refinerycms/core/app/views/glass/_cms_shortcut.html.erb (1.0ms) | |
| Rendered refinery/blog/content_spots/_home_featured.html.erb (133.9ms) | |
| Rendered /home/app/blog/app/views/refinery/blog/_content_spot.html.erb (138.2ms) | |
| Rendered /home/app/refinerycms-feast/app/views/refinery/feast/_content_spot.html.erb (151.0ms) | |
| Rendered refinery/blog/content_spots/_advertisement.html.erb (17.3ms) | |
| Rendered collection of refinery/blog/news/_card_vertical.html.erb [6 times] (576.8ms) |
| ### Keybase proof | |
| I hereby claim: | |
| * I am orangewolf on github. | |
| * I am orangewolf (https://keybase.io/orangewolf) on keybase. | |
| * I have a public key ASAqnmRtxkqGdZo5yQZdBoVFfHGtDYti12coZPt3ESFV2Qo | |
| To claim this, I am signing this object: |
| } | |
| + this.onUpdateMessage = this.updateMessage.bind(this) | |
| + this.onUpdateUser = this.updateUser.bind(this) | |
| + this.onUpdateEvent = this.updateEvent.bind(this) | |
| } | |
| componentWillMount(){ | |
| - eventStore.on('current event fetched', this.updateMessage.bind(this)); | |
| - eventStore.on('votes counted', this.updateMessage.bind(this)); | |
| - userStore.on('voted set to false', this.updateUser.bind(this)); | |
| - eventStore.on('new event created', this.updateEvent.bind(this)); |
| sudo fallocate -l 1G /swapfile | |
| sudo chmod 600 /swapfile | |
| sudo mkswap /swapfile | |
| sudo swapon /swapfile | |
| echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab | |
| sudo swapon --show |
| Step 1) | |
| mkdir ./bundle | |
| touch ./bundle/.gitkeep | |
| git add ./bundle/.gitkeep | |
| echo 'bundle/*' >> .gitignore | |
| Step 2) in your Dockerfile | |
| COPY ./bundle /bundle | |
| ENV BUNDLE_GEMFILE=$APP_HOME/Gemfile \ | |
| BUNDLE_JOBS=2 \ |
| // in render return | |
| <div> | |
| <Formsy.Form ref="form" | |
| onValidSubmit={this.onSubmit} | |
| onValid={this.props.enableSubmit} | |
| className="" | |
| onInvalid={this.props.disableSubmit} | |
| onChange={this.props.onChange}> | |
| <FormsyFile | |
| id="avatar" |
| # Install Homebrew | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| # Install casks | |
| brew tap caskroom/cask | |
| echo 'export HOMEBREW_CASK_OPTS="--appdir=/Applications"' >> ~/.bash_profile | |
| source ~/.bash_profile | |
| # Install Postgresql via homebrew |
brew tap homebrew/dupes brew install caskroom/cask/brew-cask brew install python pip install mercurial brew install ansible