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
{ | |
"basics": { | |
"name": "Emrah Karaman", | |
"label": "Senior Software Engineer | .NET Technology Specialist", | |
"image": "https://avatars0.githubusercontent.com/u/32803614?s=460&u=38f220a2c9c658141804f881c334c594eb1642ac&v=4", | |
"email": "[email protected]", | |
"phone": "5377049976", | |
"website": "", | |
"summary": "I am a software professional with over 6 years of experience in the industry, specializing in .NET technologies. I have a keen interest in clean coding, design patterns, and adhering to SOLID principles, which has led me to successfully execute various projects. My strong problem-solving skills enable me to tackle complex challenges effectively. Currently, I am working as a Software Engineer at Path, where I am involved in developing the product side of a marketplace application", | |
"location": { |
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
namespace GlobalExceptionHandling.Middleware | |
{ | |
public class ResponseModel | |
{ | |
public int responseCode { get; set; } | |
public string? responseMessage { get; set; } | |
} | |
} |
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.Net; | |
using System.Text.Json; | |
namespace GlobalExceptionHandling.Middleware | |
{ | |
public class GlobalExceptionHandlingMiddleware | |
{ | |
private readonly RequestDelegate _next; | |
public GlobalExceptionHandlingMiddleware(RequestDelegate next) |
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
[HttpGet(Name = "GetWeatherForecast")] | |
public IActionResult Get() | |
{ | |
try | |
{ | |
IEnumerable<WeatherForecast> list = Enumerable.Range(1, 5).Select(index => new WeatherForecast | |
{ | |
Date = DateTime.Now.AddDays(index), | |
TemperatureC = Random.Shared.Next(-20, 55), | |
Summary = Summaries[Random.Shared.Next(Summaries.Length)] |
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
[ | |
{ | |
"name": "Adana", | |
"districts": [ | |
{ | |
"name": "Aladağ" | |
}, | |
{ | |
"name": "Ceyhan" | |
}, |
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
function onlyUnique(value, index, self) { | |
return self.indexOf(value) === index; | |
} | |
// usage example: | |
var a = ['a', 1, 'a', 2, '1']; | |
var unique = a.filter( onlyUnique ); // returns ['a', 1, 2, '1'] |
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.Net; | |
public class GoogleCaptha | |
{ |
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
// Install-Package iTextSharp -Version 5.5.10 | |
using iTextSharp.text; | |
using iTextSharp.text.pdf; | |
using iTextSharp.text.html.simpleparser; | |
private void printHtmlToPdf(string html) | |
{ |
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
bin,banka_kodu,banka_adi,type,sub_type,virtual,prepaid | |
413226,10,T.C. ZİRAAT BANKASI A.Ş.,VISA,PLATINUM | |
444676,10,T.C. ZİRAAT BANKASI A.Ş.,VISA,CLASSIC | |
444677,10,T.C. ZİRAAT BANKASI A.Ş.,VISA,GOLD | |
444678,10,T.C. ZİRAAT BANKASI A.Ş.,VISA,PLATINUM | |
453955,10,T.C. ZİRAAT BANKASI A.Ş.,VISA, CLASSIC | |
453956,10,T.C. ZİRAAT BANKASI A.Ş.,VISA, GOLD | |
454671,10,T.C. ZİRAAT BANKASI A.Ş.,VISA, CLASSIC | |
454672,10,T.C. ZİRAAT BANKASI A.Ş.,VISA, CLASSIC | |
454673,10,T.C. ZİRAAT BANKASI A.Ş.,VISA, BUSINESS |
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
USE [OnlineEducation] | |
GO | |
SET IDENTITY_INSERT [dbo].[Lesson] ON | |
GO | |
INSERT [dbo].[Lesson] ([ID], [Name], [Mission]) VALUES (1, N'Ders 1', N'Ders 1 amaç') | |
GO | |
INSERT [dbo].[Lesson] ([ID], [Name], [Mission]) VALUES (2, N'Ders 2', N'Ders 2 amaç') | |
GO | |
INSERT [dbo].[Lesson] ([ID], [Name], [Mission]) VALUES (3, N'Ders 3', N'Ders 3 amaç') | |
GO |
NewerOlder