This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
devise_for :users, skip: :all | |
devise_scope: use do | |
get 'admin/login', to: 'amin/sessions#new' | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Agenda | |
1. Domain Driven Design | |
1.1 Overview | |
1.2 Entity | |
1.3 Value Object | |
1.4 Aggreation | |
1.5 Repository | |
1.6 Service | |
1.7 Domain Events |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Essas são as funcionalidades brevemente descritas pelo cliente. Se você acessar o site urbe.me tudo vai ficar mais fácil entender, porque | |
o cliente quer uma plataforma semelhante. | |
Como referencia para ajudar na criação da identidade visual e no entendimento do que ele precisa seguem duas urls | |
https://oiwarren.com/ | |
http://urbe.me | |
1 Tela Incial | |
1.1 Video de apresentação |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Precisa atender seus clientes mas nao quer arcar com as despesas de um imóvel? | |
2. Sao muitos os desafios para empreender, sua vida seria mais fácil se fosse possível encontrar um espaço na região de sua preferencia e com preço que caiba no seu bolso? | |
3. Que tal encontrar um espaço para suas reuniões, seu evento ou para alocar sua equipe sem precisar sair de casa? | |
4. Você sabia que agora é possível encontrar uma sala para suas reuniões, seu evento ou para sua equipe próximo dos melhores endereços direto do seu smartphone ou tablet? | |
5. Já pensou em dividir seu escritório ou consultório para reduzir custos? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class BaseContext<TContext> : DbContext, IDataContext, IQueryDataContext, IUnitOfWork | |
where TContext : DbContext | |
{ | |
public override int SaveChanges() | |
{ | |
return Save(() => | |
{ | |
var affectedRows = base.SaveChanges(); | |
return Task.FromResult(affectedRows); | |
}).Result; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let items = [4, 5, 80]; | |
let results = []; | |
items.forEach(function(x) { | |
let number = x; | |
let result = 0; | |
let a = 0; | |
let b = 0; | |
result = (number / 4); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script data-cfasync="false"> | |
window.civchat = { | |
apiKey: "RnPwwO6i9FjR2jfUUZ25ojfvXBWZiYDdC0dzy2XNrj1MQIk8gjTRozQiXlRHcm30", | |
name: "", | |
email: "" | |
}; | |
</script> | |
<script data-cfasync="false" src="https://widget.userengage.io/widget.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
# name = Diego Dias | |
# email = [email protected] | |
[merge] | |
tool = tortoisemerge | |
[mergetool "tortoisemerge"] | |
cmd = \""c:/Program Files/TortoiseSVN/bin/TortoiseMerge.exe"\" -base:"$BASE" -theirs:"$REMOTE" -mine:"$LOCAL" -merged:"$MERGED" | |
keepBackup = false | |
trustExitCode = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ArgumentIsNullOrWhitespace, The argument '{0}' cannot be null, empty or contain only white space.] | |
[AssociatedMetadataTypeTypeDescriptor_MetadataTypeContainsUnknownProperties, The associated metadata type for type '{0}' contains the following unknown properties or fields: {1}. Please make sure that the names of these members match the names of the properties on the main type.] | |
[AttributeStore_Type_Must_Be_Public, The type '{0}' must be public.] | |
[AttributeStore_Unknown_Method, The type '{0}' does not contain a public method named '{1}'.] | |
[AttributeStore_Unknown_Property, The type '{0}' does not contain a public property named '{1}'.] | |
[Common_NullOrEmpty, Value cannot be null or empty.] | |
[Common_PropertyNotFound, The property {0}.{1} could not be found.] | |
[CompareAttribute_MustMatch, '{0}' and '{1}' do not match.] | |
[CompareAttribute_UnknownProperty, Could not find a property named {0}.] | |
[CreditCardAttribute_Invalid, The {0} field is not a valid credit card number.] |