Skip to content

Instantly share code, notes, and snippets.

View mikesplain's full-sized avatar
☸️
Kubernetes, DevOps, AI Operations

Mike Splain mikesplain

☸️
Kubernetes, DevOps, AI Operations
View GitHub Profile
@mikesplain
mikesplain / setup.sh
Created March 12, 2022 15:16 — forked from hhcalder92/setup.sh
rpi-diagnostics-sdcard-benchmark-prescript
apt-get install fio -y
mkdir /usr/share/agnostics/
curl https://raw.githubusercontent.com/raspberrypi-ui/agnostics/master/data/sd_bench.fio -o /usr/share/agnostics/sd_bench.fio
curl https://raw.githubusercontent.com/raspberrypi-ui/agnostics/master/data/sdtest.sh -o /usr/share/agnostics/sdtest.sh
chmod +x /usr/share/agnostics/sdtest.sh
/usr/share/agnostics/sdtest.sh
@mikesplain
mikesplain / ARD kickstart
Created June 6, 2017 17:48 — forked from nmcspadden/ARD kickstart
Kickstarts ARD for admin user
#!/bin/sh
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -allowAccessFor -specifiedUsers
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users "admin" -privs -all -restart -agent
after_success:
- git config --global user.email "[email protected]"
- git config --global user.name "Travis CI"
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- ssh-add travis-openstack-clients-cookbook
- echo -n $RELEASE_{00..30} >> release_base64
- base64 --decode --ignore-garbage release_base64 > release.pem
input {
stdin {
type => "stdin-type"
}
file {
type => "syslog"
path => [ "/var/log/*.log", "/var/log/*/*.log", "/var/log/messages", "/var/log/syslog" ]
start_position => "beginning"
}
include("revisions-lib.inc");
tag_summary = "The remote server's SSL/TLS OpenSSL implementation is vulnerable for the heartbleed attack.";
tag_solution = "Update to OpenSSL 1.0.1g or later.";
if (description) {
script_id(999999);
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
script_tag(name:"risk_factor", value:"Critical");
@mikesplain
mikesplain / 0-readme.md
Created November 30, 2012 16:25 — forked from burke/0-readme.md
ruby-1.9.3-p327 cumulative performance patch for rbenv

ruby-1.9.3-p327 cumulative performance patch for rbenv

This installs a patched ruby 1.9.3-p327 with various performance improvements and a backported COW-friendly GC, all courtesy of funny-falcon.

Requirements

You will also need a C Compiler. If you're on Linux, you probably already have one or know how to install one. On OS X, you should install XCode, and brew install autoconf using homebrew.

@mikesplain
mikesplain / rbenv-1.8.7-bundle-install-libv8
Created September 11, 2012 17:20 — forked from mackato/rbenv-1.8.7-bundle-install-libv8
rbenv exec bundle install with libv8 (1.8.7)
RUBYOPT="-r rubygems" rbenv exec bundle install --path vendor/bundle