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
{ | |
"[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:
{ | |
"[ruby]": { | |
"editor.formatOnSave": false, | |
"editor.defaultFormatter": "misogi.ruby-rubocop" | |
}, | |
"ruby.rubocop.executePath": "~/.rbenv/shims/", | |
"rubyLsp.rubyVersionManager": "rbenv" | |
} |