See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
#FORCE MIC VOLUME | |
cat <<'EOF' >> ~/.bashrc | |
### Want to see if linux is gonna change mic volume!!! | |
export MICVOLUME=35 | |
export MICCALC=$(bc <<< "scale=2; 65535 * ($MICVOLUME / 100)" | grep -oP '^\d+') | |
while sleep 0.25; do | |
export MICNAME=$(pacmd list-sources | grep -zoP '\*.*\n.*name.*<(.+)>' | grep -zoP '<.*>' | grep -UzoP '[^<>]' | tr -d '\n') | |
pacmd set-source-volume $MICNAME $MICCALC | |
done | |
EOF |
#!/bin/bash | |
# Make sure you are logged into the correct context via `az account set` | |
# Make sure you also delete the tmp folder as those secrets will be sitting on your filesystem in plain text!!!!!!!!! | |
vault_name=$1 | |
if [[ -z $vault_name ]]; then | |
echo "Please supply vault name as an argument to this script" |
const config = require("dotenv").config().parsed; | |
for (const k in config) { | |
process.env[k] = config[k]; | |
} | |
// npm install @slack/bolt@feat-workflow-steps | |
const { App } = require("@slack/bolt"); | |
const app = new App({ | |
signingSecret: process.env.SLACK_SIGNING_SECRET, | |
token: process.env.SLACK_BOT_TOKEN, |
#!/usr/bin/env bash | |
set -Eeu | |
trap 'STATUS=${?}; echo "${0}: Error on line ${LINENO}: ${BASH_COMMAND}"; exit ${STATUS}' ERR | |
trap 'rm -rf ${tempDir}' EXIT | |
readonly supportedUbuntuVersion="22.04" | |
readonly tempDir="/tmp/setup" | |
readonly devDir="${HOME}/dev" | |
readonly scriptsDir="${devDir}/scripts" |
The objective of any incident is to resolve the impact as quickly as possible (responsibly). This incident response framework will provide process and guidelines to achieve maximum availability for our Customers while taking into consideration the wellbeing of our engineers and stakeholders.
Note: The "Customers" are usually end-users in most contexts, but can vary by incident. For instance, if all of our build agents broke and pipelines were completely unavailable, the "Customers" would be internal engineers in the context of that incident.
{ | |
"LoRA_type": "Standard", | |
"adaptive_noise_scale": 0, | |
"additional_parameters": "", | |
"block_alphas": "", | |
"block_dims": "", | |
"block_lr_zero_threshold": "", | |
"bucket_no_upscale": true, | |
"bucket_reso_steps": 64, | |
"cache_latents": true, |