I hereby claim:
- I am amencarini on github.
- I am amencarini (https://keybase.io/amencarini) on keybase.
- I have a public key whose fingerprint is DBE9 9C15 341C 4183 61D3 848E 8633 62E4 A8B0 EC24
To claim this, I am signing this object:
| def compute_order(order) | |
| matched_line_items = order.line_items.select do |line_item| | |
| line_item.product.tax_category == rate.tax_category | |
| end | |
| line_items_total = matched_line_items.sum(&:total) | |
| round_to_two_places(line_items_total - ( line_items_total / (1 + rate.amount) ) ) | |
| end | |
| def compute_line_item(line_item) |
| -> | |
| alert('Hello World!') |
| module DerandomizableId | |
| extend ActiveSupport::Concern | |
| included do | |
| before_create :set_id | |
| end | |
| def set_id | |
| attrs = self.attributes | |
| attrs.delete('_id') |
| Collaboratively administrate empowered markets via plug-and-play networks. Dynamically procrastinate B2C users after installed base benefits. Dramatically visualize customer directed convergence without revolutionary ROI. | |
| Efficiently unleash cross-media information without cross-media value. Quickly maximize timely deliverables for real-time schemas. Dramatically maintain clicks-and-mortar solutions without functional solutions. | |
| Completely synergize resource sucking relationships via premier niche markets. Professionally cultivate one-to-one customer service with robust ideas. Dynamically innovate resource-leveling customer service for state of the art customer service. | |
| Globally incubate standards compliant channels before scalable benefits. Quickly disseminate superior deliverables whereas web-enabled applications. Quickly drive clicks-and-mortar catalysts for change before vertical architectures. | |
| Credibly reintermediate backend ideas for cross-platform models. Continually reintermediate integrated proce |
I hereby claim:
To claim this, I am signing this object:
| match (s:Squad)--(player:Player)--()-[:SCORED_GOAL]->(g) | |
| where s.name =~ "England.*" | |
| return player.name, count(distinct g) as count | |
| order by count desc | |
| limit 10 |
| match (wc:WorldCup)-->(m:Match) | |
| optional match (m)<--()-[:SCORED_GOAL]->(g:Goal) | |
| return wc.name, (count(distinct g) * 1.0 / count(distinct m)) as average | |
| order by wc.name desc |
| defmodule Client do | |
| defmacro __using__(resources: resources) do | |
| for {singlular, plural} <- resources do | |
| quote bind_quoted: [singlular: singlular, plural: plural] do | |
| def one(singlular, id) do | |
| get("/api/#{plural}/#{id}") | |
| end | |
| end | |
| end | |
| end |
| # This works | |
| defmodule Resources do | |
| defmacro __using__(resource) do | |
| quote bind_quoted: [resource: resource] do | |
| def one(resource, id), do: IO.puts "/api/#{resource}/#{id}" | |
| end | |
| end | |
| end | |
| defmodule MainApp do |
| module Seat exposing (Model, Msg, view, init, update) | |
| import Html exposing (Html, text, li) | |
| import Html.Attributes exposing (class) | |
| import Html.Events exposing (onClick) | |
| -- MODEL | |
| type alias Model = |