-
Unlock bootloader
https://www.getdroidtips.com/unlock-bootloader-redmi-9-redmi-9a/ -
Downgrade to android 10 (stock rom) by SP Flash Tool or Mi Flash Tool
https://spflashtool.com/
https://xiaomiflashtool.com/
https://xiaomistockrom.com/
This file contains 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
black = '#282828'; // bg | |
red = '#CC241D'; // red | |
green = '#98971A'; // green | |
yellow = '#D79921'; // yellow | |
blue = '#458588'; // blue | |
magenta = '#B16286'; // purple | |
cyan = '#689D6A'; // aqua | |
white = '#A89984'; // light gray | |
lightBlack = '#928374'; // medium gray | |
lightRed = '#FB4934'; // red |
This file contains 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
"""""""""""""""""""""""""""""""""" | |
" Sivin's Neovim Configuration | |
" this version is for android termux | |
" ~/.config/nvim/init.vim | |
" | |
"""""""""""""""""""""""""""""""""" | |
" Specify a directory for plugins | |
" - Avoid using standard Vim directory names like 'plugin' |
-
https://lewisf.com/dactyl-manuform/ hold ; and use hjkl to left,right, up,down
-
Both part needs to have ProMicro MicroController so It can use the QMK Firmware for controling the keys on keyboard itself
-
4x6 is the way to go
There’s a strong trend for ergonomic keyboards to reduce the number of keys, mostly becouse of QMK framework that allows layering. People usually prefer less rows.
This creates a new ssh key, using the provided email as a comment(label). Ex: ssh-rsa AAA....== this_is_a_comment (email/hostname/etc.)
> ssh-keygen -t rsa -b 4096 -C "[email protected]"
This file contains 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 | |
// cs-cart/addons/hybrid_auth/lib/Hybrid/Auth.php | |
// Ensure session is saved before sending response, see https://github.com/symfony/symfony/pull/12341 | |
if ((PHP_VERSION_ID >= 50400 && PHP_SESSION_ACTIVE === session_status()) || (PHP_VERSION_ID < 50400 && isset($_SESSION) && session_id())) { | |
session_write_close(); | |
} | |
// https://www.hostinger.com/tutorials/php-redirect | |
// https://www.tutorialrepublic.com/faq/how-to-make-a-redirect-in-php.php | |
// https://upcity.com/blog/6-how-to-redirect-your-site-properly/ |
This file contains 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 | |
// More detail at https://www.codexworld.com/post-receive-json-data-using-php-curl | |
// API URL | |
$url = 'http://www.example.com/api'; | |
// Create a new cURL resource | |
$ch = curl_init($url); | |
// Setup request to send json via POST | |
$data = array( |
This file contains 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
/* | |
Đề: Cho 1 list string đếm xem input nhập vào match bao nhiêu lần. | |
Ví dụ: | |
String[] arr = | |
{ | |
"tôi thấy hoa vàng trên cỏ xanh", | |
"hôm nay tôi thấy hoa vàng", | |
"hoa vàng trên cỏ xanh, hoa vàng trên cỏ xanh" | |
} | |
Expectation: |
NewerOlder