I hereby claim:
- I am bneutra on github.
- I am bneutra (https://keybase.io/bneutra) on keybase.
- I have a public key ASBpZRFhJzkIKfc91mtx5JhjUK8ehSIZ39EfpnNcF14D_Qo
To claim this, I am signing this object:
| deploy-0a $ grep Threads global.log | grep hreads | grep -v cached | |
| Threads_connected 5 | |
| Threads_created 43 | |
| Threads_running 2 | |
| Threads_connected 5 | |
| Threads_created 44 | |
| Threads_running 2 | |
| Threads_connected 5 | |
| Threads_created 45 | |
| Threads_running 2 |
| --- | |
| # Here's a basic example if you want to just test out ansible commands on | |
| # your localhost (without the complexity of ssh). Note: this assumes you | |
| # have a properly installed ansible. | |
| # e.g. install py 3.6.4. with pyenv and pip install ansible | |
| # To run these tasks (you may need to run as sudo): | |
| # ansible-playbook [this_file.yml] | |
| - name: run the playbook tasks on the localhost |
| import java.net.*; | |
| import java.io.*; | |
| /** | |
| * Connect to a url and send a HTTP HEAD request. | |
| * | |
| * Will print response info to stdout | |
| * | |
| * Exceptions will be printed to stdout. | |
| * Examples: |
| # | |
| # New Relic Infrastructure configuration file | |
| # | |
| # Lines that begin with # are comment lines and are ignored by the | |
| # Infrastructure agent. If options have command line equivalents, New Relic | |
| # will use the command line option to override any value set in this file. | |
| # | |
| # | |
| # Option : license_key |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # For just your local account | |
| echo "disabling zoom video by default for this user" | |
| defaults write ~/Library/Preferences/us.zoom.config.plist ZDisableVideo 1 | |
| # For all users on the machine | |
| echo "disabling zoom video by default for all users on this machine" | |
| sudo defaults write /Library/Preferences/us.zoom.config.plist ZDisableVideo 1 | |
| # ruby-jmeter image to run | |
| FROM alpine:3.9 | |
| ARG JMETER_VERSION="5.1" | |
| ENV JMETER_HOME /opt/apache-jmeter-${JMETER_VERSION} | |
| ENV JMETER_BIN ${JMETER_HOME}/bin | |
| ENV JMETER_DOWNLOAD_URL https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-${JMETER_VERSION}.tgz | |
| # Install extra packages | |
| # See https://github.com/gliderlabs/docker-alpine/issues/136#issuecomment-272703023 |
| #!/bin/bash | |
| # docker entrypoint for running ruby jmeter in docker | |
| set -e | |
| freeMem=`awk '/MemFree/ { print int($2/1024) }' /proc/meminfo` | |
| s=$(($freeMem/10*8)) | |
| x=$(($freeMem/10*8)) | |
| n=$(($freeMem/10*2)) | |
| export JVM_ARGS="-Xmn${n}m -Xms${s}m -Xmx${x}m" | |
| mkdir -p /mnt/output |
| require 'ruby-jmeter' | |
| # flush stdout immediately | |
| $stdout.sync = true | |
| # default to Dockerfile jmeter location | |
| jmeter_path = ENV['JMETER_BIN'] ? ENV['JMETER_BIN'] : '/opt/jmeter/bin/' | |
| json_path = File.dirname(__FILE__) + '/claim.json' | |
| gui = false # only true for non docker testing | |
| claim_url = ARGV[0] # e.g. https://your/api |
| # This is a quick/dirty script to pull as much collector and source | |
| # data from sumo as possible but some massaging of the terraform | |
| # it generates is requires. | |
| # It also produces a shell script to import the resources | |
| import json | |
| import os | |
| import pprint | |
| import requests | |
| pprinter=pprint.PrettyPrinter(indent=4) |