View CmhF-0.rb
# 1992 Dream Team at Olympic Games in Barcelona, Spain | |
team = { | |
Karl_Malone: "Power Forward", | |
Christian_Laettner: "Power Forward", | |
Charles_Barkley: "Power Forward", | |
David_Robinson: "Center", | |
Patrick_Ewing: "Center", | |
Scottie_Pippen: "Strong Forward", | |
Chris_Mullen: "Strong Forward", |
View gist:6cf56dc7df9b8b7c6e006aeb7a24f6eb
def fib(first_num, second_num) | |
limit = 11 | |
while second_num < limit | |
sum = first_num + second_num | |
first_num = second_num | |
second_num = sum | |
end | |
sum | |
end |
View main.cs
using System; | |
using System.Globalization; | |
namespace CSharpQuiz | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
View AbstractClass.cs
using System; | |
namespace CoreyAbstractClassHW | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Pliers pliers = new Pliers | |
{ |
View RazorPractice.cshtml
@* https://stackoverflow.com/questions/6286868/convert-month-int-to-month-name/6286910 *@ | |
@* https://blogs.msdn.microsoft.com/timlee/2010/07/30/using-functions-in-an-asp-net-page-with-razor-syntax/ *@ | |
@{ | |
ViewData["Title"] = "RazorPractice"; | |
} | |
<h1>Razor Practice</h1> |
View gist:75485a205fe33022b2966810cd444c56
 | |
--- | |
<a href="https://dev.to/kironroy"> | |
<img src="https://d2fltix0v2e0sb.cloudfront.net/dev-badge.svg" alt="Kiron Roy's DEV Profile" height="40" width="40"> | |
</a> | |
View sql.txt
-- inner join: only the records that match | |
-- left join: all the records from the left table, and all the matching records from the right table | |
-- right join: all the records from the right table, and all the matching records from the left table | |
select c.CompanyName, l.City | |
from dbo.Customers c | |
left join dbo.Locations l on c.id = l.CustomerId |
View csharp.md
Database Info
C# Topics
C# Notes
C# Web API
Database Info
C# Topics
C# Notes
C# Web API
View SqlDataAccess.cs
using Dapper; | |
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.Data.SqlClient; | |
using System.Linq; | |
using System.Text; | |
namespace DataAccessLibrary | |
{ |
View SqlCRUD
using DataAccessLibrary.Models; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace DataAccessLibrary | |
{ | |
// this class will use the SQLDataAccess.cs | |
OlderNewer