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 | |
// https://www.baeldung.com/java-binary-tree | |
class Node { | |
public $left, $right; | |
public $value; | |
public function __construct($value) { | |
$this->value = $value; | |
$this->left = null; | |
$this->right = null; | |
} |
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
# Backup the Database | |
docker exec CONTAINER mkdir -p /backups | mysqldump -u root --password='PASSWORD_HERE' DATEBASE_NAME_HERE | gzip > /backups/backup_DATABASE_NAME_$(date +%Y_%m_%d__%H_%M_%S).sql.gz | |
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
this.$store | |
.dispatch('modules/auth/switchAccount', { | |
queryParams: { | |
new_account_type: newAccountType, | |
}, | |
}) | |
.then((response) => { | |
if (response.success) { | |
this.$buefy.toast.open({ | |
message: response.message, |
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
<script> | |
const apiKey = process.env.GOOGLE_MAPS_API_KEY | |
export default { | |
props: {}, | |
computed: {}, | |
methods: { | |
injectGoogleMapsApiIfNotInjectedAlready() { | |
return new Promise((resolve, reject) => { | |
try { |
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
.ma-0 { | |
margin: 0rem; | |
} | |
.pa-0 { | |
padding: 0rem; | |
} | |
@media only screen and (min-width: 576px) { | |
.ma-0-xs { |
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
In this webinar recording, Gary Hockin covers the fundamentals of installing and configuring Xdebug, configuring PhpStorm to listen to Xdebug, and then goes into step debugging of some scripts to find the problems. Debugging PHP is an incredibly easy and powerful tool when you |
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
node_modules | |
*.swp |