i made a quick script to remove Snaps, disable Snapd and optionally install Flatpak on Ubuntu..

ubuntu-remove-snapd.sh

..if the Flatpak option is chosen while using Gnome, this script will install the Gnome Software app to manage packages

View Post

the Code Syntax Block WordPress plugin hasn’t been updated in a while and isn’t fully compatible with WordPress 6.5 ..adding the function below to the end of the plugin’s index.php file seems to fix it..

// replace br tags with new line characters (to fix PrismJS styled code blocks)
function replace_new_line_character( $block_content ) {
    $block_content = str_replace( '<br>', "\n", $block_content );
    return $block_content;
}
add_filter( 'render_block_core/code', 'replace_new_line_character' );
View Post