| #!/bin/bash | |
| set -euo pipefail | |
| echo "🔍 Detecting architecture..." | |
| ARCH=$(uname -m) | |
| case "$ARCH" in | |
| x86_64) ARCH_NAME="amd64" ;; | |
| aarch64) ARCH_NAME="arm64" ;; | |
| *) echo "❌ Unsupported architecture: $ARCH"; exit 1 ;; | |
| esac |
| #!/bin/bash | |
| # Define variables | |
| APPIMAGE_PATH="/opt/cursor.appimage" | |
| ICON_PATH="/opt/cursor.png" | |
| DESKTOP_ENTRY_PATH="/usr/share/applications/cursor.desktop" | |
| # Determine the shell and RC file | |
| SHELL_NAME=$(basename "$SHELL") |
I personally don't use Flatpak VSCode anymore, since I switched from Fedora Silverblue to Universal Blue's project Bluefin-DX. I'll leave the instructions here for those who want them, but be aware that Flatpak VSCode instructions won't be maintained anymore.
- Install VSCode Flatpak from Flathub:
sudo snap remove --purge firefox
sudo snap remove --purge snap-store
sudo snap remove --purge snapd-desktop-integration
sudo snap remove --purge gtk-common-themes
sudo snap remove --purge gnome-3-38-2004
sudo snap remove --purge core20
sudo snap remove --purge bare
sudo snap remove --purge snapd
Turn your smartphone or tablet (e.g., Iphone, Ipad, Samsung, Motorola, etc) camera into a WebCam to make video conference (e.g., Google Meeting, Zoom, Discord, etc) in Linux.
Examples:
Documenting XRDP setup which worked for me on Ubuntu Mate 20.04.
Some parts are taken from: http://c-nergy.be/blog/?p=14093.
sudo apt install xrdp
| <?php | |
| /** | |
| * Integrate custom post types into Flatsome 3 page builder application using a child theme. | |
| * | |
| * This will provide: | |
| * | |
| * 1. Page Builder Editor support for custom post types | |
| * 2. Integration with page builder post element components | |
| **/ |
Adding automatic theme updates from a GitHub repository is actually pretty simple. The following function will hook into WordPress's native update system and grab the latest release from the repo of your choosing (if the version number has increased).
Place the following in your functions.php
// Automatic theme updates from the GitHub repository
add_filter('pre_set_site_transient_update_themes', 'automatic_GitHub_updates', 100, 1);
function automatic_GitHub_updates($data) {