Run from Terminal:
python3 odoo-bin shell -d mydb --addons-path=/your/addons/path
Run from python console:
self.env['ir.module.module'].search([('name', '=', 'crm')]).button_immediate_uninstall()
Run from Terminal:
python3 odoo-bin shell -d mydb --addons-path=/your/addons/path
Run from python console:
self.env['ir.module.module'].search([('name', '=', 'crm')]).button_immediate_uninstall()
Update: There is a more secure version available. Details
<?php
$plaintext = 'My secret message 1234';
# Bulk update all product posts with a post status of publish to draft | |
wp post list --field=ID --post_type=product --posts_per_page=500 --post_status=publish | xargs wp post update --post_status=draft | |
# Bulk update all product posts with a post status of draft to publish | |
wp post list --field=ID --post_type=product --posts_per_page=500 --post_status=draft | xargs wp post update --post_status=publish |
body { | |
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; | |
font-weight: 300; | |
} |
IMPORTANT: Read this before implementing one of the configuration files below (for either Varnish 3.x or 4.x+).
USE: Replace the contents of the main Varnish configuration file located in /etc/varnish/default.vcl (root server access required - obviously) with the contents of the configuration you'll use (depending on your Varnish version) from the 2 examples provided below.
IMPORTANT: The following setup assumes a 180 sec (3 minute) cache time for cacheable content that does not have the correct cache-control HTTP headers. You can safely increase this to 300 sec (or more) for less busier sites or drop it to 60 sec or even 30 sec for high traffic sites.
This configuration requires an HTTP Header and a user cookie to identify if a user is logged in a site, in order to bypass caching overall (see how it's done for Joomla & WordPress). If your CMS provides a way to add these two requirements, then you can use this configurati
<?php | |
/* | |
Plugin Name: Product Feed Cache Fixed | |
Plugin URI: vncase.com | |
Description: Enables feed item caching in the Google Product Feed extension. | |
Version: 1.0 | |
Author: Le | |
Author URI: https://cleon.vn | |
*/ |
ffmpeg -i data/video.mp4 -vcodec h264 -b:v 1000k -acodec mp2 data/output.mp4 | |
ffmpeg -i data/video.mp4 -vcodec h264 -b:v 1000k -acodec mp3 data/output.mp4 |
Direct copy of pre-encoded file:
$ ffmpeg -i filename.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8
function disable_elementor_dashboard_overview_widget() { | |
remove_meta_box( 'e-dashboard-overview', 'dashboard', 'normal'); | |
} | |
add_action('wp_dashboard_setup', 'disable_elementor_dashboard_overview_widget', 40); |
add_filter( 'product_type_selector', 'remove_product_types' ); | |
function remove_product_types( $types ){ | |
unset( $types['grouped'] ); | |
unset( $types['external'] ); | |
unset( $types['variable'] ); | |
return $types; | |
} |