Run this command in powershell as administrator
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
{ | |
"meta": { | |
"code": 200 | |
}, | |
"response": { | |
"holidays": [ | |
{ | |
"name": "New Year's Day", | |
"description": "New Year\u2019s Day on January 1 in the Gregorian calendar is a public holiday in the Philippines.", | |
"date": { |
// Utilities for controlling the box shadow of an element. | |
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); } | |
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); } | |
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); } | |
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); } | |
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); } | |
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06); } | |
.shadow-outline { box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5); } | |
.shadow-none { box-shadow: none; } |
backend: | |
name: test-repo | |
display_url: https://example.com | |
media_folder: "assets/uploads" | |
publish_mode: editorial_workflow | |
collections: # A list of collections the CMS should be able to edit | |
- name: "posts" # Used in routes, ie.: /admin/collections/:slug/edit |
UPDATE wp_options SET option_value = replace(option_value, 'http://www.oldurl', 'http://www.newurl') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET guid = replace(guid, 'http://www.oldurl','http://www.newurl'); | |
UPDATE wp_posts SET post_content = replace(post_content, 'http://www.oldurl', 'http://www.newurl'); | |
UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://www.oldurl','http://www.newurl'); |
git rm -r --cached . | |
git add . | |
git commit -m ".gitignore is now working" |
Run this command in powershell as administrator
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
1) Create a branch with the tag | |
git branch {tagname}-branch {tagname} | |
git checkout {tagname}-branch | |
2) Include the fix manually if it's just a change .... | |
git add . | |
git ci -m "Fix included" | |
or cherry-pick the commit, whatever is easier | |
git cherry-pick {num_commit} | |
<?php | |
/* | |
* TinyMCE: Add Tailwind CSS style | |
*/ | |
add_editor_style('/assets/css/tailwind.min.css'); | |
/* | |
* TinyMCE: Remove WP styles | |
*/ |
#!/bin/bash | |
if [ "$EUID" -ne 0 ] | |
then echo "Please run as root" | |
exit | |
fi | |
apt-get install pkg-config libmagickwand-dev -y | |
cd /tmp | |
wget https://pecl.php.net/get/imagick-3.4.4.tgz | |
tar xvzf imagick-3.4.4.tgz |
#!/bin/bash | |
# This will remove Apache | |
sudo service apache2 stop | |
sudo apt-get purge apache2 apache2-utils apache2.2-bin | |
sudo apt remove apache2.* | |
sudo apt-get autoremove | |
whereis apache2 | |
sudo rm -rf /etc/apache2 |