- Create a file called
mainifest.yaml
with contents
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 com.squareup.okhttp.OkHttpClient; | |
import com.squareup.okhttp.Request; | |
import com.squareup.okhttp.Response; | |
import java.io.IOException; | |
public class Parser { | |
public static void main(String[] args) { |
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
let changeColor = document.getElementById('changeColor'); | |
const bkg = chrome.extension.getBackgroundPage(); | |
function logger(message, ...other) { | |
bkg.console.log(message, other); | |
} | |
function findElement(selector, foundCallBack) { | |
attempts = 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
#!/usr/bin/env python | |
import requests | |
APPD_BASE_URL = 'http://controller.com:8090' | |
APPD_AUTH = ('admin@customer1', 'password') | |
APP = 23 | |
MINUTES = 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
#!/usr/bin/env python | |
import requests | |
APPD_BASE_URL = 'http://controller.com:8090' | |
APPD_AUTH = ('admin@customer1', 'password') | |
APP = 23 | |
MINUTES = 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
package main | |
import ( | |
"fmt" | |
"time" | |
"github.com/dlopes7/go-appdynamics-rest-api/appdrest" | |
"github.com/jinzhu/now" | |
"github.com/robfig/cron" | |
) |
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
#!/usr/bin/env bash | |
# Simple wrapper for AppDynamics restui API | |
# WIP | |
# ./restui.sh /controller/restui/analyticsSavedSearches/getAnalyticsSavedSearchById/192 > search.json | |
# Edit the file, then | |
# ./restui.sh /controller/restui/analyticsSavedSearches/updateAnalyticsSavedSearch -X POST -d @search.json | |
APPD_CONTROLLER=http://controller_host:8090 |
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
#!/usr/bin/env bash | |
APPD_CONTROLLER=http://controller:8090 | |
APPD_USER=admin | |
APPD_ACCOUNT=customer1 | |
APPD_PASSWORD=password | |
# Login to the controller for restui calls | |
curl -s --user $APPD_USER@$APPD_ACCOUNT:$APPD_PASSWORD --cookie-jar cookies.jar $APPD_CONTROLLER/auth?action=login |
- Create a new application from the Blue Print PS - BRUM Lab
- Configure both servers to use a Private Key that you can access
- If you do not have a Private Key, create a Key Par on Ravello.
- Publish and Start the application and wait for the servers to come up
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 csv | |
from unicodedata import normalize | |
root = """<mappings> | |
{elements}</mappings>""" | |
element = """<mapping> | |
<ip-range from="{ip_from}" to="{ip_to}"/> | |
<location country="{country}" region="{region}" city="{city}"/> | |
</mapping>""" |
NewerOlder