This file contains hidden or 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
@extends('product.layout.template') | |
@section('body') | |
<div class="col-md-8 order-md-1"> | |
<h4 class="mb-3">OTP Validation</h4> | |
<form class="card p-2" action="{{route('validateOtp')}}" method="post"> | |
<div class="input-group"> | |
<input type="text" class="form-control" name="otp" id="otp" placeholder="" value="" required> | |
<div class="input-group-append"> |
This file contains hidden or 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
@extends('product.layout.template') | |
@section('body') | |
<div class="col-md-4 order-md-2 mb-4"> | |
<h4 class="d-flex justify-content-between align-items-center mb-3"> | |
<span class="text-muted">Your cart</span> | |
<span class="badge badge-secondary badge-pill">2</span> | |
</h4> | |
<ul class="list-group mb-3"> | |
<li class="list-group-item d-flex justify-content-between lh-condensed"> |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |