Skip to content

Instantly share code, notes, and snippets.

View NeelBhatt's full-sized avatar
👨‍💻

NeelBhatt

👨‍💻
View GitHub Profile
CREATE TABLE [dbo].[InjuryRecords] (
[PlayerKey] varchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[GameID] varchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[PlayKey] varchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[BodyPart] varchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
using System;
interface IInterfaceModifiers
{
//By Default default method is private
virtual void DefaultMethod()=>Console.WriteLine("Default method");
using System;
interface First
{
void WritetoConsole() => Console.Write("In First");
}
Interface First
{
void WritetoConsole() => Console.Write("In First");
}
interface Second:First{
class Program
{
static void Main(string[] args)
{
ILogger _logger = new TextLogger();
using System;
public interface ILogger
{
void Log(string info);
//Default implementation
public interface ILogger
{
void Log(string info);
void Log(string type of information,string info)
}
using System;
public interface ILogger
{
void Log(string Info);
}
@NeelBhatt
NeelBhatt / popup.js
Created April 19, 2019 10:56
popup.js
var __awaiter = chrome.extension.getBackgroundPage().__awaiter;
var connection = chrome.extension.getBackgroundPage().connection;
document.addEventListener('DOMContentLoaded', function () {
const streamStartButton = document.getElementById('streamStartButton');
const streamStopButton = document.getElementById('streamStopButton');
const streamContent = document.getElementById('streamContent');
const logContent = document.getElementById('logContent');
streamStartButton.addEventListener("click", (event) => __awaiter(this, void 0, void 0, function* () {
@NeelBhatt
NeelBhatt / popup.html
Created April 19, 2019 10:55
popup.html
<!doctype html>
<html>
<head>
<title>Pi MonitR Dashboard</title>
<script src="popup.js" type="text/javascript"></script>
</head>
<body>
<h1>Pi MonitR - Stream Dashboard</h1>