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 | |
| mogrify -resize 50% "$@" |
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 Python script loads test cases that were generated from the SeleniumIDE and executes them | |
| against a running Splunk install. The purpose of this script is to make it possible to run tests | |
| against Splunk without having to write code using WebDriver directly. Instead, the intent is that | |
| testers write tests in the Selenium IDE GUI. This ought to make tests easier to write and maintain. | |
| This is release under the Apache 2.0 Licence: | |
| https://www.apache.org/licenses/LICENSE-2.0 |
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
| import splunk.auth | |
| import splunk.rest | |
| import json | |
| # Authenticate | |
| session_key = splunk.auth.getSessionKey(username='admin', password='changeme') | |
| # Get lookup transforms | |
| server_response, server_content = splunk.rest.simpleRequest('/services/data/transforms/lookups?count=0&output_mode=json', sessionKey=session_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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <entitygroups> | |
| <entitygroup name="ZombiesAll"> | |
| <entity name="zombieBoe"/> | |
| <entity name="zombieJoe"/> | |
| <entity name="zombieSteve"/> | |
| <entity name="zombieTomClark"/> | |
| <entity name="zombieMoe"/> | |
| <entity name="zombieYo"/> |
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 is a base-class for writing custom external lookups. | |
| This is licensed under the Apache License Version 2.0 | |
| See https://www.apache.org/licenses/LICENSE-2.0.html | |
| To use this, you will need to: | |
| 1) A lookup command script that implements from CustomLookup | |
| 2) Create a transforms.conf that declares your lookup command |
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
| import splunk.auth | |
| import splunk.rest | |
| import json | |
| import hashlib | |
| # Authenticate | |
| session_key = splunk.auth.getSessionKey(username='admin', password='changeme') | |
| # Read in the file | |
| with open('password.txt', 'r') as myfile: |
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
| import splunk.auth | |
| import splunk.rest | |
| import splunk.search | |
| import json | |
| import time | |
| # Authenticate | |
| session_key = splunk.auth.getSessionKey(username='admin', password='changeme') | |
| search_to_run = "Errors in the last 24 hours" |
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 fixes the issue where the tab focus looks weird. | |
| */ | |
| .nav-tabs > li > a:focus { | |
| box-shadow: none !important; | |
| } | |
| .nav-tabs > li:focus-within:after { | |
| box-shadow: inset -2px 2px 3px rgba(82, 168, 236, .5); | |
| } |
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
| $('#ghx-issues-in-epic-table td:nth-child(2)').text().replace(/\s+/gi, " | | | \n |") |
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
| "rules": [ | |
| { | |
| "description": "Mouse right scroll to ctrl+tab (next tab)", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "pointing_button": "button5" | |
| }, | |
| "to": [ | |
| { |