-
Open the Terminal
-
Use
mysqldump
to backup your databases -
Check for MySQL processes with:
ps -ax | grep mysql
-
Stop and kill any MySQL processes
-
Analyze MySQL on HomeBrew:
brew remove mysql
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
import {_ as e, L as t} from "./index-4deec983.js"; | |
import {a as n, C as i} from "./Controller-26bd1e9e.js"; | |
import {S as s} from "./ScrollObserver-d0732a2c.js"; | |
import {F as o} from "./index-bee741e4.js"; | |
class r { | |
constructor(e, t, n, i=!1) { | |
const s = this | |
, o = -1 !== document.location.search.toLowerCase().indexOf("debug=webgl"); | |
s.canvas = e, | |
s.gl = s.canvas.getContext("webgl", { |
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
Can I Remove MySQL Binary Log Yes, as long as the data is replicated to Slave server, it’s safe to remove the file. It’s recommend only remove MySQL Binary Log older than 1 month. | |
Besides, if Recovery of data is the main concern, it’s recommend to archive MySQL Binary Log. | |
There are several ways to remove or clean up MySQL Binary Log, it’s not recommend to clean up the file manually, manually means running the remove command. | |
Remove MySQL Binary Log with RESET MASTER Statement Reset Master statement is uses for new database start up during replication for Master and Slave server. This statement can be used to remove all Binary Log. | |
To clean up Binary Log on Master Server |
For production:
- Invoices for the current month will be generated on the 1st of that month, or any day after that if onboarding a new agency/agent.
- Subscriptions will be valid until the last day of that month, unless suspended
For testing purposes:
- Billing period is set to 5 minutes
- Subscriptions expire from when the invoice is generated + 5 minutes
- Cron jobs will run every minute
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
Route::get('/sample-csv-generation/{numberOfRows}', function (Request $request, $numberOfRows) { | |
$faker = Faker\Factory::create(); | |
$numberOfRows = (int) $numberOfRows; | |
// Define the headers for the CSV file | |
$headers = [ | |
'Content-Type' => 'text/csv', | |
'Content-Disposition' => 'attachment; filename="filename.csv"', | |
]; |
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 | |
// Function to add a new card for your customer. | |
function sd_process_add_customer_card(){ | |
$redirect = false; | |
if ( isset( $_POST['action'] ) && $_POST['action'] == 'add_customer_card' && wp_verify_nonce( $_POST['stripe_nonce'], 'stripe-nonce' ) ){ | |
if ( !isset( $_POST['card_number'] ) || !isset( $_POST['card_cvc'] ) || !isset( $_POST['card_exp_month'] ) || !isset( $_POST['card_exp_year'] ) ){ | |
$redirect = add_query_arg( array( | |
'card' => 'not-created', | |
), $_POST['redirect'] ); |
Since you are connected to the Microsoft Services tenant as a standard user with restricted access, you cannot perform all the admin access. To perform administrative actions, you must have administrative access to the tenant.
For this purpose, you need to create your own tenant. When you create a new tenant, you by default become the Global Administrator of the new tenant to get all access in that tenant.
To create a new tenant, access https://azure.microsoft.com/en-us/free/ to create a free Azure account.
Once the new account is created, you should be able to see the new tenant (directory) as highlighted below:
Create a project
- Start by accessing the Google developers console here (https://console.cloud.google.com/apis/dashboard) and create a new project if you don't already have one.
Now, within that project, you will need to enable APIs and services.
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 | |
// This can be found in the Symfony\Component\HttpFoundation\Response class | |
const HTTP_CONTINUE = 100; | |
const HTTP_SWITCHING_PROTOCOLS = 101; | |
const HTTP_PROCESSING = 102; // RFC2518 | |
const HTTP_OK = 200; | |
const HTTP_CREATED = 201; | |
const HTTP_ACCEPTED = 202; |
NewerOlder