Hiện tại, CloudFlare đã có
warp-cli
chính thức cho Linux: https://developers.cloudflare.com/warp-client/setting-up/linux
Xem bản phát triển chính cho các dòng laptop ASUS ROG tại wroberts/rogauracore.
Tải phiên bản Retool nếu gặp lỗi ở chế độ Rainbow.
Cài đặt các phần phụ thuộc:
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() { | |
// https://stackoverflow.com/a/52549234 | |
function simulateMouseClick(targetNode) { | |
function triggerMouseEvent(targetNode, eventType) { | |
var clickEvent = document.createEvent('MouseEvents'); | |
clickEvent.initEvent(eventType, true, true); | |
targetNode.dispatchEvent(clickEvent); | |
} | |
["mouseover", "mousedown", "mouseup", "click"].forEach(function(eventType) { | |
triggerMouseEvent(targetNode, eventType); |
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
const cleanAccents = (str: string): string => { | |
str = str.replace(/à|á|ạ|ả|ã|â|ầ|ấ|ậ|ẩ|ẫ|ă|ằ|ắ|ặ|ẳ|ẵ/g, 'a'); | |
str = str.replace(/è|é|ẹ|ẻ|ẽ|ê|ề|ế|ệ|ể|ễ/g, 'e'); | |
str = str.replace(/ì|í|ị|ỉ|ĩ/g, 'i'); | |
str = str.replace(/ò|ó|ọ|ỏ|õ|ô|ồ|ố|ộ|ổ|ỗ|ơ|ờ|ớ|ợ|ở|ỡ/g, 'o'); | |
str = str.replace(/ù|ú|ụ|ủ|ũ|ư|ừ|ứ|ự|ử|ữ/g, 'u'); | |
str = str.replace(/ỳ|ý|ỵ|ỷ|ỹ/g, 'y'); | |
str = str.replace(/đ/g, 'd'); | |
str = str.replace(/À|Á|Ạ|Ả|Ã|Â|Ầ|Ấ|Ậ|Ẩ|Ẫ|Ă|Ằ|Ắ|Ặ|Ẳ|Ẵ/g, 'A'); | |
str = str.replace(/È|É|Ẹ|Ẻ|Ẽ|Ê|Ề|Ế|Ệ|Ể|Ễ/g, 'E'); |
Cài đặt Classic Add-ons Archive (JustOff) để sử dụng các add-ons cũ của Firefox.
- Material Moon (FranklinDM): Giao diện cũ của Google Chrome.
- NewScrollbars (Aris): Cấu hình như sau:
- Customizable v2
- Background:
#f1f1f1
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 | |
// API access key from Google API's Console | |
define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' ); | |
$registrationIds = array( $_GET['id'] ); | |
// prep the bundle | |
$msg = array |
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
[budgie-panel] | |
dark-theme=true | |
panels=['fffccb28-de0e-11e9-9cba-1c1b0dda4bf4'] | |
builtin-theme=false | |
notification-position='BUDGIE_NOTIFICATION_POSITION_TOP_RIGHT' | |
migration-level=1 | |
[budgie-panel/panels/{fffccb28-de0e-11e9-9cba-1c1b0dda4bf4}] | |
size=39 | |
dock-mode=false |
sudo apt install sox libsox-fmt-mp3
sudo apt install python3-pip
pip3 install google_speech