git commit --amend ----no-edit
[alias]
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Fdc.Web.Controllers.WebApi; | |
using Microsoft.Win32.SafeHandles; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Serialization; |
class myDirective { | |
constructor(userService) { | |
this.template = `<div>{{fullName}}</div>`; | |
this.restrict = 'E'; | |
this.scope = { | |
user: '=' | |
}; | |
this.link = function(scope, element) { | |
scope.fullName = userService.getFullName(scope.user); | |
}; |
namespace Demo.Service | |
{ | |
public class DomainServiceService | |
{ | |
public DomainServiceService(IDomainService[] domainServices) | |
{ | |
foreach (var service in domainServices) | |
{ | |
var name = service.GetName(); |
Cyrdup aka Cyrille Dupuydauby
My list of interresting Nugets packages
/* | |
Light strategy that shows your light entities. | |
To use: | |
- store this file in `<config>/www/light-strategy.js` | |
- Add lovelace resource: `/local/light-strategy.js`, type JavaScript Module | |
- Create a new Lovelace dashboard and set as content: | |
views: | |
- title: Lights | |
strategy: | |
type: 'custom:light-strategy' |