Skip to content

Instantly share code, notes, and snippets.

Keith Davidson davidsk

  • UK
Block or report user

Report or block davidsk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@davidsk
davidsk / update-database.ps1
Created Oct 7, 2019
Synchronise EF Core Database with Code
View update-database.ps1
param (
[Parameter(Mandatory=$true)][string]$project
[Parameter(Mandatory=$true)][string]$context
[string]$startupProject
)
Set-Location $PSScriptRoot
if (-Not ($startupProject))
{
@davidsk
davidsk / app.html
Created Dec 28, 2018 — forked from jdanyow/app.html
Aurelia Gist
View app.html
<template>
<h1>${message}</h1>
</template>
View javascriptModule
// constructor function
function Foo(){
//public
this.name = "Bob";
// private
var self = this, // <-- assign 'this' within constructor to private variable to allow private methods access to the object members
x = 6;
@davidsk
davidsk / WeekOfDay Count Calculator.js
Last active Sep 20, 2016
WeekOfDay Count Calculator created by davidsk - https://repl.it/DFqJ/25
View WeekOfDay Count Calculator.js
var DayOfWeek = {
Sunday: 0,
Monday: 1,
Tuesday: 2,
Wednesday: 3,
Thursday: 4,
Friday: 5,
Saturday: 6
};
You can’t perform that action at this time.