Skip to content

Instantly share code, notes, and snippets.

View elsayed85's full-sized avatar
💻
chilling 💤

Elsayed Kamal elsayed85

💻
chilling 💤
View GitHub Profile
{"version":1,"resource":"file:///c%3A/stolen_sites/https___basho.fueko.net_/basho.fueko.net/index.html","entries":[{"id":"NDDo.html","timestamp":1658057250146},{"id":"Kwmp.html","timestamp":1658057339135},{"id":"GUvF.html","timestamp":1658057355652},{"id":"dqNS.html","timestamp":1658057374079}]}
export email="[email protected]"
export password="password"
export token=
export accept_json='Accept:"application/json"'
export api_host="http://finalp.test/api/v1"
# System-wide bashrc file
alias login='http post $api_host/login email=$email password=$password $accept_json'
alias pa='php artisan'
<template>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="form-group">
<input class="form-control" placeholder="enter device public key" :type="passwordFieldType" v-model="public_key" />
<br>
<input class="form-control" placeholder="enter device private key" :type="passwordFieldType" v-model="private_key"/>
# GIT MERGE OPTIONS DEPENDING HOSTING PROVIDERS
# git checkout -- .
# git checkout .
# git merge
# php artisan down || true
php artisan down
git reset --hard
git clean -df
<?php
return [
"vapulus" => [
"baseurl" => "https://api.vapulus.com:1338/",
"failUrl" => "",
"successUrl" => "",
'app_id' => env('VAPULUS_AppID'),
'password' => env('VAPULUS_password'),
'hash' => env('VAPULUS_HASH')
]
<?php
namespace App\Console\Commands\GenLib;
use goutte;
use Illuminate\Console\Command;
use Symfony\Component\Console\Helper\Table;
class Search extends Command
{
alias winpwd='cygpath -aw .'
alias clearlog='rm $(winpwd)/storage/logs/laravel.log'
alias clearlogs='find $(winpwd)/storage/logs -name '*.log' -delete'
<?php
/**
* Load correct autoloader depending on install location.
*/
if (file_exists(__DIR__ . '/../vendor/autoload.php')) {
require_once __DIR__ . '/../vendor/autoload.php';
} else {
require_once __DIR__ . '/../../../autoload.php';
}
@elsayed85
elsayed85 / c
Created September 13, 2021 18:12
<?php
// Disable login (don't ask for credentials, be careful)
// Example: $NO_LOGIN = true;
$NO_LOGIN = false;
// Single-user credentials
// Example: $USER = 'user'; $PASSWORD = 'password';
$USER = 'fr3on';
$PASSWORD = '2c528ade717cb4c7f2cf4f44555db1e3bb67322792c73d85e4e3723101b1cbf6';
@elsayed85
elsayed85 / assets.md
Last active March 26, 2022 20:00
laravel resources