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/sh | |
USER="spam@example.com" | |
FOLDER_PREFIX="train_" | |
FOLDER_HAM="${FOLDER_PREFIX}ham" | |
FOLDER_PROB="${FOLDER_PREFIX}prob" | |
FOLDER_SPAM="${FOLDER_PREFIX}spam" | |
DOVEADM="/usr/local/bin/doveadm" | |
RSPAMADM="/usr/local/bin/rspamadm" | |
RSPAMC_CONNECT="-h localhost:11334" # rspamc (--connect|-h) option |
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 App\Http\Livewire; | |
use Livewire\Component; | |
use App\Http\Livewire\Concerns\FormRequest; | |
class ExampleUsage extends Component | |
{ | |
use FormRequest; |
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
@-moz-document regexp("^http[s]?://[a-zA-Z0-9._-]+:208[67]/.*") { | |
#topFrameWrapper > div { | |
background-color: #1d1d1d; | |
color: white; | |
} | |
#pageContainer { | |
background-color: white; | |
filter: invert(100%); | |
} | |
#breadcrumbsContainer > * { |
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 | |
# Fill our vars and run on cli | |
# $ php -f db-connect-test.php | |
$dbname = 'name'; | |
$dbuser = 'user'; | |
$dbpass = 'pass'; | |
$dbhost = 'host'; | |
$link = mysqli_connect($dbhost, $dbuser, $dbpass) or die("Unable to Connect to '$dbhost'"); |
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 | |
version=1.11.2.1 | |
wget http://openresty.org/download/ngx_openresty-${version}.tar.gz | |
tar zxf ngx_openresty-${version}.tar.gz | |
cd ngx_openresty-${version} | |
./configure --prefix=/etc/nginx \ | |
--sbin-path=/usr/sbin/nginx \ | |
--conf-path=/etc/nginx/nginx.conf \ |
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 | |
eval(file_get_contents('shittydb.class.php')); | |
# Insert more code here |