It is loaded by default by /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist.
If you run
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
# === Optimized my.cnf configuration for MySQL/MariaDB (on cPanel/WHM servers) === | |
# | |
# by Fotis Evangelou, developer of Engintron (engintron.com) | |
# | |
# ~ Updated December 2021 ~ | |
# | |
# | |
# The settings provided below are a starting point for a 8-16 GB RAM server with 4-8 CPU cores. | |
# If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage. | |
# |
[opcache] | |
; Determines if Zend OPCache is enabled | |
opcache.enable=1 | |
; Determines if Zend OPCache is enabled for the CLI version of PHP | |
;opcache.enable_cli=1 | |
; The OPcache shared memory storage size. | |
opcache.memory_consumption=512 |
<?php | |
/** | |
* Block Users JSON API | |
*/ | |
add_filter('rest_endpoints', function ($endpoints) { | |
if (isset($endpoints['/wp/v2/users'])) { | |
unset($endpoints['/wp/v2/users']); | |
} |
# convert mov to mp4 | |
# https://medium.com/macoclock/convert-mov-to-mp4-on-a-mac-c9c93b730d84 | |
brew install ffmpeg | |
ffmpeg -i demo.mov -vcodec h264 demo.mp4 | |
# convert DoVi mkv to DoVi mp4 | |
# will only convert first video and audio stream and will skip subtitles | |
# https://www.reddit.com/r/ffmpeg/comments/qe7oq1/comment/i45kbpy/?utm_source=share&utm_medium=web2x&context=3 | |
ffmpeg -i input.mkv -c copy -strict unofficial output.mp4 |
/* Add Google Tag Manager javascript code as close to | |
the opening <head> tag as possible | |
=====================================================*/ | |
function add_gtm_head(){ | |
?> | |
<!-- Google Tag Manager --> | |
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | |
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], | |
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= |
SELECT meta_value | |
FROM wp_fanatic_shop_postmeta | |
WHERE meta_key = '_sku' | |
AND meta_value != '' | |
GROUP BY meta_value HAVING COUNT(meta_value) > 1 |
<?php | |
/** | |
* Plugin Name: Convert ACF PHP to JSON | |
* Description: Convert Advanced Custom Fields Pro configuration from PHP to JSON. | |
*/ | |
namespace ConvertAcfPhpToJson; | |
/** | |
* Add submenu item under 'Custom Fields' |
# Stolen from here https://www.tylernichols.com/apple/speed-up-mouse-tracking-on-mac-os-x | |
defaults write -g com.apple.mouse.scaling 6.0 |
It is loaded by default by /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist.
If you run
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
Default permissions, just need an APP id / APP secret
https://developers.facebook.com/tools/explorer/
i) Choose the correct APP, and click on Get Token > Get User Access Token
ii) Copy the returned token