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
import {Injectable} from '@angular/core'; | |
import {Observable} from 'rxjs/Observable'; | |
import {Store} from '@ngrx/store'; | |
import {Actions, Effect} from '@ngrx/effects'; | |
import * as advancedSearchActions from './actions'; | |
import {createLogger, LOG_LEVELS} from '../../../shared/logger'; | |
import {TenantSearchService} from "../../api/tenantSearch/tenantSearch.service"; | |
import {SearchQueryParams} from "../../ng-models/search/SearchQueryParams.interface"; |
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
class PreCodeLanguageMarkdown < Redcarpet::Render::HTML | |
def block_code(code, language) | |
[ | |
'<pre>', | |
"<code class='language-#{language}'>#{html_escape(code)}</code>", | |
'</pre>' | |
].join() | |
end | |
private |
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
bash < <(curl -s http://puppet.spreecommerce.com:5000/install?fqdn=xxx.mysite.com\&digest=9c84e8370316f24b7189bb9abb02b6af ) | |
********************************************************** | |
* Spree Stack Installer * | |
********************************************************** | |
WARNING | |
This installer should only be run on dedicated Spree servers. | |
It may affect other applications or configuration files that | |
are already in use on this machine. |
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
// Assign the module to a Browser global. Ex: root.logger = factory(root.mb) | |
root.mb = root.mb || {}; | |
root.mb.metrics = root.mb.metrics || {}; | |
root.mb.metrics.ga = root.mb.metrics.ga || {}; | |
root.mb.metrics.floodlight = root.mb.metrics.floodlight || {}; | |
var metricsCore = factory( | |
// List ALL dependencies that this module has. Access the dependencies through the Browser globals (root is window) | |
root.jQuery, | |
root.mb, | |
root.mb.logger, |
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
(function (root, factory) { | |
if (typeof define === 'function' && define.amd) { | |
// AMD. Register as an anonymous module. | |
define(['jquery', 'mb/core', 'responsive/lib/jquery.cookie'], factory); | |
} else { | |
// Browser globals (root is window) | |
factory(root.jQuery, root.mb); | |
} | |
}(this, |