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
inxi -Sr |
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
"message": { | |
"index": "analyzed", | |
"omit_norms": true, | |
"type": "string", | |
"fields": { | |
"raw": { | |
"index": "not_analyzed", | |
"type": "string", | |
"doc_values": true | |
} |
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
exports.transform = function (event) { | |
if (event.categoryDeviceGroup === '/IDS/Host/Antivirus' && (event.categoryObject === '/Host/Resource/File' || event.categoryObject === '/Host/Application/Malware')) { | |
if (event.categoryObject === '/Host/Resource/File') | |
event.echo_malwareName = event.deviceCustomString1; | |
else if (event.categoryObject === '/Host/Application/Malware') | |
event.echo_malwareName = event.name; | |
event.echo_actionTaken = event.deviceAction; | |
if (event.destinationUserName && !event.sourceUserName) | |
event.echo_antivirusUsername = event.destinationUserName; | |
else if (!event.destinationUserName && event.sourceUserName) |
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
* * * * * echo "Hello from Echo" >> /var/log/cron.log 2>&1 | |
0 20 * * * elasticdump --input http://elastic:9200/.kibana --output /backup/kibana/kibana-`date +%Y-%m-%H\ %k:%M:%S`.json |
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
http://home.mcafee.com/VirusInfo/VirusProfile.aspx?key=153464#none |
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
module.exports = function(kibana) { | |
return new kibana.Plugin({ | |
require: ['kibana', 'elasticsearch'], | |
uiExports: { | |
/* | |
app: { | |
title: '**********', | |
description: '***************', | |
icon: 'plugins/*********/icon.svg', | |
main: 'plugins/echo-ui-plugin-contextify/app', |
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
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true" style="min-width:350px;"> | |
<div class="panel panel-default"> | |
<div class="panel-heading" role="tab" id="headingOne"> | |
<h4 class="panel-title"> | |
<a role="button" data-toggle="collapse" data-parent="#accordion" data-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> | |
Collapsible Group Item #1 | |
</a> | |
</h4> | |
</div> | |
<div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne"> |
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
http://stackoverflow.com/questions/25763626/create-a-leaflet-custom-checkbox-control |
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
var | |
fs = require('fs'), | |
path = require('path'), | |
redis = require('redis'), | |
client = redis.createClient(); | |
var fixture = fs.readFileSync(path.join(__dirname, 'fixture.txt')); | |
client.rpush('test-q-for-verint', fixture, redis.print); | |
client.lpop('test-q-for-verint', function(err, result) { | |
if (err) |
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
FROM beakernotebook/beaker | |
MAINTAINER "Itay Weinberger <[email protected]>" | |
# Install Node.js 5.x, the FROM image is still using 0.12 | |
ENV NODE_VERSION v5.1.0 | |
RUN wget --no-check-certificate https://nodejs.org/dist/$NODE_VERSION/node-$NODE_VERSION-linux-x64.tar.gz && \ | |
tar -C /usr/local --strip-components 1 -xzf node-$NODE_VERSION-linux-x64.tar.gz && \ | |
rm node-$NODE_VERSION-linux-x64.tar.gz |