Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
# Delete the `my_index` index | |
DELETE /people | |
# Map the `postcode` to be not_analyzed | |
PUT /people | |
{ | |
"settings": { | |
"analysis": { | |
"filter": { | |
"brazilian_stop": { |
# Delete the `people` index | |
DELETE /people | |
# Create the `people` index with proper settings | |
PUT /people | |
{ | |
"settings": { | |
"analysis": { | |
"filter": { | |
"brazilian_stop": { |
copy "$(TargetPath)" "$(ProjectDir)nuget-package\lib\net40\" | |
"$(SolutionDir)nuget\NuGet.exe" pack "$(ProjectDir)nuget-package\Automovel.Corretor.nuspec" -OutputDirectory "$(ProjectDir)nuget-package" | |
copy "$(ProjectDir)nuget-package\*.nupkg" "\\DC-000-043\wwwroot\nugetserver\Packages\" | |
copy "$(TargetPath)" "$(ProjectDir)..\nuget-package\lib\net40\" | |
"$(SolutionDir).nuget\NuGet.exe" pack $(ProjectPath) | |
copy "$(TargetDir)\*.nupkg" "\\sp-iis01t\nuget\integracoes\packages" | |
if $(ConfigurationName) == Release ( | |
echo "Publicando nuget package com contrato automovel corretor" |
1. Criando um repositório remoto | |
O Git possui várias formas de se comunicar, protocolos, com os repositórios. Estamos usando o chamado [wiki:git_protocolo_local Protocolo Local]. | |
Para criar um repositório remoto precisamos seguir os seguintes passos: | |
A. Abra o Bash do Git | |
B. Navegue até o local de criação | |
cd /x | |
cd dotnet |
//install-package AWSSDK | |
class Program | |
{ | |
private static IAmazonS3 _client; | |
private static byte[] DeflateCompress(Stream input) | |
{ | |
using (var compressStream = new MemoryStream()) | |
using (var compressor = new DeflateStream(compressStream, CompressionMode.Compress)) |
As a programmer I want to write a poem and hope that it will become software |
public class AssertProperties<T> | |
{ | |
private readonly ICollection<string> _errors = new List<string>(); | |
public class AssertValue<TResult> | |
{ | |
private readonly object _value; | |
private readonly string _propertName; | |
private readonly AssertProperties<T> _parent; | |
public class AssertProperties<T> | |
{ | |
private readonly ICollection<string> _errors = new List<string>(); | |
public class AssertValue<TResult> | |
{ | |
private readonly object _value; | |
private readonly string _propertName; | |
private readonly AssertProperties<T> _parent; |
# Delete the `people` index | |
DELETE /people | |
# Create the `people` index with proper settings | |
PUT /people | |
{ | |
"settings": { | |
"analysis": { | |
"filter": { | |
"brazilian_stop": { |