sudo gedit /opt/lampp/etc/httpd.conf
# Virtual hosts
#Include etc/extra/httpd-vhosts.conf
Uncomment above line to enable vhosts.
#! /bin/bash | |
USER="takshaktiwari" | |
PERSONAL_TOKEN="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" | |
AUTHOR="takshaktiwari" | |
PACKAGE="adash" | |
REMOTE_NAME="origin" | |
BRANCH="main" |
<?php | |
namespace App\APIs; | |
use Illuminate\Support\Facades\Http; | |
/** | |
* This API has predictable resource-oriented URLs, accepts form-encoded | |
* request bodies, returns JSON-encoded responses, and uses standard HTTP | |
* response codes, authentication, and verbs. |
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
use Illuminate\Support\Facades\DB; | |
use PDO; | |
class DatabaseCreateCommand extends Command | |
{ |
#! /usr/bin/php | |
<?php | |
$shortopts = ""; | |
$shortopts .= "u:"; | |
$shortopts .= "d:"; | |
$shortopts .= "o::"; | |
$shortopts .= "r::"; | |
$shortopts .= "s::"; | |
$shortopts .= "h"; |
Put simply, it’s a view-oriented product. The view is the most essential part of everything that occurs inside the system, and all information is only validated if it interacts with views correctly. Creating just a single view is pretty basic, and here lies the main advantage and desire to use VueJS – the simplicity, and the low entry barrier. All you need to do is load the interface and add JavaScript to begin. Data is then sent to the view directly using simple syntax, where VueJS automatically renders the elements without coding – an instance of the system can then be used for the element’s rendering.
The tool allows for modification of parts of the code by keeping the information in the data object while the updates affect other linked parts in real time.
# redirect to https | |
RewriteEngine On | |
RewriteCond %{HTTPS} off | |
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] | |
# redirect to https (all traffic) | |
RewriteEngine On | |
RewriteCond %{SERVER_PORT} 80 | |
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L] |