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 | |
echo -e " | |
#!/bin/sh | |
init_error() { | |
local ret=1 | |
[ -z "$1" ] || printf "%s\n" "$1" | |
[ -z "$2" ] || ret=$2 | |
exit $ret |
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\Controllers; | |
use Carbon\Carbon; | |
use FreeKassa; | |
use Auth; | |
use App\Balance; | |
use Illuminate\Http\Request; |
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
server { | |
listen 7777; | |
server_name localhost; | |
root C:\fastdl\; | |
location / { | |
deny all; | |
location ~* "\.(wad|bsp|spr|mdl|tga|wav)" { | |
allow all; | |
} | |
location ~ "/$" { |
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
let mix = require('laravel-mix'); | |
/* | |
|-------------------------------------------------------------------------- | |
| Mix Asset Management | |
|-------------------------------------------------------------------------- | |
| | |
| Mix provides a clean, fluent API for defining some Webpack build steps | |
| for your Laravel application. By default, we are compiling the Sass | |
| file for the application as well as bundling up all the JS files. |
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 | |
private function response($aData,$isError = false, $redirectTo = false){ | |
$aResult = [ | |
'success' => $isError ? 'false' : 'true', | |
'data' => [] | |
]; | |
if(is_array($aData)) |
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\Controllers; | |
use App\ReaccessAccount; | |
use App\User; | |
use App\UserInfo; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\Session; | |
use Validator; |