Instruction
Before you must have domain and setting it:
| Type | Host | Value |
|---|---|---|
| A | Your IP address | |
| MX | @ | mail.yourdomain.com 10 |
Next, you have to set the hostname
| { | |
| "mcpServers": { | |
| "context7": { | |
| "type": "stdio", | |
| "command": "npx", | |
| "args": [ | |
| "-y", | |
| "@upstash/context7-mcp@latest", | |
| "--api-key", | |
| "YOUR_API_KEY" |
| document.querySelector('.reg_phone').addEventListener('input', (e) => { | |
| const code = '7' | |
| const phone = e.target.value?.replace(/\D+/g, ''); | |
| if(phone.indexOf(`+${code}`) !== 0) { | |
| if(phone.indexOf(code) === 0) { | |
| e.target.value = `+${phone}` | |
| } else { | |
| e.target.value = `+${code}${phone.replace('+', '')}` | |
| } | |
| } |
| function get_term_id_by_name_and_parent($term_name, $taxonomy, $parent_id = 0) { | |
| // Get the term by name within the specified taxonomy | |
| $term = get_term_by('name', $term_name, $taxonomy); | |
| // Check if the term exists and if it has the specified parent | |
| if ($term && $term->parent == $parent_id) { | |
| return $term->term_id; | |
| } | |
| // If the term wasn't found or the parent didn't match, return null |
| #1 Авто и мото | avtomoto | |
| АЗС | azs | |
| Автобизнес | avtobizness | |
| Автосалоны | avtosalon | |
| Автосервисы | avtoservis | |
| Автострахование | avtostrahovanie | |
| Автофорумы и блоги | avtoforum | |
| Автохимия | avtohim | |
| Автошколы | avtoshkola |
| ### VARIANT 1 | |
| #Run command | |
| sudo nvidia-settings | |
| #Ant check getting error: "ERROR: NVIDIA driver is not loaded" | |
| #Your next steps: | |
| sudo prime-select intel | |
| sudo reboot | |
| sudo prime-select nvidia |
| This steps should fix "Error mounting /dev/sda2 at media/ Data:unknown error when mounting /dev/sda2" | |
| $ sudo apt install --reinstall ntfs-3g | |
| $ sudo ntfsfix /dev/sda2 | |
| $ sudo mount -o ro /dev/sda2 /media/websofter |
| #!/bin/sh | |
| location=./`date +%Y%m%d_%H%M%S`_your_db.sql | |
| mysqldump -u root --password='your_password' your_db > $location | |
| gzip $location |
| /********************** */ | |
| if( is_admin() && !class_exists( 'WP_List_Table' ) ) | |
| require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' ); | |
| class B5F_WP_Table extends WP_List_Table | |
| { | |
| private $order; | |
| private $orderby; | |
| private $posts_per_page = 5; |
| APP_TAG=doska | |
| MYSQL_ROOT_PASSWORD=secret | |
| MYSQL_DB=doska | |
| MYSQL_USER=doska | |
| MYSQL_PASSWORD=secret |