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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<meta name="description" content=""> | |
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors"> | |
<meta name="generator" content="Jekyll v3.8.5"> | |
<title>Production Purchase Confirmation Page</title> |
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 Ferdous\OtpValidator\Object\OtpRequestObject; | |
use Ferdous\OtpValidator\Object\OtpValidateRequestObject; | |
use Ferdous\OtpValidator\OtpValidator; | |
use Illuminate\Http\Request; | |
class OtpController extends Controller |
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 | |
use Illuminate\Support\Facades\Route; | |
Route::get('/test/purchase', 'OtpController@confirmationPage'); | |
Route::post('/test/otp-request', 'OtpController@requestForOtp')->name('requestForOtp'); | |
Route::post('/test/otp-validate', 'OtpController@validateOtp')->name('validateOtp'); | |
Route::post('/test/otp-resend', 'OtpController@resendOtp')->name('resendOtp'); |
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
## Check for Locked Table Rows | |
SELECT * from performance_schema.data_locks; |
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 | |
filename='feature_weekly_report_4hourly'_From-$(date +%Y_%m_%d_%H_%M -d "0 day 4 hours ago")_To-$(date +%Y_%m_%d_%H_%M).csv | |
db_name=darts_game | |
host_ip=8.8.8.8 | |
WEEK_RANGE_ARRAY=( | |
[0]="20191115,20191121" | |
[1]="20191122,20191128" | |
[2]="20191129,20191205" | |
[3]="20191206,20191212" |
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
-- Create a group | |
CREATE ROLE readaccess; | |
-- Grant access to existing tables | |
GRANT USAGE ON SCHEMA public TO readaccess; | |
GRANT SELECT ON ALL TABLES IN SCHEMA public TO readaccess; | |
-- Grant access to future tables | |
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readaccess; |
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
version: '2' | |
services: | |
fluentd: | |
image: 'fluent/fluentd' | |
ports: | |
- "24224:24224" | |
- "24224:24224/udp" | |
environment: | |
- FLUENT_UID=1000 |
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
version: '2' | |
services: | |
redis: | |
image: 'bitnami/redis:latest' | |
ports: | |
- "6379:6379" | |
environment: | |
- DISABLE_COMMANDS=FLUSHDB,FLUSHALL,CONFIG | |
- ALLOW_EMPTY_PASSWORD=yes |
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 80; | |
root /home/ferdous/web; | |
index index.php index.html; | |
autoindex on; | |
location /{ | |
try_files $uri $uri/ /index.php; | |
} |
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
{ | |
"autoload" : { | |
"psr-4" : { | |
"App\\" : "app/" | |
} | |
}, | |
"require" : { | |
"mikecao/flight" : "^1.3", | |
"fpdo/fluentpdo" : "^1.1", | |
"illuminate/container" : "4.1.30", |