Skip to content

Instantly share code, notes, and snippets.

@davcavalcante
davcavalcante / Commands
Created May 8, 2023 00:40 — forked from lukecav/Commands
Remove WPML options left after the plugin is removed from WordPress using WP-CLI
# delete all wpml option values
wp option delete wpml_base_slug_translation
wp option delete wpml_built_with_page_builder
wp option delete wpml_config_files_arr
wp option delete wpml_config_index
wp option delete wpml_config_index_updated
wp option delete wpml_dependencies:installed_plugins
wp option delete wpml_dependencies:invalid_plugins
wp option delete wpml_dependencies:needs_validation
wp option delete wpml_dependencies:valid_plugins
# from : 10 terminal commands to speed up your Mac | defaults-write.com
# https://www.defaults-write.com/10-terminal-commands-to-speed-up-macos-sierra-on-your-mac/
#1. Disable animations when opening and closing windows.
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
#2. Disable animations when opening a Quick Look window.
defaults write -g QLPanelAnimationDuration -float 0
#3. Accelerated playback when adjusting the window size (Cocoa applications).
defaults write NSGlobalDomain NSWindowResizeTime -float 0.001
#4. Disable animation when opening the Info window in Finder (cmd⌘ + i).
defaults write com.apple.finder DisableAllAnimations -bool true
@davcavalcante
davcavalcante / css-properties.css
Created April 24, 2023 21:31 — forked from simurai/css-properties.css
All CSS properties
/*
* CSS Properties
* http://ref.openweb.io/CSS/
**/
.properties {
align-content: value;
align-items: value;
align-self: value;