- Enable the Linux development environment
- Set up FlatHub
- Install mpv from FlatHub
flatpak install flathub io.mpv.Mpv
- Edit mpv.conf located in
$HOME/.local/share/flatpak/app/io.mpv.Mpv/current/active/files/etc/mpv/mpv.conf
flatpak install flathub io.mpv.Mpv
$HOME/.local/share/flatpak/app/io.mpv.Mpv/current/active/files/etc/mpv/mpv.conf
#!/bin/bash | |
# A script to periodically check for new files in taildrop and move them. | |
# | |
# Usage: | |
# ./tailscale_getfiles.sh start | |
# ./tailscale_getfiles.sh stop | |
readonly TAILSCALE_DIR="$HOME/tailscale" | |
readonly STATE_DIR="$TAILSCALE_DIR/state" |
#!/bin/bash | |
# A script to start, stop or install the Tailscale daemon without root. | |
# | |
# Usage: | |
# ./tailscale_manager.sh start | |
# ./tailscale_manager.sh stop | |
# ./tailscale_manager.sh install | |
readonly TAILSCALE_URL='https://pkgs.tailscale.com/stable/tailscale_1.84.0_amd64.tgz' |
#!/bin/bash | |
# Copyright 2024 Google LLC. | |
# SPDX-License-Identifier: Apache-2.0 | |
# This script provides a few extensions to pactl, the tool used to reconfigure | |
# a running PulseAudio sound server during runtime. | |
# Added commands: | |
# exists-card Checks if card exists (args: name) |
// Copyright 2023 Google LLC. | |
// SPDX-License-Identifier: Apache-2.0 | |
import dagger.hilt.android.ViewModelLifecycle | |
import dagger.hilt.android.scopes.ViewModelScoped | |
import kotlinx.coroutines.CoroutineScope | |
import kotlinx.coroutines.Dispatchers | |
import kotlinx.coroutines.SupervisorJob | |
import kotlinx.coroutines.cancel | |
import javax.inject.Inject |
package main | |
/* | |
#include <stdlib.h> | |
#include <mpv/client.h> | |
#cgo pkg-config: mpv | |
const char* INPUT_DEFAULT_BINDING = "input-default-bindings"; | |
const char* INPUT_VO_KEYBOARD = "input-vo-keyboard"; | |
const char* YES = "yes"; |
#!/bin/bash | |
# Copyright 2021 Google LLC. | |
# SPDX-License-Identifier: Apache-2.0 | |
# This script provides a few extensions to pacmd, the tool used to reconfigure | |
# a running PulseAudio sound server during runtime. | |
# Added commands: | |
# exists-card Checks if card exists (args: name) |
<!-- | |
Copyright 2020 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 |
/* | |
Copyright 2020 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 |
#!/usr/bin/python3 | |
# Copyright 2019 Google LLC. | |
# SPDX-License-Identifier: Apache-2.0 | |
# Sends an AMP email from a Gmail account. | |
import smtplib | |
from email import encoders | |
from email.mime.text import MIMEText |