My list of interresting Nugets packages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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' |
- Clean Code: A Handbook of Agile Software Craftsmanship by Robert Martin aka Uncle Bob
- Analysis Patterns by Martin Fowler
- Blue Book by Eric Evans
- The pragmatic programmer by Andrew Hunt & David Thomas
- The Software Craftsman: Professionalism, Pragmatism, Pride by Sandro Mancuso
- Patterns of Enterprise Application Architecture by Martin Fowler
- Refactoring by Martin Fowler
- Working Effectively with Legacy Code by Michael Feathers
Cyrdup aka Cyrille Dupuydauby
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Demo.Service | |
{ | |
public class DomainServiceService | |
{ | |
public DomainServiceService(IDomainService[] domainServices) | |
{ | |
foreach (var service in domainServices) | |
{ | |
var name = service.GetName(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |