Install using launchctl load tmux.plist
Feel free to change the Label to something else or remove the domain. I have set it to my own domain to avoid clashes.
Install using launchctl load tmux.plist
Feel free to change the Label to something else or remove the domain. I have set it to my own domain to avoid clashes.
| package main | |
| import ( | |
| "crypto/ecdsa" | |
| "crypto/rsa" | |
| "crypto/x509" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "os" |
| steps: | |
| - name: gcr.io/cloud-builders/curl | |
| entrypoint: "/bin/sh" | |
| args: | |
| - "-c" | |
| - |- | |
| access_token=$(curl -H 'Metadata-Flavor: Google' \ | |
| http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token | \ | |
| grep -E -o 'ya29[^"]+') | |
| curl -s -f 'https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/$_SERVICE_ACCOUNT:generateIdToken' \ |
| variable "project" { | |
| type = string | |
| } | |
| variable "group_name" { | |
| type = string | |
| } | |
| variable "customer_id" { | |
| type = string |
| # Copyright 2019 Google LLC | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # https://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| FROM debian:bullseye-slim | |
| # minimal dependecies including python | |
| RUN apt-get update; \ | |
| apt-get install -y --no-install-recommends \ | |
| ca-certificates netbase tzdata \ | |
| curl wget \ | |
| htop git \ | |
| bash zsh fish man \ | |
| gawk sed grep \ | |
| build-essential make \ |
| import RPi.GPIO as GPIO | |
| GPIO.setmode(GPIO.BCM) | |
| GPIO.setup(17, GPIO.OUT) | |
| GPIO.output(17, True) |
| #!/bin/bash | |
| DEFAULT_CARD=alsa_card.pci-0000_01_00.1 | |
| DEFAULT_SOURCE=alsa_input.usb-046d_HD_Pro_Webcam_C920_B6E53ECF-02.analog-stereo | |
| SOUND_FILE=ChID-BLITS-EBU-Narration441-16b.wav | |
| function stop_sound_system() { | |
| echo "Stopping pulseaudion"; killall pulseaudio | |
| echo "Waiting 10s ..."; sleep 10 |
| <?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"> | |
| <dict> | |
| <key>DisplayPixelDimensions</key> | |
| <data> | |
| AAAQAAAACHA= | |
| </data> | |
| <key>DisplayProductID</key> | |
| <integer>30439</integer> |