- Anita lava la tina
- Si es nueve se ve un seis
- Amo la pacífica paloma
- Luz, a Noel le arañará el león azul.
- Ana me sala soja y ajos a la semana.
- Romano coloso superbo se sobrepuso sólo con amor.
- Es Adán, ya ve, yo soy Eva y nada sé.
- Ser él la talla. Allá talleres
- Es raro llorar y oír ese verbo vivo, breve, serio y raro: llorarse.
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.Globalization; | |
using System.Text; | |
public static class StringExtensions | |
{ | |
public static string RemoveAccents(this string textInput) | |
{ | |
if (string.IsNullOrEmpty(textInput)) | |
{ | |
return string.Empty; |
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 class ApiInternalClientWithBasicAuth { | |
private const string AUTH_SCHEME_BASIC = "Basic"; | |
private IHttpClientFactory _httpClientFactory; | |
public ApiInternalClient(IHttpClientFactory httpClientFactory) | |
{ | |
_httpClientFactory = httpClientFactory; | |
} |
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
DECLARE @strSQL NVARCHAR(1000) | |
IF NOT EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[TRY_CAST]')) | |
BEGIN | |
SET @strSQL = 'CREATE FUNCTION [dbo].[TRY_CAST] () RETURNS INT AS BEGIN RETURN 0 END' | |
EXEC sys.sp_executesql @strSQL | |
END | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON |
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
#r "Newtonsoft.Json" | |
using System.Net; | |
using Microsoft.AspNetCore.Mvc; | |
using Microsoft.Extensions.Primitives; | |
using Newtonsoft.Json; | |
using System.Text; | |
//private static HttpClient httpClient = new HttpClient(); |
Remove all commits local
'''git reset --hard origin/master
- Example Datetime in Blazor https://blazorfiddle.com/s/soykw9pn
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
var moduleAssembly = Assembly.Load("Starwars.Modules.Empire"); | |
//builder.RegisterAssemblyModules(moduleAssembly); //Not work with parameter, Not work inject DI | |
var modules = from t in moduleAssembly.GetTypes() | |
where typeof(Autofac.Module).IsAssignableFrom(t) | |
select t; | |
foreach (var module in modules.ToList()) | |
{ |