Skip to content

Instantly share code, notes, and snippets.

Bottom line first

  • You probably have a small joint or soft‑tissue restriction in the proximal forearm (most often the radial‑head / proximal radio‑ulnar joint).
  • A quick twist‑and‑pull (“long‑axis distraction with coupled supination”) frees that restriction, relaxes the surrounding muscles, and your symptoms disappear for weeks.
  • Re‑creating that maneuver at home is possible only if the person doing it has hands‑on training. Otherwise you risk sprains, nerve irritation, or even a dislocation.
  • The safest path: have a licensed physical therapist, osteopath, or chiropractor teach both of you—in one short visit—how to do a gentle, graded version. Meanwhile you can use the self‑care drills below to keep the joint mobile.

1. Why the maneuver works

"""
NOTE: make sure to install:
pip install Pillow google-genai loguru
"""
from google import genai
from google.genai import types
from PIL import Image
from io import BytesIO
import os
@mccun934
mccun934 / agent loop
Created March 10, 2025 12:16 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
1. # create new .py file with code found below
2. # install ollama
3. # install model you want “ollama run mistral”
4. conda create -n autogen python=3.11
5. conda activate autogen
6. which python
7. python -m pip install pyautogen
7. ollama run mistral
8. ollama run codellama
9. # open new terminal
# satellite-installer --full-help
Usage:
satellite-installer [OPTIONS]
Options:
= Generic:
--[no-]lock-package-versions Let installer lock versions of the installed packages to prevent
unexpected breakages during system updates. The choice is remembered
and used in next installer runs. (default: nil)

1) On your MongoDB server:

Substitute in the name of the package you are looking for in the name param, in this example we use satellite-clone

# mongo pulp_database
> db.units_rpm.find( {name: "satellite-clone"}, { id: 1})
{ "_id" : "33e8dfe8-87d3-43a9-849e-c65092f22f68" }
{ "_id" : "3e7b87e6-b67d-4655-87c6-2754e3dcfb21" }
{ "_id" : "203df79d-d71f-4d83-aa5b-be384de708e9" }
namespace :katello do
desc "Export the stored x509 certificates from Pulp's configuration"
task :export_repo_certs => ["environment"] do
User.current = User.anonymous_api_admin
org_name = ENV['ORG_NAME']
org = Organization.find_by name: org_name
path = Dir.mktmpdir("pulp-certs")
Katello::Repository.yum_type.in_default_view.in_organization(org).each do |repo|
filename = File.join(path, "#{repo.product.label}-#{repo.label}")
namespace :katello do
task :update_repo_certs => %w(environment) do
User.current = User.anonymous_admin
begin
ssl_cert = File.read(File.open(ENV['SSL_CERT_PATH']))
ssl_key = File.read(File.open(ENV['SSL_KEY_PATH']))
rescue
raise("SSL_CERT_PATH or SSL_KEY_PATH could not be read")
end
@mccun934
mccun934 / scaling.md
Created October 30, 2020 14:36 — forked from adamruzicka/scaling.md
Dynflow workers scaling

Intro

Out of the box, foreman ships with orchestrator and a single worker If you have Katello, you will get an additional worker for processing of the host queue

root@modest-gator:~# ls -l /etc/foreman/dynflow/
total 1
-rw-r--r--. 1 root foreman 51 May 14 07:35 orchestrator.yml
-rw-r--r--. 1 root foreman 59 May 14 07:35 worker.yml
#!/bin/bash
echo "Importing Subscription Pools from Candlepin."
echo '
namespace :katello do
task :import_subscriptions => ["environment"] do
User.current = User.anonymous_api_admin
puts _("Importing Subscriptions")
Katello::Subscription.import_all