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
| /** | |
| * OOP in AngularJS | |
| * | |
| * The following implements some pseudo code for a Video Blog Application using both AngularJS' | |
| * Dependency Injection and 'Classical' Javascript Prototypal Inheritance. | |
| * | |
| * Recently I've decided to use a more 'Classical' Javascript design pattern. My reasoning for this | |
| * decision was based mostly on 2 factors: | |
| * | |
| * 1. Using classes allows you to create code that is reusable and DRY. This is especially helpful |
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
| <# | |
| .SYNOPSIS | |
| Gets a PowerShell Credential (PSCredential) from the Windows Credential Manager | |
| .DESCRIPTION | |
| This module will return a [PSCredential] object from a credential stored in Windows Credential Manager. The | |
| Get-StoredCredential function can only access Generic Credentials. | |
| Alias: GSC |
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
| // Lefalet shortcuts for common tile providers - is it worth adding such 1.5kb to Leaflet core? | |
| L.TileLayer.Common = L.TileLayer.extend({ | |
| initialize: function (options) { | |
| L.TileLayer.prototype.initialize.call(this, this.url, options); | |
| } | |
| }); | |
| (function () { | |