/**
* @ngdoc overview
* @name Dashboard
* @description Main module of the application
*/
angular.module('Dashboard', []);
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
| set nocompatible " be iMproved | |
| set rtp+=~/.fzf | |
| """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| " For Vundle | |
| """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| filetype off | |
| " set the runtime path to include Vundle and initialize | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() |
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
| aair | http://xmlns.notu.be/aair# | |
|---|---|---|
| aapi | http://rdf.alchemyapi.com/rdf/v1/s/aapi-schema# | |
| aat | http://vocab.getty.edu/aat/ | |
| abc | http://www.metadata.net/harmony/ABCSchemaV5Commented.rdf# | |
| ac | http://umbel.org/umbel/ac/ | |
| acc | http://purl.org/NET/acc# | |
| acco | http://purl.org/acco/ns# | |
| acl | http://www.w3.org/ns/auth/acl# | |
| acm | http://www.rkbexplorer.com/ontologies/acm# | |
| act | http://www.w3.org/2007/rif-builtin-action# |
In Summary:
- Microservices are small autonomous services
- Microservices are modeled around business concepts
- Microservices encourage a culture of automation
- Microservices should be highly observable
- Microservices should hide implementation details
- Microservices should isolate failure
- Microservices should be deployed independently
- Microservices should decentralise all the things
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
| define(['services/module', 'underscore'], function (module, _) { | |
| 'use strict'; | |
| function OrderResource($http, $q, link) { | |
| // ... other functions removed: viewState, accessState, flattenResource | |
| // viewState is a deeper resource | |
| // accessState looks at the Accept headers | |
| // flattenResource: flattens all of this for the client-side resource (in-memory model bound to view) |
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
| // PhantomJS Cheatsheet | |
| $ brew update && brew install phantomjs // install PhantomJS with brew | |
| phantom.exit(); | |
| var page = require('webpage').create(); | |
| page.open('http://example.com', function() {}); | |
| page.evaluate(function() { return document.title; }); |
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
| // Optimizely JavaScript API | |
| // http://developers.optimizely.com/javascript/ | |
| // To opt a visitor out of Optimizely tracking | |
| // http://www.example.com/page.html?optimizely_opt_out=true | |
| // 1. API Function Calls | |
| // http://developers.optimizely.com/javascript/#api-function-calls-2 | |
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
| // Mixpanel Cheatsheet | |
| // This requires the mixpanel javascript library to be embedded on your site | |
| // https://mixpanel.com/help/reference/javascript-full-api-reference | |
| // 1. API Methods. | |
| mixpanel.init('new token', { your: 'config' }, 'library_name'); // initialize a new instance of the Mixpanel tracking object | |
| mixpanel.push(['register', { a: 'b' }]); // push() keeps the standard async-array-push behavior around after the lib is loaded. This is only useful for external integrations that do not wish to rely on our convenience methods (created in the snippet). |
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
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |