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
<html> | |
<head> | |
<script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script> | |
<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js"></script> | |
</head> | |
<body> | |
<script id="itemTemplate" type="text/x-jquery-tmpl"> | |
<tr> | |
<td>${Nome}</td> |
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 struct Nome | |
{ | |
private readonly string _valor; | |
public Nome(string nome) : this() | |
{ | |
_valor = nome; | |
} | |
public static implicit operator Nome(string nome) |
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
---------------------- Class Project: MvcApplication2.Dominio | |
namespace MvcApplication2.Dominio | |
{ | |
public abstract class Pessoa : Entidade<long> | |
{ | |
} | |
public class PessoaFisica : Pessoa | |
{ |
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
using UnityEngine; | |
using System.Collections; | |
public class Level { | |
public Mesh mesh; | |
private bool drawDebugMesh; | |
private Path path; | |
private Face[] faces; |
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
An unhandled exception occurred while processing the request. | |
ArgumentException: Invalid cookie value: %5B%22mvc_implicit%22,%22js_oidc%22%5D | |
Parameter name: value | |
Microsoft.Net.Http.Headers.CookieHeaderValue.CheckValueFormat(String value, String parameterName) | |
Stack Query Cookies Headers | |
ArgumentException: Invalid cookie value: %5B%22mvc_implicit%22,%22js_oidc%22%5D | |
Parameter name: value | |
Microsoft.Net.Http.Headers.CookieHeaderValue.CheckValueFormat(String value, String parameterName) |
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
using System; | |
using System.IO; | |
using System.Net.Http; | |
using Microsoft.AspNet.Hosting; | |
using Microsoft.AspNet.TestHost; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.Extensions.PlatformAbstractions; | |
using System.Reflection; | |
using Microsoft.AspNet.Mvc.Infrastructure; |
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
using System.Runtime.Versioning; | |
using Microsoft.Extensions.PlatformAbstractions; | |
namespace PJMT.Aurora.IdentityServer.IntegratedTests | |
{ | |
public class TestApplicationEnvironment : IApplicationEnvironment | |
{ | |
private readonly IApplicationEnvironment _original; | |
public TestApplicationEnvironment(IApplicationEnvironment original, string configuration, string name, string basePath) |
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
package com.netflix.experiments.rx; | |
import java.util.HashMap; | |
import java.util.Map; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import rx.Observable; | |
import rx.Observable.OnSubscribe; |
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
# delete the dotnet folder under /usr/local/share/dotnet | |
1. cd /usr/local/share/dotnet && ls | |
2. sudo rm -rf dotnet | |
# delete the dotnet reference file at /etc/paths.d/dotnet | |
1. cd /etc/paths.d && ls | |
2. sudo rm dotnet |
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
db.getCollection('Events').count(); | |
db.getCollection('Events').find({ 'metadata.eventVersion': { $type: 2 } }).count() | |
db.getCollection('Events').find({ 'metadata.eventVersion': { $type: 16 } }).count() | |
db.getCollection('Events').find({}) | |
// FIX | |
db.getCollection('Events').find({ 'metadata.eventVersion': { $type: 2 } }).forEach(function (i) { | |
i.metadata.eventVersion = NumberInt(i.metadata.eventVersion); |
OlderNewer