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
| [ | |
| { | |
| "color": "EEEEEE", | |
| "class": "Mini", | |
| "hashMD5": "dcbe4ffa3d66ad73bcb4448039a20593" | |
| }, | |
| { | |
| "color": "00ADB5", | |
| "class": "Mini", | |
| "hashMD5": "ae617a8e37f96ed38c17ca0e07c95bb4" |
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
| [ | |
| "EEEEEE", | |
| "00ADB5", | |
| "393E46", | |
| "222831", | |
| "6A2C70", | |
| "B83B5E", | |
| "F08A5D", | |
| "F9ED69", | |
| "95E1D3", |
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
| export default class DateAndTimeUtil { | |
| static pad = unit => { | |
| return (unit + "").padStart(2, "0") | |
| } | |
| static getHour = (date = new Date(), pad = true) => { | |
| return pad ? DateAndTimeUtil.pad(date.getHours()) : date.getHours() | |
| } | |
| static getMin = (date = new Date(), pad = true) => { | |
| return pad ? DateAndTimeUtil.pad(date.getMinutes()) : date.getMinutes() | |
| } |
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 nonAccentVietnamese(str) { | |
| str = str.toLowerCase(); | |
| // We can also use this instead of from line 11 to line 17 | |
| // str = str.replace(/\u00E0|\u00E1|\u1EA1|\u1EA3|\u00E3|\u00E2|\u1EA7|\u1EA5|\u1EAD|\u1EA9|\u1EAB|\u0103|\u1EB1|\u1EAF|\u1EB7|\u1EB3|\u1EB5/g, "a"); | |
| // str = str.replace(/\u00E8|\u00E9|\u1EB9|\u1EBB|\u1EBD|\u00EA|\u1EC1|\u1EBF|\u1EC7|\u1EC3|\u1EC5/g, "e"); | |
| // str = str.replace(/\u00EC|\u00ED|\u1ECB|\u1EC9|\u0129/g, "i"); | |
| // str = str.replace(/\u00F2|\u00F3|\u1ECD|\u1ECF|\u00F5|\u00F4|\u1ED3|\u1ED1|\u1ED9|\u1ED5|\u1ED7|\u01A1|\u1EDD|\u1EDB|\u1EE3|\u1EDF|\u1EE1/g, "o"); | |
| // str = str.replace(/\u00F9|\u00FA|\u1EE5|\u1EE7|\u0169|\u01B0|\u1EEB|\u1EE9|\u1EF1|\u1EED|\u1EEF/g, "u"); | |
| // str = str.replace(/\u1EF3|\u00FD|\u1EF5|\u1EF7|\u1EF9/g, "y"); | |
| // str = str.replace(/\u0111/g, "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
| javascript: $( document ).ready(function() { var step = 4; var chosse = 3; var ele = $('.col-sm-3 label input'); setTimeout(function(){ for(var i = 0; i < ele.length; i++){ var shit = ele[(chosse -1) + step*i]; shit.click(); } },1000); setTimeout(function(){ var text = $('textarea'); text[0].value = "Dạy dễ hiểu- trực quan"; text[1].value = "Được thực hành nhiều hơn"; },2000); setTimeout(function(){ var btn = $('#btnSubmitAnswers'); btn.click(); },3000); }); |