Skip to content

Instantly share code, notes, and snippets.

# 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
# 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
@bneutra
bneutra / keybase.md
Last active November 29, 2018 19:21
keybase.md

Keybase proof

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:

#
# 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
@bneutra
bneutra / Client.java
Created October 25, 2018 16:20
Simple http test client
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:
@bneutra
bneutra / play.yml
Last active February 25, 2021 16:21
testing ansible commands with a simple local playbook
---
# 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
@bneutra
bneutra / gist:ee349dcc9d266f1b898dfd938ba4fe69
Created July 30, 2017 03:02
global status over 6 hours (threads)
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