Skip to content

Instantly share code, notes, and snippets.

View ernie58's full-sized avatar
🎯
Focusing

ernie58

🎯
Focusing
View GitHub Profile
@ernie58
ernie58 / 0001-beginnings.patch
Created March 5, 2020 08:43
E&Y ruling codefiles
From 0cbdd1404299d8ee9b0b691664877abbb497ff1e Mon Sep 17 00:00:00 2001
From: ernie58 <[email protected]>
Date: Mon, 24 Feb 2020 17:18:50 +0100
Subject: [PATCH] beginnings
---
Gruntfile.js | 2 +-
app/styles/skins/passepartout.scss | 255 ++++++++++++++++++
.../skins/passepartout/container-bg.png | Bin 0 -> 17382 bytes
app/styles/skins/passepartout/logo.png | Bin 0 -> 16102 bytes
@ernie58
ernie58 / keybase.md
Created January 23, 2019 13:35
keybase.md

Keybase proof

I hereby claim:

  • I am ernie58 on github.
  • I am ernie58 (https://keybase.io/ernie58) on keybase.
  • I have a public key ASCFWZ0lHM1P9MA6E_lplJXwkFNLC7AVPkvUgIArtWpDvQo

To claim this, I am signing this object:

@ernie58
ernie58 / passport-user-credential.js
Last active May 7, 2018 08:12
Loopback Passport Component: keep UserIdentity in sync with UserCredentials
module.exports = function (PassportUserCredential) {
/*
* Check if credentials already exist for a given provider and external id
* Enable this hook if credentials can be linked only once
*
* @param Loopback context object
* @param next middleware function
* */
PassportUserCredential.observe('before save', function checkPassportUserCredentials(ctx, next){
@ernie58
ernie58 / edu-content-metadata-edu-content-tag.json
Created June 5, 2015 07:39
Indexes in model definition file causes automigrate to crash
{
"name": "EduContentMetadataEduContentTag",
"base": "PersistedModel",
"idInjection": true,
"options": {
"validateUpsert": true
},
"properties": {
},
"validations": [],