This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Simple Yad Frontend to set Pipewire metadata | |
# Adapted from this post: https://discourse.ardour.org/t/simple-pipewire-pw-metadata-ui/109207/2 | |
# sudo cat /etc/sudoers.d/cpupower 20:03:16 | |
# user ALL=(ALL) NOPASSWD: /usr/bin/cpupower | |
quantum=$(pw-metadata -n settings 0 clock.force-quantum | sed -n "s/.*value:'\([^']*\)'.*/\1/p") | |
rate=$(pw-metadata -n settings 0 clock.force-rate | sed -n "s/.*value:'\([^']*\)'.*/\1/p") | |
governor=$(cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor | head -1) | |
governors=$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors | sed 's/ /!/g') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
461 neofetch | |
462 sudo apt update | |
463 sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common | |
464 curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - | |
465 sudo apt-key fingerprint 0EBFCD88 | |
466 sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian \ | |
467 $(lsb_release -cs) \ | |
468 stable" | |
469 sudo apt-get update | |
470 sudo apt-get install docker-ce docker-ce-cli containerd.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @snippet Hide Shipping Fields and address selector for Local Pickup in Cart Page | |
* @author Alexis Boni | |
* @testedwith WooCommerce 5.4 - OceanWP theme. | |
*/ | |
do_action('woocommerce_after_shipping_rate', $method, $index); | |
// define the woocommerce_after_shipping_rate callback | |
function action_woocommerce_after_shipping_rate($method, $index) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
maim -s | xclip -selection clipboard -t image/png && xclip -selection clipboard -o > ~/screenshots/$(date +%s).png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEngine.SceneManagement; | |
namespace UAE | |
{ | |
public class SceneLauncher : MonoBehaviour | |
{ | |
// Use this for initialization | |
void Awake() |