- Modificado (modified);
- Preparado (staged/index)
- Consolidado (comitted);
This file contains hidden or 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
const DATE_PATTERN = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+$/; | |
function deserializeProperty(key, value) { | |
return typeof value === "string" && DATE_PATTERN.test(value) | |
? new Date(value) | |
: value; | |
} | |
const obj = JSON.parse('{ "date": "2016-04-26T18:09:16.61" }', deserializeProperty); | |
console.log(typeof obj.date); |
This file contains hidden or 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
/* | |
Solução do problema das n-rainhas (N-Queens Problem) | |
Autor: Marcos Castro | |
www.GeeksBR.com | |
*/ | |
#include <iostream> | |
#include <vector> | |
using namespace std; |
This file contains hidden or 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
function trimStart(character, string) { | |
var startIndex = 0; | |
while (string[startIndex] === character) { | |
startIndex++; | |
} | |
return string.substr(startIndex); | |
} |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Data.Entity; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using Common.Extensions; | |
using AutoMapper; | |
namespace Repository | |
{ |