View run.ps1
[regex]$reg = "(?<name>.+?)(\.\d+){3,4}\.nupkg$";
ls *.nupkg | sort -Descending | group { $reg.Match($_.Name).Groups["name"].Value } | where { $_.count -gt 1 } | % { $_.group | select -Skip 5 } | del
View Program.cs
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Dynamic;
using System.Linq;
namespace EfSqlQueryTree
{
class Program
{
View index.js
// ==UserScript==
// @name Sell for futbin value
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author Alberto Monteiro
// @match https://www.easports.com/fifa/ultimate-team/web-app/*
// @match https://www.easports.com/*/fifa/ultimate-team/web-app/*
// @updateURL https://gist.github.com/AlbertoMonteiro/273b47dcf656406bd168afb1f8245dcc
// @downloadURL https://gist.github.com/AlbertoMonteiro/273b47dcf656406bd168afb1f8245dcc
View Program.cs
using System;
namespace ConsoleApp2
{
class Program
{
private static readonly Type StringType = typeof(string);
static void Main(string[] args)
{
View SelectCertificate.cs
var store = new X509Store("MY");
store.Open(OpenFlags.ReadOnly | OpenFlags.OpenExistingOnly);
var collection2 = store.Certificates.Find(X509FindType.FindByKeyUsage, X509KeyUsageFlags.DigitalSignature, false);
var scollection = X509Certificate2UI.SelectFromCollection(collection2, "Certificado(s) Digital(is) disponível(is)", "Selecione o certificado digital para uso no aplicativo", X509SelectionFlag.SingleSelection);
View MeuApiController.cs
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Web.Http;
using System.Web.Http.Description;
namespace MeuProjeto.Web.Controllers.Api
{
View FileMediaFormatter.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.Reflection;
using System.Threading.Tasks;
View andrepaggi.cs
interface IConnectionString
{
string ObterConnectionDoClienteString();
}
class ConnectionString : IConnectionString
{
private Dicitionary<string, string> _connectionStrings = new Dicitionary<string, string>();
public string ObterConnectionDoClienteString()
View results.md
Elapsed Title
00:00:01.4098212 ADO Puro
00:00:01.4771617 Dapper
00:00:06.1009449 Entity Framework
00:00:01.6514433 Entity Framework Fast
00:00:06.5666193 NHibernate
View collations.md