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
| /*-- 隱藏原本金額前面的NT$ --*/ | |
| .woocommerce-Price-currencySymbol { | |
| display: none; | |
| } | |
| /*-- 增加「元」這個字到金額後面 --*/ | |
| span.woocommerce-Price-amount.amount::after { | |
| content: '元'; | |
| } |
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
| /*-- 隱藏原本金額前面的NT$ --*/ | |
| .woocommerce-Price-currencySymbol { | |
| display: none; | |
| } | |
| /*-- 增加「$」這個符號到金額前面 --*/ | |
| span.woocommerce-Price-amount.amount::before { | |
| content: '$'; | |
| } |
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
| <script type="text/javascript"> | |
| jQuery(document).ready(function(){ | |
| jQuery("button.et_pb_contact_submit").text('送出'); | |
| }); | |
| </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
| .woocommerce-store-notice, p.demo_store { | |
| position: fixed !important; | |
| } |
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 | |
| /* 將Divi Library的模組用shortcode的方式插入文章 */ | |
| function showmodule_shortcode($moduleid) { | |
| extract(shortcode_atts(array('id' =>'*'),$moduleid)); | |
| return do_shortcode('[et_pb_section global_module="'.$id.'"][/et_pb_section]'); | |
| } | |
| add_shortcode('showmodule', 'showmodule_shortcode'); | |
| //by 優易教學網 https://www.yogoeasy.com |
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
| echo "**********************************************" | |
| echo "Get Let's Encrypt by myself without EasyEngine" | |
| echo "**********************************************" | |
| read -p "Enter domain: " domain | |
| /opt/letsencrypt/letsencrypt-auto certonly --agree-tos --email yourname@gmail.com --webroot -w /var/www/$domain/htdocs -d $domain | |
| # by https://www.yogoeasy.com |
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
| #優易教學網 https://www.yogoeasy.com | |
| #1.下載Let's encrypt | |
| sudo apt-get update | |
| sudo apt-get install git | |
| sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt | |
| ---------------------------------------------------------------------------------------- | |
| #2. 申請證書 Root Domain (subdomain刪掉後面的-d www.$domain) | |
| #網站根目錄資料夾請按照實際狀況填寫 |
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
| Jul 3 09:12:36 web2 kernel: [ 0.000000] Linux version 4.15.0-24-generic (buildd@lgw01-amd64-056) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #26-Ubuntu SMP Wed Jun 13 08:44:47 UTC 2018 (Ubuntu 4.15.0-24.26-generic 4.15.18) | |
| Jul 3 09:14:55 web2 kernel: [ 0.000000] Linux version 4.15.0-24-generic (buildd@lgw01-amd64-056) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #26-Ubuntu SMP Wed Jun 13 08:44:47 UTC 2018 (Ubuntu 4.15.0-24.26-generic 4.15.18) | |
| Jul 3 12:28:18 web2 kernel: [ 0.000000] Linux version 4.15.0-24-generic (buildd@lgw01-amd64-056) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #26-Ubuntu SMP Wed Jun 13 08:44:47 UTC 2018 (Ubuntu 4.15.0-24.26-generic 4.15.18) | |
| Jul 3 12:34:38 web2 kernel: [ 0.000000] Linux version 4.15.0-24-generic (buildd@lgw01-amd64-056) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #26-Ubuntu SMP Wed Jun 13 08:44:47 UTC 2018 (Ubuntu 4.15.0-24.26-generic 4.15.18) | |
| Jul 3 15:25:21 web2 kernel: [ 0.000000] Linux version 4.15.0-24-generic (buildd@lgw01-amd64-056) (gcc versio |
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
| # by Jack Wu 優易教學網 https://www.yogoeasy.com | |
| # set date | |
| echo "********************************************" | |
| echo "set date" | |
| echo "********************************************" | |
| timedatectl set-timezone Asia/Taipei | |
| #root SSH key | |
| mkdir /root/.ssh | |
| wget https://www.dropbox.com/s/用你自己的/id_rsa.pub --no-check-certificate |
OlderNewer