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
how to create ssh key to access linux servers using key |
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
مثال علي استخدام | |
wordpress api | |
لانشاء مقال جديد | |
مثال | |
curl -X POST \ | |
-H "Content-Type: application/json" \ | |
-H "Authorization: Basic YWRtaW46eW91ci1hcHBsaWNhdGlvbi1wYXNzd29yZA==" \ | |
-d '{ |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Paste Image Example</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/bluebird/3.4.6/bluebird.min.js"></script> | |
</head> | |
<body> |
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
As you know in Microsoft Windows there is a button 'Home' which go to the begning of line and and button 'End' goes to the end of line. | |
In MacOS if you use Keyboard others that Mac Keyboard you cannot use 'Home' and 'End' button because it is not defined. | |
buu sure you can customize it and use it exactly as you use on Microsoft Keyboard | |
to do that open terminal and goto folder `~/Library/KeyBindings/` by running the command | |
```bash | |
cd ~/Library/KeyBindings/ |
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 | |
/* .php-cs-fixer.php for laravel 10.x */ | |
use PhpCsFixer\Config; | |
use PhpCsFixer\Finder; | |
$rules = [ | |
'array_syntax' => ['syntax' => 'short'], | |
'binary_operator_spaces' => [ | |
'default' => 'single_space', |
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
#!/bin/bash | |
# CloudPanel Installation Script | |
# use this as an initialization script after creating a VM to install CloudPanel into | |
# your VM instance. | |
# you can use it in Digitalocean Initialization scripts or AWS user data. | |
# tested on DigitalOcean Droplets with Debian 11 on 24 Nov 2023 | |
# | |
# @author: @mshannaq , Extendy team | |
# @License: MIT |