Category: Uncategorized

02
Jan
2023

Github教程

git push origin Page-Template-Update 添加需要推送的文件名,添加commit描述,选择分支(非每一次都需要),推送到指定的分支 git add /wp-content/themes/pacificmall/styles.css git commit -m “Test git push in local host file” git checkout Page-Template-Update git push origin Page-Template-Update 工作流...

01
Oct
2022

ShotStack SDK

Installation: https://shotstack.io/product/sdk/php/ How to Use: https://github.com/shotstack/shotstack-sdk-php https://github.com/shotstack/shotstack-sdk-php

07
Sep
2022

Share post in wordpress

https://sharethis.com/zh-tw/onboarding/?_id=6318a968a7fd392081ffa289&dmp_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJfaWQiOiI2MzE4YTk2OGE3ZmQzOTIwODFmZmEyODkiLCJlbWFpbCI6InN0ZXZld2VucGVpQGdtYWlsLmNvbSIsImlzcyI6InNzby5zaGFyZXRoaXMuY29tIiwiZXhwIjoxNjYzMTY1NDE2LCJpYXQiOjE2NjI1NjA2MTZ9.28EqM8q3OyPoiC5xWmck-b_jeFQZ_p1dgBsM3NbiLYw&platform_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJfaWQiOiI2MzE4YTk2OGE3ZmQzOTIwODFmZmEyODkiLCJlbWFpbCI6InN0ZXZld2VucGVpQGdtYWlsLmNvbSIsImlzcyI6InNzby5zaGFyZXRoaXMuY29tIiwiZXhwIjoxNjYzMTY1NDE2LCJpYXQiOjE2NjI1NjA2MTZ9.Q819GhhfY7lQekaXp46uZCbtsVBV05DUV7KZgavxCPY&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJfaWQiOiI2MzE4YTk2OGE3ZmQzOTIwODFmZmEyODkiLCJlbWFpbCI6InN0ZXZld2VucGVpQGdtYWlsLmNvbSIsImlzcyI6InNzby5zaGFyZXRoaXMuY29tIiwiZXhwIjoxNjYzMTY1NDE2LCJpYXQiOjE2NjI1NjA2MTZ9._rfnB8cinScR4nS_q0H0LRxZ2C_IFQuVRz_8Db9Zl3E         <script type=”text/javascript” src=”https://platform-api.sharethis.com/js/sharethis.js#property=6318a96a560f0d00125e75ba&product=inline-share-buttons” async=”async”></script>       <div class=”sharethis-inline-share-buttons”></div>

10
Nov
2021

Alicloud ALB Setup

思路 首选在ALB上面创建实例,然后设定两个监听并分别连接对应后端ECS服务器,一个443,一个80,然后取得ALB域名后,将CLOUDFLARE的CNAME指向ALB,然后再将阿里云的域名解析做同样的设置 Cloudflare: DNS Setting add CNAME to ALB: CNAME Name:ideait.xyz, Content:alb-3dxtce7yg8q9tysn94.cn-hongkong.alb.aliyuncs.com CNAME Name:www, Content: Content:alb-3dxtce7yg8q9tysn94.cn-hongkong.alb.aliyuncs.com CNAME: WWW alb-3dxtce7yg8q9tysn94.cn-hongkong.alb.aliyuncs.com CANME: @ alb-3dxtce7yg8q9tysn94.cn-hongkong.alb.aliyuncs.com 但有出现有些php或者JS file ip为ECS ip,但大部份是Cloudflare...