Skip to content

Instantly share code, notes, and snippets.

View anhkevin's full-sized avatar
💭
Do What You Want!

Ánh Kevin anhkevin

💭
Do What You Want!
View GitHub Profile
@anhkevin
anhkevin / Test
Created August 10, 2020 01:29
test
test
@anhkevin
anhkevin / wp_replace_domain.md
Last active May 6, 2022 14:10
Mysql replace domain Wordpress

Mysql replace domain Wordpress

SQL to replace domain name in Wordpress MySQL

Usage

  • Step 1: Updating serialised array in mysql
  • Step 2: Updating not serialised in mysql
@anhkevin
anhkevin / cert.conf
Last active September 4, 2020 08:27
XAMPP SSL
[ req ]
default_bits = 2048
default_keyfile = server-key.pem
distinguished_name = subject
req_extensions = req_ext
x509_extensions = x509_ext
string_mask = utf8only
[ subject ]
@anhkevin
anhkevin / WP_Query.php
Created September 25, 2020 01:43
WP: Query $args
// Source: https://gist.github.com/luetkemj/2023628
<?php
/**
* WordPress Query Comprehensive Reference
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters
* Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php
*/