- add the GitHub repo as a remote
$ git remote add github https://github.com/<org>/myrepo.git
- fetch PRs
$ git fetch github
ansible localhost -m setup |
# as root | |
NAME=jammy1 | |
pacman -S ubuntu-keyring debootstrap | |
mkdir -p /var/lib/machines | |
cd /var/lib/machines |
#!/usr/bin/env python3 | |
# | |
# Script for bulk import of images into a LibreOffice presentation | |
# for allowing SVG images to be usable as vectors in Google Docs. | |
# | |
# Andy Botting <andy@andybotting.com> 2022 | |
# | |
# Steps: | |
# 1) Start LibreOffice impress with: | |
# /usr/lib/libreoffice/program/soffice.bin --impress \ |
$ git remote add github https://github.com/<org>/myrepo.git
$ git fetch github
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash -eu | |
ADJECTIVES="ablaze accented alive ashen ashy atomic attractive beaming beautiful better bitter blazing bleached bleak blended blotchy bold brash breezy bright brilliant broad bumpy burnt careful checkered chilly chromatic chubby classic clean clever colored colorful colorless colossal contrasting cool creamy crisp crooked cuddly curved damaged dappled dark dayglo dazzling deep delicate delicious digital dim dirty dotted drab dreary dull dusty earth electric elegant faded faint famous fancy festive fiery flabby flaky flashy flattering fluffy freezing fresh frosty gifted gigantic glamorous glistening glittering glowing gorgeous greasy great hallowed handsome harsh hazy helpful hollow hot hued icy illuminated immense important intense juicy large light little loose loud luminous majestic mammoth massive matte medium mellow melted milky mingled miniature mixed moldy motley mottled muddy murky muscular mushy narrow natural neutral nutty opaque pale pastel patchwork patchy patterned perfect petite |
#EXTM3U | |
#EXTINF:0,NHK World TV | |
https://nhkworld.webcdn.stream.ne.jp/www11/nhkworld-tv/global/2003458/live.m3u8 |
#!/usr/bin/bash | |
# OpenStack Designate API plugin | |
# | |
# This requires you to have OpenStackClient and python-desginateclient | |
# installed, with the appropriate OpenStack credentials available, whether | |
# that is a clouds.yaml file or environment variables. | |
# | |
# Author: Andy Botting <andy@andybotting.com> |
puppet agent --test --noop --agent_disabled_lockfile=/dummy |
If you ever wanted to set some default config settings for your webcam on Linux, here's a way you might do it with UDEV.
For example, in this case, I'm disabling auto-focus, setting the focus to 6 and then setting the powerline frequency to 50Hz.
In this case, I'm applying it to a Microsoft® LifeCam Cinema(TM), where lsusb
says it's vendor:id value is 045e:0812
Add a new file (for example) /etc/udev/rules.d/83-uvcvideo-settings.rules
SUBSYSTEM=="video4linux", KERNEL=="video[0-9]*", ATTR{index}=="0", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="0812", RUN+="/usr/bin/v4l2-ctl -d $devnode --set-ctrl=power_line_frequency=1"