I hereby claim:
- I am 6temes on github.
- I am 6temes (https://keybase.io/6temes) on keybase.
- I have a public key ASDQ3JtZQs2FAPh593JvNYjCYaF6wzf338vY-O_mCUKlUgo
To claim this, I am signing this object:
| # Kill rails server and guard | |
| bin/spring stop | |
| brew services stop mysql | |
| brew uninstall mysql | |
| brew install mysql@5.5 | |
| brew link mysql@5.5 --force | |
| brew services start mysql@5.5 | |
| rbenv uninstall 2.3.3 | |
| rbenv install 2.3.3 | |
| gem install bundle |
| #!/bin/bash | |
| # Source: http://blog.nonuby.com/blog/2012/07/05/copying-env-vars-from-one-heroku-app-to-another/ | |
| set -e | |
| sourceApp="$1" | |
| targetApp="$2" | |
| while read key value; do |
I hereby claim:
To claim this, I am signing this object:
| import axios from 'axios' | |
| import jsifyKeysDeep from 'jsify-case-keys-deep' // Like `camelcase-keys-deep` but also transforms suffix '?' with prefix `is` | |
| import decamelizeKeysDeep from 'decamelize-keys-deep' | |
| import Qs from 'qs' | |
| export default (baseURL) => { | |
| const axiosClient = axios.create({ | |
| baseURL, | |
| responseType: 'json', | |
| }) |
| import Qs from 'qs' | |
| import axios from 'axios' | |
| import axiosMiddleware from 'redux-axios-middleware' | |
| import decamelizeKeysDeep from 'decamelize-keys-deep' | |
| import jsifyKeysDeep from 'jsify-case-keys-deep' // Like `camelcase-keys-deep` but also transforms suffix '?' with prefix `is` | |
| const axiosMiddlewareConfig = { | |
| interceptors: { | |
| request: [ | |
| (_, request) => { |
| # frozen_string_literal: true | |
| class ArrayValidator < ActiveModel::EachValidator | |
| ERROR_MESSAGE = 'An array must be supplied in the :is_subset_of option ' \ | |
| 'of the configuration hash' | |
| def validate_each(record, attribute, value) | |
| return unless value.is_a? Array | |
| return if (value - other).empty? |
Fundbook is a next-generation M&A matching service that revolutionizes the current M&A’s market. Fundbook helps investors to find the best deals and company owners find successors with matching corporate philosophy.
We are a growing multinational team developing a matchmaking platform for the M&A market.
| env: | |
| PGHOST: localhost | |
| PGPASS: runner | |
| PGUSER: runner | |
| RAILS_ENV: test | |
| DATABASE_URL: postgresql://runner:runner@localhost | |
| name: Rails Tests | |
| on: [push, pull_request_review] |
| # | |
| # Injects the Current attributes into the job arguments automatically when enqueuing | |
| # and sets the Current attributes from the job arguments when performing. | |
| # For testing, you can pass the current attributes as the last argument to `perform_later`: | |
| # | |
| # MyJob.perform_later(arg1, arg2, _current_attributes: { person: person, trust: trust }) | |
| # | |
| # This will set the Current attributes to the given values when performing the job. | |
| # | |
| # If you want to set the Current attributes when enqueuing the job, include this module in your job class: |