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
Marketplace for Functions: https://console.aws.amazon.com/lambda/home#/create/function?tab=serverlessApps | |
--- RAW notes on Splunk + AWS --- | |
Webhook for Splunk on AWS: | |
https://us-east-2.console.aws.amazon.com/lambda/home?region=us-east-2#/create/app?applicationId=arn:aws:serverlessrepo:us-west-2:655989818655:applications/Webhook-to-Splunk-HTTP-Event-Collector | |
https://1h6at9967c.execute-api.us-east-2.amazonaws.com/Prod | |
https://1h6at9967c.execute-api.us-east-2.amazonaws.com/Prod/webhook-to-hec?url=<your.server.com>&port=8088&http_method=https&token=<223342-23242-232324> |
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
# touch /etc/systemd/system/uba.service | |
# chmod 664 /etc/systemd/system/uba.service | |
# vim /etc/systemd/system/uba.service | |
[Unit] | |
Description=UBA-SERVER | |
[Service] | |
Type=simple | |
RemainAfterExit=yes |
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
#!/bin/bash | |
# Usage: ./check_webex_api.sh sitename email_or_user password | |
if [ $# -eq 0 ]; then | |
echo "No arguments provided" | |
echo | |
echo | |
echo "Usage: ./check_webex_api.sh sitename email_or_user password" | |
echo | |
echo "Note: Ensure that the special characters in password are escaped." |
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
bert | |
tflow |
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
https://any-api.com/ | |
https://www.programmableweb.com/apis/directory | |
https://explore.postman.com/ |
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
## INSTALL VALID SSL | |
(Helps fix VNC error with SSL) Err: Failed to start VNC server: Our own certificate /etc/pve/local/pve-ssl.pem failed validation against /etc/pve/pve-root-ca.pem: The certificate hasn't got a known issuer | |
# Must rm/mv existing SSL | |
/etc/pve/pve-root-ca.pem | |
/etc/pve/priv/pve-root-ca.key | |
/etc/pve/nodes/<node>/pve-ssl.pem | |
/etc/pve/nodes/<node>/pve-ssl.key |
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
## INSTALL VALID SSL | |
(Helps fix VNC error with SSL) Err: Failed to start VNC server: Our own certificate /etc/pve/local/pve-ssl.pem failed validation against /etc/pve/pve-root-ca.pem: The certificate hasn't got a known issuer | |
# Must rm/mv existing SSL | |
/etc/pve/pve-root-ca.pem | |
/etc/pve/priv/pve-root-ca.key | |
/etc/pve/nodes/<node>/pve-ssl.pem | |
/etc/pve/nodes/<node>/pve-ssl.key |
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
#!/bin/sh | |
# This pre-commit hook will prevent you from committing any line (or filename) containing | |
# the string NOCOMMIT. Use that tag in comments around source code you want to avoid | |
# accidentally committing, like temporary IP addresses or debug printfs. | |
# | |
# To add it to an existing repository, save it to .git/hooks/pre-commit (or append, if | |
# that file already exists). Remember to make executable (chmod +x ...) | |
# | |
# To automatically add this pre-commit hook to every repository you create or clone: |
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
#################################################################################################### | |
# This function copies a folder (and optionally, its subfolders) | |
# | |
# When copying subfolders it calls itself recursively | |
# | |
# Requires WebClient object $webClient defined, e.g. $webClient = New-Object System.Net.WebClient | |
# | |
# Parameters: | |
# $source - The url of folder to copy, with trailing /, e.g. http://website/folder/structure/ | |
# $destination - The folder to copy $source to, with trailing \ e.g. D:\CopyOfStructure\ |
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
#!/ffp/bin/bash | |
# https://linhost.info/2013/10/download-test-files/ | |
SOURCES=( | |
"http://ns0.multikabel.net/100mb.nul" | |
"http://servermars.nl/100mb.bin" | |
"http://speedtest.tweak.nl/100mb.bin" | |
"http://cachefly.cachefly.net/100mb.test" | |
"http://mirror.leaseweb.com/speedtest/100mb.bin" |