Skip to content

Instantly share code, notes, and snippets.

View castrojo's full-sized avatar
๐Ÿฆ–
Shipping raptors ...

Jorge O. Castro castrojo

๐Ÿฆ–
Shipping raptors ...
View GitHub Profile
Aug 04 22:06:28 hamilton systemd[1]: Starting rpm-ostree-countme.service - Weekly rpm-ostree Count Me reporting...
Aug 04 22:06:28 hamilton rpm-ostree[11049]: Using User Agent: rpm-ostree (Bluefin LTS 10; unknown; Linux.x86_64)
Aug 04 22:06:28 hamilton rpm-ostree[11049]: Sending request to: https://mirrors.centos.org/metalink?repo=centos-extras-sig-extras-common-$stream&arch=x86_64&>
Aug 04 22:06:28 hamilton rpm-ostree[11049]: Request 'https://mirrors.centos.org/metalink?repo=centos-extras-sig-extras-common-$stream&arch=x86_64&protocol=ht>
Aug 04 22:06:28 hamilton rpm-ostree[11049]: Sending request to: https://mirrors.centos.org/metalink?repo=centos-baseos-$stream&arch=x86_64&protocol=https,htt>
Aug 04 22:06:28 hamilton rpm-ostree[11049]: Request 'https://mirrors.centos.org/metalink?repo=centos-baseos-$stream&arch=x86_64&protocol=https,http&countme=1>
Aug 04 22:06:28 hamilton rpm-ostree[11049]: Sending request to: https://mirrors.centos.org/metalink?repo=centos-appstream-$stream&arch=x86_64&protocol=https,>
A
You can automate this with a shell script using the distrobox CLI. Hereโ€™s a template:
```sh
#!/bin/sh
# Set your container name and the script you want to run inside the container
CONTAINER_NAME="mycontainer"
SCRIPT_PATH="/path/in/container/myscript.sh"
# If your script is on the host and you want to copy it in, use:
name: Generate Torrent & Deploy to Cloudflare
on:
# Trigger the workflow on pushes to the main branch (or other events)
push:
branches:
- main
jobs:
generate_and_deploy:
milton systemd[1]: Started [email protected] - Process Core Dump (PID 27966/UID 0).
Jul 30 13:29:33 hamilton systemd-coredump[27967]: Removed old coredump core.xdg-desktop-por.1000.cbfb9d9915d24f809c3440cb734aabea.440792.1753111768000000.zst.
Jul 30 13:29:33 hamilton systemd-coredump[27967]: Process 27922 (xdg-desktop-por) of user 1000 dumped core.
Module [dso] from rpm libxcb-1.17.0-3.el10.x86_64
Module libdconfsettings.so from rpm dconf-0.40.0-16.el10.x86_64
Module libgvfscommon.so from rpm gvfs-1.54.4-2.el10.x86_64
Module libgvfsdbus.so from rpm gvfs-1.54.4-2.el10.x86_64
Module libgstaudio-1.0.so.0 from rpm gstreamer1-plugins-base-1.24.11-1.el10.x86_64
0: Readymade subprocess failed
Location:
src/backend/install.rs:190
Note: exit status: 1
Note: Stdout:
Setting env var NO_COLOR to 1
Setting env var READYMADE_LOG to info
โฏ atuin wrapped
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ ATUIN WRAPPED 2024 โ”‚
โ”‚ Your Year in Shell History โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
๐ŸŽ‰ In 2024, you typed 6960 commands!
That's ~19 commands every day
Your Top Commands:
3d-printing 3D Printing no
admin-tools Administration Tools no
audio Audio Production no
authoring-and-publishing Authoring and Publishing no
budgie-desktop Budgie no
budgie-desktop-apps Budgie Desktop Applications no
c-development C Development Tools and Libraries no
cloud-infrastructure Cloud Infrastructure no
cloud-management Cloud Management Tools no
compiz Compiz no
```
name: Cherry Pick Commit
on:
workflow_dispatch:
inputs:
branch:
description: 'The branch containing the commit to cherry-pick'
required: true
commit:
jorge@exo ~
โฏ grype docker.io/library/ubuntu:latest
โ ฆ Vulnerability DB โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” [validating]
โœ” Loaded image index.docker.io/library/ubuntu:latest
โœ” Parsed image sha256:edbfe74c41f8a3501ce542e137cf28ea04dd03e6df8c9d66519b6ad761c2598a
โœ” Cataloged contents 0e561039576c19dde14168c53775ee33f6a2bddc4aad62ea3fdcd699369b1e85
โœ” Vulnerability DB [updated]
โœ” Loaded image index.docker.io/library/ubuntu:latest
โœ” Parsed image sha256:edbfe74c41f8a3501ce542e137cf28ea04dd03e6df8c9d66519b6ad761c2598a
โœ” Cataloged contents 0e561039576c19dde14168c53775ee33f6a2bddc4aad62ea3fdcd699369b1e85