Skip to content

Instantly share code, notes, and snippets.

View natbusa's full-sized avatar

Nat Busa natbusa

View GitHub Profile
@pimterry
pimterry / install-bats-libs.sh
Created December 3, 2016 17:34
Set up bats libraries for testing as git submodules in test/libs
mkdir -p test/libs
git submodule add https://github.com/sstephenson/bats test/libs/bats
git submodule add https://github.com/ztombol/bats-support test/libs/bats-support
git submodule add https://github.com/ztombol/bats-assert test/libs/bats-assert
@demisx
demisx / angularjs-providers-explained.md
Last active May 17, 2024 03:38
AngularJS Providers: Constant/Value/Service/Factory/Decorator/Provider
Provider Singleton Instantiable Configurable
Constant Yes No No
Value Yes No No
Service Yes No No
Factory Yes Yes No
Decorator Yes No? No
Provider Yes Yes Yes

Constant