Let's discuss, and prepare batches. Don't build yet. Deep think in code review mode please. Consider the outcomes on a specific level, and on a global app level. Consider documentation, setup, and edge cases. Take your time. Thank you.
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
| ╔══════════════════════════════════════════════════════════════════════╗ | |
| ║ vant.js (MAIN) ║ | |
| ╠══════════════════════════════════════════════════════════════════════╣ | |
| ║ ║ | |
| ║ init() ──────→ boot.init() ║ | |
| ║ └─ 1. sudo.createTask() ║ | |
| ║ └─ 2. sandbox.init() ║ | |
| ║ └─ 3. qos.init() ║ | |
| ║ └─ 4. escrow init ║ | |
| ║ └─ 5. lock.init() ║ |
Batch through each task, documenting changes, additions, and/or features and adding to changelog. Do QC, Qos, and security passes/audits after each batch. Use deep think, code review skill, triaging with experts and utilizing skills. Take your time. Think it through. Do not bump version anywhere unless requested by user. Thank you!
Batch through each task, documenting changes, additions, and/or features on /docs, cli/mcp help, /dist, and/or changelog. Do QC, Qos, and security passes/audits after each batch. Use deep think, code review skill, triaging with experts and utilizing skills. Take your time. Think it through. Do not bump version anywhere unless requested by user. Thank you!
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
| Android settings and ADB commands that may or may not increase touch sensitivity on moto devices. | |
| ------------------------------------------------ | |
| settings put system touch_sensitivity_mode 1 | |
| settings put secure screen_protector_mode 1 | |
| ------------------------------------------------ | |
| settings put system glove_use 1 |
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 | |
| /** | |
| * Shortcode - Render Wordpress login form | |
| **/ | |
| add_shortcode('wp_login_form', function() { | |
| if (is_user_logged_in()) { | |
| } else { | |
| ob_start(); |
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
| // Make sure you include the plugin_wrapper as last item in config.extraPluins | |
| CKEDITOR.editorConfig = function(config) { | |
| config.extraPlugins = 'autosave,plugin_wrapper'; | |
| // Define empty autosave object | |
| config.autosave = {}; | |
| } | |
| // Extend instance plugins | |
| CKEDITOR.plugins.add('plugin_wrapper', { |
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 | |
| // Requires PHP 5.4+ | |
| function getWorkingDaysFrom($start, $amtOfDays) { | |
| $globalDays = 0; // a global addition to $amtOfDays (such as a minimum shipping time of 3 days across all objects) | |
| $amtOfDays = $amtOfDays + $globalDays; // set base amount of days for initial range before calculations applied | |
| $ignore = array('6', '7'); // days of the week to ignore (weekends are 6 & 7) in ISO-8061 | |
| $holidays = array( | |
| (new DateTime('first monday of january +1 year'))->format('*-m-d'), // new years day (celebrated) |
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 | |
| # Idea from: https://github.com/zenseo/opencart-needless-image | |
| # PHP is not good enough to run this through a large store with many images | |
| # Bash cp cant hold enough arguments from file output unless its batched | |
| # Rclone is the best bet: | |
| # rsync -asv --dry-run --recursive --remove-source-files --checksum --files-from=some-file.txt . destination/ | |
| function findImages() { | |
| $tables_to_check = array( |
NewerOlder