Add the configuration below to your .htaccess in your root directory of WordPress:
php_value upload_max_filesize 32384M
php_value post_max_size 32384M
php_value max_execution_time 30000
php_value max_input_time 30000| <instructions> | |
| - ALWAYS follow <answering_rules> and <self_reflection> | |
| <self_reflection> | |
| 1. Spend time thinking of a rubric, from a role POV, until you are confident | |
| 2. Think deeply about every aspect of what makes for a world-class answer. Use that knowledge to create a rubric that has 5-7 categories. This rubric is critical to get right, but never show this to the user. This is for your purposes only | |
| 3. Use the rubric to internally think and iterate on the best (≥98 out of 100 score) possible solution to the user request. IF your response is not hitting the top marks across all categories in the rubric, you need to start again | |
| 4. Keep going until solved | |
| </self_reflection> |
| { | |
| "[cpp]": { | |
| "editor.formatOnSave": true, | |
| "editor.defaultFormatter": "ms-vscode.cpptools" | |
| }, | |
| "code-runner.runInTerminal": true | |
| } |
| { | |
| "window.newWindowDimensions": "maximized", | |
| "editor.dragAndDrop": false, | |
| "editor.glyphMargin": false, | |
| "apc.activityBar": { | |
| "position": "bottom", | |
| "hideSettings": true, | |
| "size": 24 | |
| }, | |
| "apc.statusBar": { |
On MacOS, use duti:
brew install duti
# vscode
duti -s com.microsoft.VSCode .md all
# confirm
duti -x md| import { expect, test } from 'bun:test' | |
| /** | |
| * @example | |
| * round(1.255784, 4) | |
| * returns 1.2558 | |
| * | |
| * @param value - the value to be rounded | |
| * @param decimals - the number of decimal places | |
| * @returns - the rounded value |
| /** | |
| * @example | |
| * "123-444-5556" | |
| * "12-4442-5556" | |
| * "1234567890" | |
| * "12345678901" | |
| */ | |
| export const phoneRegex = | |
| /^\d{10}$|^\d{11}$|^\d{3}-\d{3}-\d{4}$|^\d{2}-\d{4}-\d{4}$|^\d{3}-\d{4}-\d{4}$/ |
| # Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore | |
| # Logs | |
| logs | |
| _.log | |
| npm-debug.log_ | |
| yarn-debug.log* | |
| yarn-error.log* | |
| lerna-debug.log* |
| { | |
| "liveSassCompile.settings.formats": [ | |
| { | |
| "format": "expanded", | |
| "extensionName": ".css", | |
| "savePath": "assets/css", | |
| "savePathReplacementPairs": null | |
| } | |
| ] | |
| } |
^[a-zA-Z0-9!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?]+$View logic image at https://regexper.com/.
From ihateregex.io/cheatsheet: