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
'''Pythagorean Triplet | |
dumb_triplet is dumb because it is... this is by design | |
''' | |
import random | |
from datetime import datetime | |
print '##############The Dumb way##############\nLets just randomly guess what a, b, and c are...' |
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
[bltouch] | |
sensor_pin: P1.25 | |
control_pin: P2.0 | |
x_offset: -51 | |
y_offset: -18 | |
z_offset: 2.300 | |
speed: 5.0 | |
samples: 2 | |
[bed_mesh] |
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
{"ignition":{"config":{},"security":{"tls":{}},"timeouts":{},"version":"2.2.0"},"networkd":{},"passwd":{"users":[{"name":"core","passwordHash":"$6$rounds=4096$oX9DRIVKq0Geq$symIddb9yXlf9KZFcDa6qM7VVY1Agm/XzvySA7wWm.C/VOKfYcXWl6o.qA17ZTAciOEt5XWFqcu5dNATtRY/V1"}]},"storage":{},"systemd":{}} |
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
#!/bin/env bash | |
set -e | |
export PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin | |
: <<'README' | |
# Master node install, note this script /should/ be idempotentish. Rerunning to get worker node command output is fine | |
sudo -E ./install-k3s.sh | |
# to skip install of rancher | |
SKIP_RANCHER_INSTALL=true sudo -E ./install-k3s.sh |
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
#!/bin/sh | |
cpupower idle-set -D 11 | |
echo "Setting IOSCHED" | |
modprobe bfq | |
sst set -ssd 1 PowerGovernorMode=2 |