# Monkey Patch Knapsack to merge reports instead of overwrite | |
begin | |
class Knapsack::Report | |
alias_method :save_without_leading_existing_report, :save | |
def save | |
Knapsack::Presenter.existing_report = open | |
save_without_leading_existing_report | |
end | |
end |
Following this guide will set up a local Elasticsearch with Kibana and Marvel using Homebrew and Homebrew Cask
If you already have Java
installed on your system, skip steps Install Cask and Install Java
If you already have Java
and Homebrew
installed on your system, skip steps Prerequisites, start at Install Elasticsearch and Kibana after running $ brew update
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
These are the Kickstarter Engineering and Data role definitions for both teams.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#Yale LDAP Example | |
require 'csv' | |
require 'net-ldap' | |
# Hashrocket Format | |
{:host => 'directory.yale.edu', :port => 389} | |
# "New" Format, requires keys be symbols | |
{host: 'directory.yale.edu', port: 389} |
A not politically correct assertion of my feelings towards a piece of software:
Note: Repetition builds cynicism, asset_sync
isn't bad, but when an asset problem cannot be solved via support it gets escalated to me. Often times someone using asset_sync
the problem is due to their use of the library and not from Heroku.
The asset sync gem uploads your assets (images, css, javascript) to S3. From there you can either point browsers to the copy on S3 or use a CDN + the S3 bucket. It's a good idea, and solved a problem at one time.
It is no longer needed and you should now use https://devcenter.heroku.com/articles/using-amazon-cloudfront-cdn instead. So rather than copying your assets over to S3 after they are precompiled the CDN grabs them from your website instead. Here's some reasons why it's better.
This gist was moved to its own repo to allow contributions: https://github.com/danguita/osx-for-developers. Feel free to pull request!
app_1: foreman start --root app_1 --port 3000 --env app_1/.env | |
app_2: foreman start --root app_2 --port 3100 --env app_2/.env | |
app_3: foreman start --root app_3 --port 3200 --env app_3/.env |