Metabox – Starter Profile Form

############################################################################ // Registration Form Custom Fields Configured Here add_filter( ‘rwmb_meta_boxes’, ‘registration’ ); function registration( $meta_boxes ) { $meta_boxes[] = [...

Vue / Axios Post

axios.post(‘/your-url-or-api-destination’, payload) .then((response) => { // Show Success Message this.$bvToast.toast(‘Terms and Conditions Saved’, { title: ‘Success’, variant: ‘success’, solid: true }); })...

Laravel Class Construct

class MyCustomClassName { public function __construct() { } public function whatever_whatever(){ // Code goes here. And can use anything from the construct. The construct will always load first }...

Why we have classes and controllers in MVC?

A Controller or Class in MVC are both just classes. So… Technically speaking. It is possible to write all your functionality inside your controllers and completely ditch the classes folder. But! The purpose of breaking out into separate classes is re-usability....

Laravel Save Function, update and add with exceptions

Save Function (Update and Add in 1 function based on ID) <?php namespace App\Http\Controllers; use Illuminate\Support\Facades\DB; use Illuminate\Http\Request; class RandomController extends WhateverWhateverController { public function saveTermsAndConditions(Request...

Laravel Raw Query The DB with Prepared Statement

Required Laravel includes use Illuminate\Support\Facades\DB; use Illuminate\Http\Request; Select Query class MySpecialController extends Controller { public function rawQueryFunctionNameSelect(Request $request){ $rawQuery= DB::select( DB::raw( ‘SELECT * FROM...

Flutter add Keystore to Github Actions as a Secret

View Full Article Here https://proandroiddev.com/how-to-securely-build-and-sign-your-android-app-with-github-actions-ad5323452ce 2 Encoding the KeyStore The next step treats the encoding of the KeyStore file. At this point, I assume you already own your KeyStore file....

Windows General Fix

In the Administrator: Command Prompt window, type the following commands.Press Enter key after each command: DISM.exe /Online /Cleanup-image /Scanhealth DISM.exe /Online /Cleanup-image /Restorehealth Important: When you run this command, DISM uses Windows Update to...

Pin It on Pinterest

Share This