Or: “Everybody likes being given a glass of water.”
By Merlin Mann.
It's only advice for you because it had to be advice for me.
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| REGISTRY="${REGISTRY:-localhost:5000}" | |
| IMAGE="${IMAGE:-core}" | |
| VERSION="${VERSION:-noble}" | |
| TAG="${TAG:-test}" | |
| LOGDIR=$(mktemp -d) | |
| RESULT="FAILED" |
Disclaimer: this step-by-step GIST has been created with no guarantees, I may have missed some steps because of distraction or chiptune improvised on-chair-dancing, so be patient and let me know if I must add or fix something.
This is the way for living long and prospering!
Download and install Raspberry Imager: https://www.raspberrypi.org/software/
| --- | |
| # https://help.github.com/en/actions/automating-your-workflow-with-github-actions | |
| # https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows | |
| # https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions | |
| # https://help.github.com/en/actions/automating-your-workflow-with-github-actions/contexts-and-expression-syntax-for-github-actions | |
| # https://help.github.com/en/actions/automating-your-workflow-with-github-actions/virtual-environments-for-github-hosted-runners | |
| name : debug | |
| on : | |
| push : | |
| branches : [ "master" ] |
| require "yaml" | |
| require "twitter" | |
| config = YAML.load_file(File.expand_path("~/.trc")).dig("profiles", "qyliss").each_value.first | |
| last_status = ARGV.fetch(0) | |
| twitter = Twitter::REST::Client.new do |t| | |
| t.consumer_key = config.fetch("consumer_key") | |
| t.consumer_secret = config.fetch("consumer_secret") |
| #!/bin/bash | |
| set -e | |
| CONTENTS=$(tesseract -c language_model_penalty_non_dict_word=0.8 --tessdata-dir /usr/local/share/tessdata/ "$1" stdout -l eng | xml esc) | |
| hex=$((cat <<EOF | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> |
| This builds off the excellent work of @lmarkus & @dogeared. | |
| The scripts below can be used in conjunction with the Slack Emoji Tools Google Chrome extension to export emojis from | |
| one Slack team and import into another team. | |
| Original work here: | |
| * https://gist.github.com/lmarkus/8722f56baf8c47045621 | |
| * https://gist.github.com/dogeared/f8af0c03d96f75c8215731a29faf172c |
| ffmpeg -f concat -safe 0 -i <(for f in ./*.MP4; do echo "file '$PWD/$f'"; done) -c copy output.MP4 |