This is a quick reference to get to Jolokia statistics urls for JBoss Fuse or JBoss A-MQ statistics. Sometimes, when you are interested in very specific attributes, it's easier to keep monitoring a specific url rather than loading the full Hawtio console.
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
#Tkinter calls for GUI | |
from Tkinter import * | |
import ttk | |
import Tkinter | |
import tkMessageBox | |
#Elementree and Subprocess calls | |
from xml.etree.ElementTree import ElementTree | |
from xml.etree.ElementTree import Element |
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
#Tkinter calls for GUI | |
from Tkinter import * | |
import ttk | |
import Tkinter | |
import tkMessageBox | |
#Elementree and Subprocess calls | |
from xml.etree.ElementTree import ElementTree | |
from xml.etree.ElementTree import Element |
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 | |
sudo apt-get install ruby ruby-dev | |
sudo apt-get install imagemagick libmagickwand-dev | |
sudo gem install asciiart | |
url_of_file=$1 | |
ruby_script_var="$(cat <<EOF | |
#!/usr/bin/env ruby | |
require 'asciiart' | |
art_file = AsciiArt.new("${url_of_file}") |
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 | |
# global vars | |
varInt=1 | |
varFloat=1.1 | |
varStr="Hello World" | |
varList=['hello', 'world', 'this', 'is', 'a', 'list'] | |
# Doing stuff with tacos | |
print "Below are the types associated to the variables: \n" | |
print varInt,"is",type(varInt) | |
print varFloat,"is",type(varFloat) |
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
{ | |
"workbench.colorTheme": "Monokai", | |
"vim.disableAnnoyingNeovimMessage": true, | |
"window.zoomLevel": 1, | |
"files.autoSave": "onFocusChange", | |
"window.restoreWindows": "all", | |
"terminal.external.osxExec": "iTerm.app", | |
"terminal.explorerKind": "integrated", | |
"workbench.fontAliasing": "antialiased" | |
} |
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
/*Yoselyn Rea, 10/09/17, Large Program 1, Letter Guessing Game*/ | |
#define _CRT_SECURE_NO_WARNINGS | |
#include <stdio.h> | |
//#include <iostream> | |
#include <ctype.h> //tolower | |
#define MAXGUESSES 5 | |
//paste all the function prototypes here | |
//with the comments | |
//this function provides instructions to the user on how to play the game |
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
//Giovanna Rea-espin, COP2220, October 10, 2017, Large Program 1 Algorithm. Letter guessing game. | |
#define _CRT_SECURE_NO_WARNINGS | |
#include <stdio.h> | |
#include <ctype.h> | |
#define MAXGUESSES 5 | |
//this function provides instructions to the user on how to play the game | |
void GameRules() { | |
printf("Welcome to the Letter Guesing Game\n"); | |
printf("\nYou will begin by entering the number of games you want to play\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
#!/usr/bin/env python3 | |
import sys | |
from datetime import datetime | |
from datetime import timedelta | |
class Input(object): | |
def _set_input(self): | |
try: | |
x = input('Enter minutes as an integer: ') |
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
System Information | |
PROCESSOR: AMD Ryzen Threadripper 1950X 16-Core @ 3.40GHz | |
Core Count: 16 | |
Thread Count: 32 | |
Extensions: SSE 4.2 + AVX2 + AVX + RDRAND + FSGSBASE | |
Cache Size: 512 KB | |
Microcode: 0x8001137 | |
Scaling Driver: acpi-cpufreq ondemand |
OlderNewer