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
<template> | |
<div class="hero min-h-screen bg-base-200" v-show="game.state === 0"> | |
<div class="text-center hero-content"> | |
<div class="max-w-md"> | |
<h1 class="mb-5 text-5xl font-bold"> | |
Hello {{ player.name || "Player" }} | |
</h1> | |
<p class="mb-5">Do you want to play?</p> | |
<div class="form-control pb-8"> | |
<input |
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
<template> | |
<div> | |
<div | |
v-if="showModal" | |
class="overflow-x-hidden overflow-y-auto fixed inset-0 z-50 outline-none focus:outline-none justify-center items-center flex" | |
> | |
<div class="relative w-auto my-6 mx-auto max-w-sm"> | |
<!--content--> | |
<div | |
class="border-0 rounded-lg shadow-lg relative flex flex-col w-full bg-white outline-none focus:outline-none" |
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('layouts.app') | |
@section('title', 'Mega Millions') | |
@section('content') | |
<div class="container mx-auto py-5 px-1"> | |
<h1 class="text-center text-2xl">Mega Millions</h1> | |
<hr> | |
<p class="pt-4">Enter five different numbers from 1 to 70 in the gray boxes and one number from 1 to 25 in the |
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; | |
use Illuminate\Support\Facades\DB; | |
use Illuminate\Notifications\Notifiable; | |
use Illuminate\Contracts\Auth\MustVerifyEmail; | |
use Illuminate\Foundation\Auth\User as Authenticatable; | |
class User extends Authenticatable |
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\Rules; | |
use Illuminate\Contracts\Validation\Rule; | |
class UniqueNumbers implements Rule | |
{ | |
/** | |
* Create a new rule instance. |
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
# Change to the project directory | |
cd /home/forge/domain.com | |
# Turn on maintenance mode | |
php artisan down | |
# Pull the latest changes from the git repository | |
# git reset --hard | |
# git clean -df | |
git pull origin master |
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
var industry= | |
[{"id":"ABIFA", "name":"Accounting, Banking, Insurance & Finance" , "occupation":[ | |
{"id":"ACTNT","name":"Accountant"} | |
, | |
{"id":"ACTUR","name":"Actuary"} | |
, | |
{"id":"AUDIT","name":"Auditor"} | |
, |
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
#compress all text & html: | |
AddOutputFilterByType DEFLATE text/html text/plain text/xml | |
<Files *.html> | |
SetOutputFilter DEFLATE | |
</Files> |
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
@SELECT '-- Select --' as pagetitle , '' AS id UNION ALL SELECT `pagetitle`, `id` FROM `[+PREFIX+]site_content` WHERE `template` IN (8, 12, 16, 17) AND `deleted` = 0 and `published` = 1 ORDER BY pagetitle ASC |
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
<FilesMatch "\.(?i:pdf)$"> | |
ForceType application/octet-stream | |
Header set Content-Disposition attachment | |
</FilesMatch> | |
##you can also use html5 download attribute | |
##<a href="/files/adlafjlxjewfasd89asd8f.pdf" download="expenses.pdf">Download Your Expense Report</a> | |
##<a href="expenses.pdf" download>Download Your Expense Report</a> |
NewerOlder