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 | |
# © 2017-2021 SnapShooter Limited. | |
echo "# © 2017-{{date('Y')}} SnapShooter Limited." | |
echo "# Terms and Conditions https://snapshooter.io/snapshooter-terms-and-conditions" | |
echo "" | |
echo "Which Directory do you want the backups to restore to (/var/www/sitename)" | |
read wp_dir | |
echo Backups will be restored to $wp_dir |
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
A Copy of https://snapshotly.com/privacy stolen privacy policy from https://cronhub.io/terms | |
Snapshotly logo | |
Snapshotly | |
Snapshotly Privacy Policy | |
Your privacy is important to us. It is Snapshotly's policy to respect your privacy regarding any information we may collect from you across our website, https://snapshotly.com, and other sites we own and operate. | |
Information we collect | |
When you visit our website, our servers may automatically log the standard data provided by your web browser. This data is considered “non-identifying information”, as it does not personally identify you on its own. It may include your computer’s Internet Protocol (IP) address, your browser type and version, the pages you visit, the time and date of your visit, the time spent on each page, and other details. |
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 | |
/** | |
* simple method to encrypt or decrypt a plain text string | |
* initialization vector(IV) has to be the same when encrypting and decrypting | |
* | |
* @param string $action: can be 'encrypt' or 'decrypt' | |
* @param string $string: string to encrypt or decrypt | |
* | |
* @return string | |
*/ |
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 | |
// Authentication Routes... | |
$this->get('login', 'Auth\LoginController@showLoginForm')->name('login'); | |
$this->post('login', 'Auth\LoginController@login'); | |
$this->post('logout', 'Auth\LoginController@logout')->name('logout'); | |
// Registration Routes... | |
$this->get('register', 'Auth\RegisterController@showRegistrationForm')->name('register'); | |
$this->post('register', 'Auth\RegisterController@register'); |
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 | |
$browser->visit('Login') | |
->tap( | |
function (Browser $browser) { | |
$points = $browser->resolver->find("#TotalCount")->getText(); | |
$this->mailer->send( | |
'mail', | |
['points' => $points], | |
function (Message $mailable) use ($browser, $points) { | |
$mailable->from('[email protected]', 'Pixelated Bot'); |
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 | |
namespace Invoicing; | |
use Members/User; | |
interface InvoiceRepository { | |
public function getUsersInvoices(User $user) | |
} |
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 namespace KBC\Accounts; | |
use KBC\Accounts\Events\AccountWasDeleted; | |
use KBC\Accounts\Events\AccountWasOpened; | |
use KBC\Accounts\Events\MoneyWasWithdrawn; | |
use KBC\Accounts\Events\MoneyWasDeposited; | |
use KBC\Core\BaseModel; | |
final class Account extends BaseModel | |
{ |
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
/** | |
* Bootstrap the application services. | |
* | |
* @return void | |
*/ | |
public function boot() | |
{ | |
/** @var Factory $view */ | |
$view = $this->app->make('Illuminate\Contracts\View\Factory'); | |
$view->composer('dashboard.settings.me.details', SettingsMeDetails::class); |
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 namespace Illuminate\Foundation\Http; | |
use Illuminate\Http\Request; | |
use Illuminate\Routing\Route; | |
use Illuminate\Http\Response; | |
use Illuminate\Http\JsonResponse; | |
use Illuminate\Routing\Redirector; | |
use Illuminate\Container\Container; | |
use Illuminate\Validation\Validator; | |
use Illuminate\Http\Exception\HttpResponseException; |
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 | |
class one | |
{ | |
protected $property = [ | |
'test', | |
'test', | |
'test' | |
]; | |
} | |
class tw0 |
NewerOlder