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
#! /usr/bin/env bash | |
# build deps | |
sudo apt install meson libelf-dev | |
# get source | |
git clone git@github.com:flatpak/flatpak-builder.git | |
cd flatpak-builder | |
# from repo instructions, build |
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
#! /usr/bin/env bash | |
function cleanup() { | |
echo 'restoring mouse cursor' | |
killall xbanish | |
echo 'restoring desktop monitor' | |
/usr/local/bin/unprojectorify.sh | |
echo 'restoring screen blank and suspend on idle' |
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
#! /usr/bin/env bash | |
# adapted from https://docs.zfsbootmenu.org/en/v2.3.x/guides/ubuntu/uefi.html | |
# script is not meant to be run non-interactively. read and understand before executing | |
sudo -i | |
source /etc/os-release | |
export ID | |
export POOL_DISK="/dev/sdg" |
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
#!/usr/bin/env bash | |
set -e | |
MODEL="qemu" | |
qemu-system-x86_64 \ | |
-enable-kvm \ | |
-M q35 \ | |
-m 4096 \ |
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
// open the likes/comments activity panel prior to running this in a web console. | |
// this will insert thumbs just above the album photos | |
(() => { | |
// cleanup and init | |
try { | |
document.querySelector('#virtual-timeline').parentNode.removeChild(document.querySelector('#selects')) | |
} catch {} | |
document.querySelector('#virtual-timeline').insertAdjacentHTML('beforebegin', '<div class="flex flex-wrap" id="selects"></div>') | |
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
#! /usr/bin/env bash | |
wget https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10021/ghostscript-10.02.1.tar.gz | |
tar -zxf ghostscript-10.02.1.tar.gz ghostscript-10.02.1/ | |
cd ghostscript-10.02.1/ | |
./configure | |
make -j56 | |
sudo make install |
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
#! /usr/bin/env bash | |
# Create a new ARM server (CAX41 | arm | 320 GB | eu-central) from app image: Docker CE | |
# install git | |
apt update | |
apt install -y git | |
# download and prepare Iris for build | |
git clone --depth=1 https://github.com/jaedb/Iris.git |
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
#! /usr/bin/env bash | |
# displays.sh single | |
# displays.sh stack | |
# displays.sh split | |
# displays.sh triple | |
case $1 in | |
single) | |
xrandr \ |
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
#! /usr/bin/env bash | |
# NOTE: This worked for my migration from Pop!_OS 22.04 Atom 1.63.1 which was installed with flatpak (user) | |
# First, download and install the deb package found here https://pulsar-edit.dev/download.html | |
# for flatpak Atom migration to Pulsar deb - copy configuration and packages | |
rsync -av ~/.var/app/io.atom.Atom/data/ ~/.pulsar/ | |
# for deb Atom migration to Pulsar deb - copy configuration and packages | |
#rsync -av ~/.atom/ ~/.pulsar/ |
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
# ~/.local/share/applications/davinci-resolve-studio.desktop | |
[Desktop Entry] | |
Version=1.0 | |
Encoding=UTF-8 | |
Exec=/bin/bash -c '__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia QT_DEVICE_PIXEL_RATIO=1 QT_AUTO_SCREEN_SCALE_FACTOR=true /opt/resolve/bin/resolve' | |
Icon=/opt/resolve/graphics/DV_Resolve.png | |
Name=DaVinci Resolve Studio | |
Terminal=false | |
MimeType=application/x-resolveproj; | |
Type=Application |
NewerOlder