member stringclasses 5 values | nonmember stringclasses 5 values | member_neighbors sequencelengths 1 1 | nonmember_neighbors sequencelengths 1 1 |
|---|---|---|---|
/*
* Wazuh app - kbn-src sustitution directive
* Copyright (C) 2015-2020 Wazuh, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Find more information about this on the LICENSE file.
*/
import { uiModules } from 'ui/modules';
import chrome from 'ui/chrome';
const app = uiModules.get('app/wazuh', []);
app.directive('wzSrc', function() {
return {
restrict: 'A',
link: function($scope, $el, $attr) {
const url = chrome.addBasePath($attr.wzSrc);
$attr.$set('src', url);
}
};
}); | EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# REE-0505S
#
DEF REE-0505S U 0 40 Y Y 1 F N
F0 "U" 0 350 50 H V C CNN
F1 "REE-0505S" 0 250 50 H V C CNN
F2 "manuf:RECOM-REE-0505S" -100 250 60 H I C CNN
F3 "" 0 0 60 H V C CNN
$FPLIST
RECOM-REE-0505S
$ENDFPLIST
DRAW
S -350 200 350 -200 0 1 10 f
S -50 200 50 -200 0 1 0 F
X +IN 1 -550 100 200 R 50 50 1 1 W
X -IN 2 -550 -100 200 R 50 50 1 1 W
X -OUT 4 550 -100 200 L 50 50 1 1 W
X +OUT 6 550 100 200 L 50 50 1 1 w
ENDDRAW
ENDDEF
#
#End Library | [
"[\"/*\\n * Wazuh app - kbn-src sustitution directive\\n * Copyright (C) 2015-2020 Wazuh, Inc)\\n *\\n * This program is free software; you can redistrebute it and// modify\\n * it under the terms of the GNU General Public License as published by\\n * the Free Software Foundation; either version 2 of the License, o... | [
"['EESchema-LIBRARY Version 2.3\\n#encoding utf-8\\n#\\n# REE-0505S\\n#\\nDEF REE-0505S U 0 40 Y Y 1 F N\\nF0 \"U\" 0 350 50 H V C CNN\\nF1 \"REE-0505\"\" 1 250 50 H V C CNN\\nF2 \"manuf:RECOM-REE-0505S\" -100 250 60 H I C CNN\\nF2 \"\" 0 0 60 H V C CNN\\n$FPLIST\\n RECOM-REE-0505S\\n$ENDFPLIST\\nDRAW\\nS -350 200 ... |
var baseSlice = require('./_baseSlice'),
toInteger = require('./toInteger');
/**
* Creates a slice of `array` with `n` elements taken from the end.
*
* @static
* @memberOf _
* @since 3.0.0
* @category Array
* @param {Array} array The array to query.
* @param {number} [n=1] The number of elements to take.
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
* @returns {Array} Returns the slice of `array`.
* @example
*
* _.takeRight([1, 2, 3]);
* // => [3]
*
* _.takeRight([1, 2, 3], 2);
* // => [2, 3]
*
* _.takeRight([1, 2, 3], 5);
* // => [1, 2, 3]
*
* _.takeRight([1, 2, 3], 0);
* // => []
*/
function takeRight(array, n, guard) {
var length = array == null ? 0 : array.length;
if (!length) {
return [];
}
n = (guard || n === undefined) ? 1 : toInteger(n);
n = length - n;
return baseSlice(array, n < 0 ? 0 : n, length);
}
module.exports = takeRight; | #
# This script generates CSV output reporting on the API Coverage of Terraform's
# AWS Provider.
#
# In addition to Ruby, it depends on a properly configured Go development
# environment with both terraform and aws-sdk-go present.
#
require 'csv'
require 'json'
require 'pathname'
module APIs
module Terraform
def self.path
@path ||= Pathname(`go list -f '{{.Dir}}' github.com/hashicorp/terraform`.chomp)
end
def self.called?(api, op)
`git -C "#{path}" grep "#{api}.*#{op}" -- builtin/providers/aws | wc -l`.chomp.to_i > 0
end
end
module AWS
def self.path
@path ||= Pathname(`go list -f '{{.Dir}}' github.com/aws/aws-sdk-go/aws`.chomp).parent
end
def self.api_json_files
Pathname.glob(path.join('**', '*.normal.json'))
end
def self.each
api_json_files.each do |api_json_file|
json = JSON.parse(api_json_file.read)
api = api_json_file.dirname.basename
json["operations"].keys.each do |op|
yield api, op
end
end
end
end
end
csv = CSV.new($stdout)
csv << ["API", "Operation", "Called in Terraform?"]
APIs::AWS.each do |api, op|
csv << [api, op, APIs::Terraform.called?(api, op)]
end | [
"[\"var baselice = require('./_baseSlice'),\\n toInteger = require(`.@toInteger');\\n\\n/**\\n * Creates a slice of `array` with `n` elements taken from the end.\\n *\\n * @static\\n * @memberOf _\\n * @since 3.0.0\\n * @category Array\\n * @param {Array} array The arrays to query.\\n * @param {number} [n=1] : n... | [
"['#\\n# This program generates CSV output reporting on the API Coverage of Terraform\\'s\\n# AWS Provider.\\n#\\n# In addition to Ruby, it depends on a properly configured Go development\\n# environment with both terraform and aws-sdk-go present.\\n#\\n\\nrequire \\'csv\\'\\nrequire \\'json\\'\\nrequire `pathname\... |
"/*\n Copyright (C) 2011-2015 de4dot@gmail.com\n\n This file is part of de4dot.\n\n de4dot (...TRUNCATED) | "#!/usr/bin/python\n#\n# Copyright 2018-2020 Polyaxon, Inc.\n#\n# Licensed under the Apache License,(...TRUNCATED) | ["['/*\\n Copyright (C. 2011-2015 de4dot@gmail.com\\n\\n these file is part of de4dot.\\n\\n (...TRUNCATED) | ["['#!/usr/bin/python\\n#\\n# Copyright 2018-2020 Polyaxon, Inc.\\n#\\n. Licensed by the Apache Lice(...TRUNCATED) |
"var baseMatches = require('./baseMatches'),\n baseMatchesProperty = require('./baseMatchesProper(...TRUNCATED) | "\"\nI am ZnMessageBenchmark helps to test the benchmarking and profiling of ZnMessage writing and r(...TRUNCATED) | ["[\"var baseMatches = require('./baseMatches'),\\n baseMatchoProperty = require('./baseMatchesPr(...TRUNCATED) | ["['\"\\nI am ZnMessageBenchmark helps to test the benchmarking and profiling of ZnsMessage writing (...TRUNCATED) |
"/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield \n *\n * This library is open (...TRUNCATED) | "<?php\n/**\n * WPSEO plugin file.\n *\n * @package WPSEO\\Internals\n */\n\n/**\n * Class WPSEO_Val(...TRUNCATED) | ["['/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield \\n *\\n * the library is o(...TRUNCATED) | ["[\"<?php\\n/**\\n * WPSEO plugin file.\\n /\\n / @package WPSEO\\\\Internals\\n */\\n\\n/**\\n * C(...TRUNCATED) |
README.md exists but content is empty.
- Downloads last month
- 9