By Claude Code (Anthropic)
With vague assistance from Merlin Mann
April 7, 2026
Tip
A suggested prompt for your AI of choice:
This notes is written by Sheldon. You can find me with #iOSBySheldon in Github, Youtube, Facebook, etc.
Convert .mov/.MP4 to .gif
As a developer, I feel better to upload a short video when I create the pull request to show other viewers what I did in this PR. I tried .mov format directly got after finishing recording screen using Quicktime, however, gif offers preview in most web pages, and has smaller file size.
This is not limited to developer, anyone has this need can use this method to convert the files.
| diff --git a/clustergroup/templates/plumbing/cluster-external-secrets.yaml b/clustergroup/templates/plumbing/cluster-external-secrets.yaml | |
| index 52f5ca5..2f8db26 100644 | |
| --- a/clustergroup/templates/plumbing/cluster-external-secrets.yaml | |
| +++ b/clustergroup/templates/plumbing/cluster-external-secrets.yaml | |
| @@ -34,10 +34,10 @@ spec: | |
| data: | |
| - secretKey: kubeBearer | |
| remoteRef: | |
| - key: {{ $.Values.secretsBase.key }}/cluster_{{ .Values.clusterGroup.targetCluster }} | |
| + key: {{ $.Values.hostedSite.bearer_secret_key }} |
| diff --git a/clustergroup/templates/applications.yaml b/clustergroup/templates/applications.yaml | |
| index 7e17afc..4952f06 100644 | |
| --- a/clustergroup/templates/applications.yaml | |
| +++ b/clustergroup/templates/applications.yaml | |
| @@ -33,17 +33,17 @@ spec: | |
| {{- end }} | |
| # Watch the progress of https://issues.redhat.com/browse/GITOPS-891 and update accordingly | |
| parameters: | |
| - - name: global.repoURL | |
| + - name: {{ default "global.repoURL" .repoField }} |
| clusterGroup: | |
| subscriptions: | |
| - name: advanced-cluster-management | |
| namespace: open-cluster-management | |
| channel: release-2.4 | |
| csv: advanced-cluster-management.v2.4.1 | |
| - name: seldon-operator | |
| namespace: manuela-ml-workspace | |
| source: community-operators |
| resourceExclusions: | | |
| - apiGroups: | |
| - admissionregistration.k8s.io/v1beta1 | |
| - apiextensions.k8s.io/v1beta1 | |
| - apiregistration.k8s.io/v1beta1 | |
| - authentication.k8s.io/v1beta1 | |
| - authorization.k8s.io/v1beta1 | |
| - autoscaling/v2beta1 | |
| - autoscaling/v2beta2 | |
| - batch/v1beta1 |
| // | |
| // Taby.swift | |
| // | |
| import SwiftUI | |
| import PencilKit | |
| import Foundation | |
| import SwiftUI | |
| import PencilKit |
| diff --git a/pkg/daemon/update.go b/pkg/daemon/update.go | |
| index 773246cb..4dfd9325 100644 | |
| --- a/pkg/daemon/update.go | |
| +++ b/pkg/daemon/update.go | |
| @@ -17,6 +17,8 @@ import ( | |
| "syscall" | |
| "time" | |
| + "github.com/openshift/machine-config-operator/pkg/daemon/pivot/reboot" | |
| + |
| #!/bin/bash | |
| virt_connect="--connect=qemu:///session" | |
| virsh="virsh ${virt_connect}" | |
| svirsh="sudo virsh" | |
| count=3 | |
| onlyone=$1 | |
| name=beekhof | |
| SCRIPT_vm_vcpu=2 |
// LeaseSpec: https://github.com/kubernetes/api/blob/master/coordination/v1/types.go#L40
leasePadding = 30 seconds
Unless otherwise specified, when updating the following fields, always set:
LeaseDurationSeconds = lifecycle.metal3.io/maintenance + leasePadding,AcquireTime = now,RenewTime = now,HolderIdentity = machine-remediation