Skip to content

Instantly share code, notes, and snippets.

View osde8info's full-sized avatar

Clive D osde8info

View GitHub Profile
@osde8info
osde8info / opencode-relax-beta.jsonc
Created September 22, 2026 12:45 — forked from mpvii/opencode-relax-beta.jsonc
OpenCode V2 config — Relax AI (Beta) provider only
{
"$schema": "https://opencode.ai/config.json",
"model": "relax-beta/DeepSeek-V4-Pro",
"providers": {
"relax-beta": {
"name": "Relax AI (Beta)",
"package": "@opencode/ai/providers/openai-compatible",
"settings": {
"baseURL": "https://api.beta.relax.ai/v1"
},
@osde8info
osde8info / ghcd.ps
Created January 30, 2026 13:47
github cust doms
$token = "YOUR_GITHUB_TOKEN"
$repos = Invoke-RestMethod `
-Headers @{ Authorization = "Bearer $token"; Accept = "application/vnd.github+json" } `
-Uri "https://api.github.com/user/repos?per_page=200"
foreach ($repo in $repos) {
$name = $repo.full_name
try {
@osde8info
osde8info / ghcust.ps
Created January 30, 2026 13:45
github custom domains
$token = "YOUR_GITHUB_TOKEN"
$repos = Invoke-RestMethod `
-Headers @{ Authorization = "Bearer $token"; Accept = "application/vnd.github+json" } `
-Uri "https://api.github.com/user/repos?per_page=200"
foreach ($repo in $repos) {
$name = $repo.full_name
try {
$cname = Invoke-RestMethod `
$token = "YOUR_GITHUB_TOKEN"
# Get all repos (increase per_page if you have many)
$repos = Invoke-RestMethod `
-Headers @{ Authorization = "Bearer $token"; Accept = "application/vnd.github+json" } `
-Uri "https://api.github.com/user/repos?per_page=200"
foreach ($repo in $repos) {
$name = $repo.full_name
try {
curl -s -H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer YOUR_GITHUB_TOKEN" \
https://api.github.com/user/repos?per_page=200 \
| jq -r '.[].full_name' \
| while read repo; do
curl -s -H "Accept: application/vnd.github.raw" \
-H "Authorization: Bearer YOUR_GITHUB_TOKEN" \
https://api.github.com/repos/$repo/contents/CNAME \
2>/dev/null | grep -qi "voip.osde.info" && echo "FOUND in $repo"
done
@osde8info
osde8info / broswerext.txt
Created January 8, 2026 11:25
replit ai prompt to build a browser extension
Opening Prompt:
I want to read the attached documentation and come up with a plan to build out a modern web application and browser extension called MMarkit. The app and extension should be very lightweight and super easy to use following best practices for Manifest 3 Chrome extensions and making sure that our auth and UI components are simple and easy to reuse across both the web application and the extension so that we don't duplicate code and keep things performant and optimized.
Theme: use #9C64FB as our primary accent color with #111111 as a complimentary/background color
Also use the provided icons for the extension and brandingIcons for extension:
https://www.dropbox.com/scl/fo/gmtm9djns0p106hp87nky/AISSfRfsrlle6-CDinO2rwA?rlkey=i1esondt3tkfuv8ex9lw5q892&dl=0
Full Prompt
C:>wsl -l -o
The following is a list of valid distributions that can be installed.
Install using 'wsl --install -d <Distro>'.
NAME FRIENDLY NAME
Ubuntu Ubuntu
Debian Debian GNU/Linux
kali-linux Kali Linux Rolling
openSUSE-42 openSUSE Leap 42
@osde8info
osde8info / jenk.sh
Created October 12, 2022 15:34
systemd systemctl jenkins
#
systemctl enable jenkins
systemctl start jenkins
systemctl status jenkins
# systemctl edit jenkins
journalctl -u jenkins.service -f
@osde8info
osde8info / Jenkinsfile
Created October 12, 2022 14:40
jenkins docker pipeline image python
docker.image('python:3.7-slim-bullseye').inside {
sh 'python --version'
}
@osde8info
osde8info / Jenkinsfile
Created October 12, 2022 14:39
jenkins docker pipeline image example
docker.image('maven:3.3.3-jdk-8').inside {
sh 'mvn -B clean install'
}