Skip to content

Instantly share code, notes, and snippets.

View shahedbd's full-sized avatar
🎯
Focusing

R M Shahidul Islam Shahed shahedbd

🎯
Focusing
View GitHub Profile
@shahedbd
shahedbd / SQL_Join_Table_Data.sql
Last active May 20, 2022 15:31
Example of Inner Join, Left Join, Right Join, and Full Outer Join in MS SQL Server
/****** SQL Join Query ******/
select * from Payments
select * from PaymentsDetails
select count(*) from Payments
select count(*) from PaymentsDetails
select A.Id,A.VisitId,A.GrandTotal,B.Quantity,B.UnitPrize,B.TotalAmount
from Payments A inner join PaymentsDetails B on A.Id = B.PaymentsId
<h1>Privacy Policy</h1>
<p>Effective date: November 17, 2019</p>
<p>Personal ("us", "we", or "our") operates the https://gist.github.com/shahedbd/0c204076582bae103183b74e617386f9 website (the "Service").</p>
<p>This page informs you of our policies regarding the collection, use, and disclosure of personal data when you use our Service and the choices you have associated with that data. Our Privacy Policy for Personal is created with the help of the <a href="https://www.freeprivacypolicy.com/free-privacy-policy-generator.php">Free Privacy Policy Generator</a>.</p>
@shahedbd
shahedbd / CommonCode.cs
Created October 24, 2019 19:15
Common Code
Console.WriteLine(Environment.CurrentDirectory);
string ProjectDirPath = Path.GetFullPath(Path.Combine(Environment.CurrentDirectory, @"..\..\..\"));
Console.WriteLine(ProjectDirPath);
Console.WriteLine(ProjectDirPath + "Data");
Console.WriteLine(Assembly.GetEntryAssembly().Location);
Console.WriteLine(new Uri(Assembly.GetEntryAssembly().CodeBase).LocalPath);
public interface ISendGridEmailSender
{
Task<Tuple<string, string, string>> Execute(string filePath);
}
public class SendGridEmailSender: ISendGridEmailSender
{
public async Task<Tuple<string, string, string>> Execute(string filePath)
@shahedbd
shahedbd / readme.md
Last active October 14, 2019 17:42
.Net Core CMD

C#

dotnet new sln -n AutoMapperDemo
dotnet new mvc -n AutoMapperDemo
dotnet sln AutoMapperDemo.sln add AutoMapperDemo/AutoMapperDemo.csproj

### Off SSL
dotnet new webapi --no-https
@shahedbd
shahedbd / How-to-Win-Friends-and-Influence-People.md
Created July 6, 2018 09:47 — forked from justincampbell/How-to-Win-Friends-and-Influence-People.md
Principles of How to Win Friends and Influence People

How to Win Friends and Influence People

Fundamental Techniques in Handling People

  1. Don't criticize, condemn, or complain.
  2. Give honest and sincere appreciation.
  3. Arouse in the other person an eager want.
  4. Never show others that you are not interested in what they have to say.