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
| # 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 |
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
| # 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 |
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
| version: "2" | |
| checks: | |
| argument-count: | |
| enabled: true | |
| config: | |
| threshold: 4 | |
| complex-logic: | |
| enabled: true | |
| config: | |
| threshold: 4 |
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
| ~/.otpkeys | |
| ---- | |
| aws={secret code} | |
| google={secret code} |
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
| 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) { |
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
| [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}" |
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
| [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| |