Skip to content

Instantly share code, notes, and snippets.

# Preflight Checker - Complete Check Reference
**Document Objective**: Comprehensive categorized list of all checks performed by the preflight checker for H100 ML deployment quality assurance.
**Version**: 1.11.7
**Last Updated**: 2025-11-30
---
## Check Count Summary
@zdrummond
zdrummond / Vultr Ubuntu startup script.sh
Created July 6, 2019 16:57 — forked from stvhwrd/Vultr Ubuntu startup script.sh
Setting up a general web dev Ubuntu VPS
# Startup script for Ubuntu 17.04 VPS on Vultr (Dev machine and cloud server)
# add a new user @todo: make this a one-liner
# adduser stvhwrd
# usermod -aG sudo stvhwrd
## MANUALLY LOG OUT AS ROOT AND LOG IN AS NEW USER
# OPTIONAL: to add ssh key, assuming that you have ssh-copy-id installed on local machine and your keypair is in ~/.ssh and named id_rsa:
# Locally, i.e. on your laptop. eg. ssh-copy-id stvhwrd@45.63.10.205
@zdrummond
zdrummond / .codeclimate.yml
Last active June 16, 2019 04:23
Setup no style robocopy (for when using ruby prettier)
version: "2"
checks:
argument-count:
enabled: true
config:
threshold: 4
complex-logic:
enabled: true
config:
threshold: 4
@zdrummond
zdrummond / .otpkeys
Created February 28, 2019 21:16
Command Line Two Factor
~/.otpkeys
----
aws={secret code}
google={secret code}
var results = [],
promises = []
console.log(`1. ${results.length}`)
event.urls.forEach(function(url) {
promises.push(axios.get(url))
})
axios
.all(promises)
.then(function(results) {
results.forEach(function(response) {
@zdrummond
zdrummond / gist:3703781
Created September 12, 2012 02:14
Backtrace of class method breakpoint failure
[4] pry(Control::Job)> _pry_.hooks.errors
=> [#<TypeError: bind argument must be an instance of Control::Object>]
[5] pry(Control::Job)> _pry_.last_exception = _pry_.hooks.errors.first
=> #<TypeError: bind argument must be an instance of Control::Object>
[6] pry(Control::Job)> cat -ex
Exception: TypeError: bind argument must be an instance of Control::Object
--
From: /Users/zdrummond/bia/Pocoa_Rails/app/ops/control.rb @ line 159 @ level: 0 of backtrace (of 46).
154: raw = get_json "#{WEB_URL}/statuses/#{uuid}"
@zdrummond
zdrummond / gist:3703726
Created September 12, 2012 02:02
Pry debug failed on class method
[10] pry(Control):1> break Job.list
Breakpoint 1: /Users/zdrummond/bia/Pocoa_Rails/app/ops/control.rb @ line 159 (Enabled) :
156: new( j[:scope_id], j[:uuid], j[:time], j[:bucket], j[:manifest] )
157: end
158:
=> 159: def self.list
160: raw = RestClient.get "#{WEB_URL}/statuses"
161: resp = JSON.parse raw, symbolize_names: true
162: resp.map do |h|