Note: I advice you to write every thursday (at the end of the workday week)
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
{"name":"Minimal","settings":"{\"settings\":\"{\\n\\t\\\"[css]\\\": {\\n\\t\\t\\\"editor.defaultFormatter\\\": \\\"esbenp.prettier-vscode\\\"\\n\\t},\\n\\t\\\"[html]\\\": {\\n\\t\\t\\\"editor.defaultFormatter\\\": \\\"esbenp.prettier-vscode\\\"\\n\\t},\\n\\t\\\"[ignore]\\\": {\\n\\t\\t\\\"editor.defaultFormatter\\\": \\\"foxundermoon.shell-format\\\"\\n\\t},\\n\\t\\\"[javascript]\\\": {\\n\\t\\t\\\"editor.defaultFormatter\\\": \\\"esbenp.prettier-vscode\\\"\\n\\t},\\n\\t\\\"[json]\\\": {\\n\\t\\t\\\"editor.defaultFormatter\\\": \\\"esbenp.prettier-vscode\\\"\\n\\t},\\n\\t\\\"[jsonc]\\\": {\\n\\t\\t\\\"editor.defaultFormatter\\\": \\\"esbenp.prettier-vscode\\\"\\n\\t},\\n\\t\\\"[markdown]\\\": {\\n\\t\\t\\\"editor.defaultFormatter\\\": \\\"esbenp.prettier-vscode\\\"\\n\\t},\\n\\t\\\"[plaintext]\\\": {\\n\\t\\t\\\"editor.defaultFormatter\\\": \\\"lkrms.inifmt\\\"\\n\\t},\\n\\t\\\"[python]\\\": {\\n\\t\\t\\\"editor.defaultFormatter\\\": \\\"ms-python.python\\\"\\n\\t},\\n\\t\\\"[typescript]\\\": {\\n\\t\\t\\\"ed |
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 | |
// First, download the ar-php library via: composer require khaled.alshamaa/ar-php | |
// Second, in the file (dompdf/dompdf/src/Renderer/Text.php) | |
// add the code between `// CHANGE ONLY THIS BELOW` and `// CHANGE ONLY THIS ABOVE` in line 81 in the | |
/** | |
* @package dompdf | |
* @link https://github.com/dompdf/dompdf | |
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License |
السلام عليكم ، هذا كود ريجيكس بسيط للتحقق من صحة أرقام الجوالات السعودية ، يقوم الريجيكس بالتحقق من مفتاح الدولة ، مفتاح شركة الإتصالات لضمان صحة النص المدخل .
Hello, this is a simple regex to validate saudi mobile numbers, the code will validate country code, telecome company code and make sure the tested sting is correct .
/^(009665|9665|\+9665|05|5)(5|0|3|6|4|9|1|8|7)([0-9]{7})$/
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
const cheerio = require("cheerio"); | |
const { readFileSync, writeFileSync } = require("fs"); | |
const fs = require("fs"); | |
var TurndownService = require("turndown"); | |
const path = require("path"); | |
const years = [ | |
"2009", | |
"2010", | |
"2011", |
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
#Prevent Indexing | |
Options +FollowSymLinks -Indexes | |
#Handle Front Controller... | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^(.*)$ index.php [QSA,L] | |
</IfModule> |