See this link for a necessary evil at times 😅 browser detection: Browser Hacks
var browser;
if(!!window.opera || navigator.userAgent.indexOf(' OPR/') > -1) {
// Opera 8.0+ (UA detection to detect Blink/v8-powered Opera)| 'use strict'; | |
| const Schmervice = require('schmervice'); | |
| const internals = {}; | |
| module.exports = class DisplayService extends Schmervice.Service { | |
| companyBasic(companies) { |
| 'use strict'; | |
| const Hoek = require('@hapi/hoek'); | |
| const Wreck = require('@hapi/wreck'); | |
| const Schmervice = require('schmervice'); | |
| module.exports = class MailchimpService extends Schmervice.Service { | |
| constructor(server, options) { |
| // lib/expose/commands.js | |
| // See a list of hpal commands via 'hpal run --list' | |
| 'use strict'; | |
| const internals = {}; | |
| module.exports = (server, options) => ({ | |
| // Run this command via 'hpal run my-project:recent-jobs' |
| ================================ | |
| Administrative | |
| ================================ | |
| INFO: | |
| --------------- | |
| $ uname -a | |
| Linux ip-xxx-xx-xx-xx.ec2.internal 4.14.138-114.102.amzn2.x86_64 #1 SMP Thu Aug 15 15:29:58 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux | |
| --------------- |
| 'use strict'; | |
| const Fs = require('fs'); | |
| const Util = require('util'); | |
| const Xml2js = require('xml2js'); | |
| const XmlNodes = require('xml-nodes'); | |
| const Miss = require('mississippi'); | |
| const internals = {}; |
See this link for a necessary evil at times 😅 browser detection: Browser Hacks
var browser;
if(!!window.opera || navigator.userAgent.indexOf(' OPR/') > -1) {
// Opera 8.0+ (UA detection to detect Blink/v8-powered Opera)