Customized authentication will be used in this gist instead of default Auth facade provided by Laravel
composer create-project laravel-laravel your-project-name
cd your-project-name
//As referenced in this solution | |
import { number } from "prop-types"; | |
//https://codepen.io/sosuke/pen/Pjoqqp | |
interface HSL { | |
h: number; |
The following are instructions for running scheduled tasks defined in a Laravel project on Windows. The Laravel documentation provides instructions for running scheduled tasks using cron jobs on Linux systems. However, cron jobs are not available on Windows. The built-in Windows Task Scheduler can be used to run scheduled tasks instead.
using System; | |
using System.Collections.Generic; | |
using System.Data.Entity.Migrations; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using System.Reflection; | |
/// <summary> |
#!/bin/sh | |
# Git proxy settings | |
echo "Configuring Git for compatibility with ZScaler..." | |
git config --global http.proxy http://gateway.zscaler.net:80/ | |
git config --system http.proxy http://gateway.zscaler.net:80/ |
<# | |
Prerequisites: PowerShell version 3 or above. | |
License: MIT | |
Author: Michael Klement <[email protected]> | |
DOWNLOAD and DEFINITION OF THE FUNCTION: | |
irm https://gist.github.com/mklement0/8689b9b5123a9ba11df7214f82a673be/raw/Out-FileUtf8NoBom.ps1 | iex | |
The above directly defines the function below in your session and offers guidance for making it available in future |
<?php | |
/********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/ | |
/* Change size for Yoast SEO OpenGraph image for all content | |
* Credit: Yoast Development team | |
* Last Tested: May 19 2020 using Yoast SEO 14.1 on WordPress 5.4.1 | |
* Accepts WordPress reserved image size names: 'thumb', 'thumbnail', 'medium', 'large', 'post-thumbnail' | |
* Accepts custom image size names: https://developer.wordpress.org/reference/functions/add_image_size/ | |
*/ | |
# Fail2Ban filter for SoftEther authentication failures | |
# Made by quixrick and Nobody | |
# Thanks to quixrick from Reddit! https://reddit.com/u/quixrick | |
# Further reference: http://www.vpnusers.com/viewtopic.php?f=7&t=6375&sid=76707e8a5a16b0c9486a39ba34763901&view=print | |
[INCLUDES] | |
# Read common prefixes. If any customizations available -- read them from | |
# common.local | |
before = common.conf |
[{A4BB2687-E63E-F424-F9F3-18D739053798}-DlgOrder] | |
Dlg0={A4BB2687-E63E-F424-F9F3-18D739053798}-SdWelcome-0 | |
Count=6 | |
Dlg1={A4BB2687-E63E-F424-F9F3-18D739053798}-SdAskDestPath-0 | |
Dlg2={A4BB2687-E63E-F424-F9F3-18D739053798}-SdStartCopy2-0 | |
Dlg3={A4BB2687-E63E-F424-F9F3-18D739053798}-SdAskDestPath-1 | |
Dlg4={A4BB2687-E63E-F424-F9F3-18D739053798}-SdStartCopy2-1 | |
Dlg5={A4BB2687-E63E-F424-F9F3-18D739053798}-SdFinish-0 | |
[{A4BB2687-E63E-F424-F9F3-18D739053798}-SdWelcome-0] | |
Result=1 |