In the home directory make a .my.cnf file
touch ~/.my.cnf
Ensure it has your login details.
[mysqldump]
user=yourdbusername
password=yourdbpassword
<?php | |
namespace App\Traits; | |
use Illuminate\Support\Str; | |
use Illuminate\Support\Facades\App; | |
trait HasUuid | |
{ | |
/** |
// Given an Async Function (Not a promise) this class will ensure that the run method can only run 1 instance of that async operation at a time. | |
class AsyncSingleInstance { | |
// Soon we will have private fields? https://github.com/tc39/proposal-class-fields#private-fields | |
//#inProgress; | |
//#asyncFunction; | |
constructor(asyncFunction) { | |
this.inProgress = false; | |
this.asyncFunction = asyncFunction; | |
} |
In the home directory make a .my.cnf file
touch ~/.my.cnf
Ensure it has your login details.
[mysqldump]
user=yourdbusername
password=yourdbpassword
// -------------------------------------------------------------------------------------------------------------------- | |
// <copyright file="SceneViewFocusChangerWindow.cs" company="Supyrb"> | |
// Copyright (c) 2018 Supyrb. All rights reserved. | |
// </copyright> | |
// <author> | |
// Johannes Deml | |
// [email protected] | |
// </author> | |
// -------------------------------------------------------------------------------------------------------------------- |
@echo off | |
@reg copy HKLM\HARDWARE\ACPI\DSDT\VBOX__ HKLM\HARDWARE\ACPI\DSDT\NOBOX__ /s /f | |
@reg delete HKLM\HARDWARE\ACPI\DSDT\VBOX__ /f | |
@reg add HKLM\HARDWARE\DESCRIPTION\System /v SystemBiosVersion /t REG_MULTI_SZ /d "NOBOX - 1" /f | |
@reg add HKLM\HARDWARE\DESCRIPTION\System /v VideoBiosVersion /t REG_MULTI_SZ /d "NOBOX - 1" /f | |
@taskkill /f /im VBoxTray.exe | |
@exit |
var fs = require('fs'); | |
var http = require('http'); | |
var forceredownload = false; | |
function downloadFile(url, file, callback, redirect_count, known_size) { | |
console.log('Attempting to download ' + url + ' to ' + file); | |
if (redirect_count) { | |
if (redirect_count > 5) { | |
callback('Max redirects reached', url); | |
return; |
// var app = express() | |
app.use(function (req, res, next) { | |
res.header('Cache-Control', 'private, no-cache, no-store, must-revalidate'); | |
res.header('Expires', '-1'); | |
res.header('Pragma', 'no-cache'); | |
next() | |
}); |
SELECT wp_users.user_login, wp_users.user_email, firstmeta.meta_value as first_name, lastmeta.meta_value as last_name FROM wp_users left join wp_usermeta as firstmeta on wp_users.ID = firstmeta.user_id and firstmeta.meta_key = 'first_name' left join wp_usermeta as lastmeta on wp_users.ID = lastmeta.user_id and lastmeta.meta_key = 'last_name' |
rabbitmqctl stop_app | |
rabbitmqctl reset | |
rabbitmqctl start_app |