Đừng rebase nữa xoá gist rồi :D
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
| import { | |
| Canvas, | |
| DataSourceParam, | |
| dist, | |
| ImageShader, | |
| rect, | |
| RoundedRect, | |
| rrect, | |
| Shader, | |
| Skia, |
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
| (function(){var e=[11,22,33,44,55,69],n=0,t=document.getElementById('homepage-generator').getElementsByTagName('IFRAME')[0],i=t.contentDocument||t.contentWindow.document,o=i.getElementsByTagName('input'),r=i.getElementsByTagName('span'),u,a,l,d;for(var g=0;g<o.length;g++){"button"===o[g].type&&o[g].id.endsWith('-button')&&(u=o[g]);o[g].id.endsWith('-min')&&(a=o[g]);o[g].id.endsWith('-max')&&(l=o[g])}for(g=0;g<r.length;g++)r[g].id.endsWith('-result')&&(d=r[g]);u&&d&&a&&l?(u.removeAttribute('onclick'),u.onclick=function(){var t=n++;if(!(t>=e.length)){d.innerHTML='<img src="/util/cp/images/ajax-loader.gif" alt="Loading..." />';setTimeout(function(){var n=new Date,o=n.getUTCFullYear()+'-'+('0'+(n.getUTCMonth()+1)).slice(-2)+'-'+('0'+n.getUTCDate()).slice(-2)+' '+('0'+n.getUTCHours()).slice(-2)+':'+('0'+n.getUTCMinutes()).slice(-2)+':'+('0'+n.getUTCSeconds()).slice(-2)+' UTC',u=a.value,i=l.value;d.innerHTML='<center><span style="font-size:100%;font-weight:bold;">'+e[t]+'<br></span><span style="font-size:70%;">Min: |
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
| name: Create Bulk Empty Commits And Trigger After Done | |
| on: | |
| workflow_dispatch: | |
| env: | |
| TOTAL_COMMITS: 100 # Total number of commits to create | |
| USER_NAME: '' # Global user name for git config | |
| USER_EMAIL: '' # Global user email for git config | |
| WORKFLOW_FILE_NAME: '' # Workflow file to trigger |
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
| name: Check and Trigger Batch Creation | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '*/20 * * * *' # Runs every 20 minutes | |
| env: | |
| WORKFLOW_FILE_NAME: 'main.yml' # Workflow file to trigger |
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
| name: Bulk Commit With GitHub API | |
| on: | |
| workflow_dispatch: | |
| env: | |
| NUMBER_OF_COMMITS: 20000 # Total number of commits to create | |
| BATCH_SIZE: 100 # Number of commits to push in each batch | |
| USER_NAME: '' # Global Git user name | |
| USER_EMAIL: '' # Global Git user email |
To switch to Java 11 using the specified JDK path, you can follow these steps:
- First, set the JAVA_HOME environment variable to point to the Java 11 installation:
export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home
- Then, update your PATH to use the new Java version:
Chắc chắn rồi! Hãy cùng tính toán tỷ lệ chiết khấu tại mỗi mức điểm thưởng trong chương trình tích điểm của bạn bằng cách đánh giá tổng chi tiêu và tổng giá trị phần thưởng tại mỗi giai đoạn mà phần thưởng được thu thập. Điều này sẽ giúp chúng ta hiểu rõ tỷ lệ chiết khấu trên mỗi điểm tích lũy.
- Giá trị mỗi điểm: 45,000 VND (mỗi lần mua trà ô long quế hoa sẽ nhận 1 điểm)
- Ngưỡng phần thưởng và giá trị phần thưởng:
- 3 điểm: Bánh mì que trị giá 19,000 VND
- 5 điểm: Sản phẩm best seller trị giá 39,000 VND (áp dụng cho hóa đơn 45,000 VND)
- 7 điểm: Voucher 50,000 VND (áp dụng cho hóa đơn từ 100,000 VND)
- 10 điểm: Túi xách trị giá 80,000 VND
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
| javascript:!function(){"use strict";function n(n,t,o=0,e=0){const l=document.createElement("li"),s=(n||"").trim()||(o?"Point":"Section");if(e){l.classList.add("toc-collapse-trigger"),l.innerHTML=`<div style="width:100%;">\n<span class="toc-toggle" role="button" aria-label="Toggle section">${i}</span>\n<span class="toc-clickable-content" title="${s}">${s}</span>\n</div>`;const n=l.querySelector(".toc-toggle");n.addEventListener("click",(function(t){l.classList.contains("toc-collapsed")?(l.classList.remove("toc-collapsed"),n.innerHTML=i):(l.classList.add("toc-collapsed"),n.innerHTML=c),t.stopPropagation()})),l.querySelector(".toc-clickable-content").addEventListener("click",(function(n){t.classList.remove("toc-highlight"),t.classList.add("toc-highlight"),t.scrollIntoView({behavior:"smooth",block:"start"}),n.stopPropagation()}))}else l.innerHTML=`<div style="width:100%;">\n<span class="toc-clickable-content" title="${s}">${s}</span>\n</div>`,l.querySelector(".toc-clickable-content").addEventListener("click",(fun |