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
if argvals.get('attachment_name'): | |
ssContent['action.email.reportFileName'] = argvals.get('attachment_name') |
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
*nix:$SPLUNK_HOME/bin/splunk cmd openssl req -new -key myCAPrivateKey.key -out myCACertificate.csr | |
Win: $SPLUNK_HOME\bin\splunk cmd openssl req -new -key myCAPrivateKey.key -out myCACertificate.csr |
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
*nix: $SPLUNK_HOME/bin/splunk cmd openssl x509 -req -in myCACertificate.csr | |
-signkey myCAPrivateKey.key -out myCACertificate.pem -days 3650 | |
Win: >$SPLUNK_HOME\bin\splunk cmd openssl x509 -req -in myCACertificate.csr | |
-signkey myCAPrivateKey.key -out myCACertificate.pem -days 3650 |
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
PUT /catalog | |
{ | |
"settings": { | |
"index": { | |
"number_of_shards": 5, | |
"number_of_replicas": 2 | |
} } } |
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
PUT /catalog | |
{ | |
"settings": { | |
"index": { | |
"number_of_shards": 5, | |
"number_of_replicas": 2 | |
} | |
}, | |
"mappings": { | |
"my_type": { |
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
REM This script creates the Additional Tablespace (IDATA, ILOG & INDX) for Teamcenter | |
REM Modify DATAFILE path as per ORADATA path | |
prompt Creating TABLESPACE IDATA. | |
CREATE TABLESPACE IDATA |
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
#include <ESP8266WiFi.h> | |
#include <ESP8266HTTPClient.h> | |
#include "DHT.h" | |
#define DHTPIN 5 | |
#define DHTTYPE DHT11 | |
float t,h; | |
DHT dht(DHTPIN, DHTTYPE); | |
void setup() { |
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
# rsyslog configuration file | |
# For more information see /usr/share/doc/rsyslog-*/rsyslog_conf.html | |
# If you experience problems, see http://www.rsyslog.com/doc/troubleshoot.html | |
#### MODULES #### | |
# The imjournal module bellow is now used as a message source instead of imuxsock. | |
$ModLoad imuxsock # provides support for local system logging (e.g. via logger command) | |
$ModLoad imjournal # provides access to the systemd journal |
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
[linux_secure] | |
EXTRACT-orig_host = ^\w+\s+\d+\s+\d+:\d+:\d+\s+(?P<orig_host>\w+) |
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
#include <Adafruit_Fingerprint.h> | |
#define Button 2 | |
#define Relay 4 | |
#define LED 16 | |
SoftwareSerial mySerial(14, 12); | |
Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial); | |
uint8_t id; | |
void setup() |