This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Hà Nội | Quận Ba Đình | Phường Phúc Xá | Đường An Xá | |
|---|---|---|---|---|
| Hà Nội | Quận Ba Đình | Phường Trúc Bạch | Đường Bắc Sơn | |
| Hà Nội | Quận Ba Đình | Phường Vĩnh Phúc | Đường Bưởi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Sử dụng để nhập danh sách quận huyện vào Tỉnh/Thành phố. | |
| * Bạn cần tạo đủ danh sách Tỉnh Thành phố rồi mới chạy phần import này. | |
| * Set trong wp-config.php WP_DEBUG = true và WP_DEBUG_LOG = TRUE, rồi mở file wp-content/debug.log để xem kết quả import từng dòng | |
| */ | |
| /** | |
| * Import district | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Register assets | |
| * | |
| * @package Example_Plugin | |
| * @author codetot | |
| * @since 0.0.1 | |
| */ | |
| class Example_Assets { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Get WP_Query object from custom arguments | |
| */ | |
| function codetot_get_post_query($custom_post_args) { | |
| $default_args = array( | |
| 'post_type' => 'post', | |
| 'posts_per_page' => get_option('posts_per_page') | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :root { | |
| --black: #000; | |
| --white: #fff; | |
| --dark: #1e1e1e; | |
| --dark-2: #141414; | |
| --dark-3: #444; | |
| --dark-green: #253c57; | |
| --gray: #8f8f8f; | |
| --light: #f8f8f8; | |
| --light-2: #f1f3f5; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Facebook Pixel Tracking--> | |
| <script> | |
| setTimeout(function(){ | |
| !function(f,b,e,v,n,t,s) | |
| {if(f.fbq)return;n=f.fbq=function(){n.callMethod? | |
| n.callMethod.apply(n,arguments):n.queue.push(arguments)}; | |
| if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; | |
| n.queue=[];t=b.createElement(e);t.async=!0; | |
| t.src=v;s=b.getElementsByTagName(e)[0]; | |
| s.parentNode.insertBefore(t,s)}(window, document,'script', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -eu | |
| TARGET="/home/<username>/public_html/" | |
| GIT_DIR="/home/<username>/public_html/.git" | |
| BRANCH="production" | |
| while read oldrev newrev ref | |
| do | |
| # only checking out the master (or whatever branch you would like to deploy) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| h1, h2, h3, h4, h5, h6, .faux-heading { | |
| color: #444; | |
| font-feature-settings: "lnum"; | |
| font-variant-numeric: lining-nums; | |
| font-weight: 700; | |
| line-height: 1.2; | |
| margin: 50px 0 25px; | |
| } | |
| h1 { font-size: 2em; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <!-- Change the width below to just wider than your form's width | |
| to optimize its initial scale on Apple iOS and Android devices --> | |
| <meta name="viewport" content="width=640"> | |
| <title>Unsubscribe form - Mailchimp</title> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| image: "node:12-alpine" | |
| stages: | |
| - build | |
| - test | |
| - deploy | |
| cache: | |
| key: ${CI_COMMIT_REF_SLUG} | |
| paths: |