Spec permanente do bounded context. Vive no repo enquanto o sistema viver. Atualize quando arquitetura ou regra de domínio mudar — não quando código mudar.
Em uma frase: o que esse contexto faz e o que não faz.
Updated by: Chris Simmons, based on the 5.2 Cheatsheet by Scott Borecki.
Please reach out if you have any comments or suggestions for updates!
rails -v to check your Rails version number.$:Updated by: Scott Borecki
[![LinkedIn: scott-borecki][linkedin-badge]][LinkedIn] [![Email: scottborecki@gmail.com][gmail-badge]][gmail] [![GitHub: Scott-Borecki][github-follow-badge]][GitHub]
Please reach out if you have any comments or suggestions for updates!
| 'use strict'; | |
| const functions = require('firebase-functions'); | |
| const {WebhookClient} = require('dialogflow-fulfillment'); | |
| var nodemailer = require('nodemailer'); | |
| function enviarEmail(usuario, produto, quantidade){ | |
| // Configurações do Email | |
| var transporter = nodemailer.createTransport({ | |
| service: 'gmail', |
| // ==UserScript== | |
| // @name Unblur scribd.com | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://vi.scribd.com/* | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { |
| defmodule Slug1 do | |
| def slugify(input), do: map_slug(input, %{pattern: ~r/\s+/}) | |
| def slugify2(input), do: map_slug(input, %{pattern: " "}) | |
| defp map_slug(input, %{pattern: pattern}) do | |
| input | |
| |> to_string() | |
| |> String.trim() | |
| |> String.downcase() |
| raise 'Wrong Ruby version!' unless RUBY_VERSION >= '2.6.0' | |
| module Strings | |
| Trim = -> str { String(str).strip } | |
| Replace = -> (sub, new_sub, str) { String(str).gsub(sub, new_sub) } | |
| LowerCase = -> str { String(str).downcase } | |
| end | |
| # -- Alternative syntax -- | |
| Slugify = # Slugify = |
The version of ImageMagick that is installed when you run apt-get install imagemagick on Ubuntu 14.04 is older than I would like.
$ convert --version
Version: ImageMagick 6.7.7-10 2016-06-01 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMPThese notes were for a job I am no longer at and are very dated. Please go to the imagemagick website for updated instructions.
The version of ImageMagick that is installed when you run apt-get install imagemagick on Ubuntu 14.04 is older than I would like.
$ convert --version