This file contains 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
{ | |
"extends": "lighthouse:full", | |
"settings": { | |
"budgets": [ | |
{ | |
"resourceSizes": [ | |
{ | |
"resourceType": "script", | |
"budget": 50 | |
}, |
This file contains 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
# Add annotations in grafana | |
curl -X POST \ | |
https://{YOUR_URL}/api/annotations \ | |
-H "authorization: Bearer $GRAFANA_API_TOKEN" \ | |
-H 'content-type: application/json' \ | |
-d "{ | |
\"text\": \"Hello world!\", | |
\"tags\": [ \"deployment\", \"env:dev}\", \"application:my-application\", \"commit: commit-sha-example}\"] | |
}" |
This file contains 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
# Lines starting with '#' are comments. | |
# Each line is a file pattern followed by one or more owners. | |
# These owners will be the default owners for everything in the repo. | |
* @defunkt | |
# Order is important. The last matching pattern has the most precedence. | |
# So if a pull request only touches javascript files, only these owners | |
# will be requested to review. | |
*.js @octocat @github/js |
This file contains 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
//Directive | |
angularApp.directive('angularOdometer', function () { | |
return { | |
restrict: 'A', | |
link: function(scope, element, attrs) { | |
//Creates new instance of odometer for the element | |
new Odometer({el: element[0], value: scope[attrs.odometer]}); | |
//Watch for changes and update the element value (causing odometer to redraw) |
OlderNewer