Determine which modules are needed to be included:
On Windows with cygwin:
npm ls --production | grep -i '\-\-' | sed 's/.*-- \(.*\)@.*/- node_modules\\/\1\\/**/g'
You'll get an output like
| input { | |
| cloudwatch_logs { | |
| log_group => "/aws/lambda/my-lambda" | |
| access_key_id => "AKIAXXXXXX" | |
| secret_access_key => "SECRET" | |
| type => "lambda" | |
| } | |
| } | |
| filter { |
| import decoratorHelper from 'decorator.helper'; | |
| // Current decorator allow async function to be used in angular | |
| // without adding unnecessary digest calls | |
| const ngAync = function () { | |
| return function (target, key, descriptor) { | |
| const fn = descriptor.value; | |
| descriptor.value = function () { | |
| const result = fn.apply(this, arguments); |
| input { | |
| file { | |
| path => "/var/log/jenkins/*" | |
| type => "jenkins-server" | |
| start_position => "beginning" | |
| } | |
| } | |
| # The first filter munges the logs into discrete events. | |
| filter { |
| /** | |
| * @license | |
| * lodash (Custom Build) <https://lodash.com/> | |
| * Build: `lodash core --development plus="add,assign,capitalize,cloneDeep,deburr,findIndex,forIn,intersection,isError,isPlainObject,merge,method,pickBy,property,range,remove,times,uniq,values,String,maxBy,isNil,chunk"` | |
| * Copyright jQuery Foundation and other contributors <https://jquery.org/> | |
| * Released under MIT license <https://lodash.com/license> | |
| * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> | |
| * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | |
| */ | |
| ;(function() { |
| /** | |
| * @license | |
| * lodash 4.11.1 (Custom Build) <https://lodash.com/> | |
| * Build: `lodash core --development plus="add,assign,capitalize,cloneDeep,deburr,findIndex,forIn,intersection,isError,isPlainObject,merge,method,pickBy,property,range,remove,times,uniq,values,String,maxBy,isNil,chunk"` | |
| * Copyright jQuery Foundation and other contributors <https://jquery.org/> | |
| * Released under MIT license <https://lodash.com/license> | |
| * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> | |
| * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | |
| */ | |
| ;(function() { |
| // Prints the s3 buckets defiend as log sources in a tab delimited format you can paste in excel | |
| // https://app.logz.io/#/dashboard/data-sources/ | |
| var settings = []; | |
| $('.s3-settings-section').each(function() { | |
| var sectionEl = $(this); | |
| var bucket = sectionEl.find('[ng-model="settings.bucket"]').val(); | |
| var prefix = sectionEl.find('[ng-model="settings.prefix"]').val(); | |
| settings.push(bucket + '\t' + prefix); | |
| }); |
| node_modules |
How to build and run iText RUPS
svn checkout svn://svn.code.sf.net/p/itextrups/code/tags/rups-5.5.6 itextrups-code
cd itextrups-code
mvn package
java -jar target/itext-rups-5.5.6-jar-with-dependencies.jar
Source: comment by lilalinda on http://sourceforge.net/projects/itextrups/
| 'use strict'; | |
| const _ = require('lodash'); | |
| const Tinycolor2 = require('tinycolor2'); | |
| /** | |
| * Custom matchers for protractor and jasmine 2 | |
| * | |
| * expect(el).toBePresent(); | |
| * expect(el).toBeDisplayed(); |