-
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
// go to https://x.com/settings/your_twitter_data/twitter_interests | |
// open devtools, console tab | |
// paste in | |
// Uses dynamic delay to try to get around twitter's rate limiting | |
// You may need to run this more than once, waiting a while between runs to let the rate limiting reset | |
const uncheckWithDynamicDelay = async (checkbox, index, total, currentDelay, consecutiveUnchecks) => { | |
console.log(`Processing interest ${index + 1} of ${total}. Current delay: ${currentDelay}ms`); | |
if (checkbox.checked) { | |
checkbox.click(); // Simulate a click to uncheck |
<?php | |
class Threader | |
{ | |
private array $tweets, $roots; | |
private string $user; | |
public function handle(): void | |
{ | |
echo "What is your twitter username? "; |
// -*- mode: c++ -*- | |
// Copyright 2016 Keyboardio, inc. <[email protected]> | |
// See "LICENSE" for license details | |
#ifndef BUILD_INFORMATION | |
#define BUILD_INFORMATION "locally built" | |
#endif | |
/** |
<template> | |
<div> | |
<h3>Revisions</h3> | |
<div class="space-y-4"> | |
<div | |
v-for="commit in commits" | |
v-bind:key="commit.sha" | |
class="flex border-solid border border-gray-300 p-4" | |
> | |
<img |
<?php | |
header('Content-type: text/xml'); | |
/* | |
Runs from a directory containing files to provide an | |
RSS 2.0 feed that contains the list and modification times for all the | |
files. | |
*/ | |
$feedName = "Name"; | |
$feedDesc = "Description"; |
// in mixins/trailingSlash.js | |
export default (url) => { | |
return url.replace(/\/?$/, "/"); | |
}; | |
// in app.js | |
import trailingSlash from "./components/mixins/trailingSlash"; | |
Vue.mixin({ | |
methods: { | |
trailingSlash, |
<?php | |
// ConvertKit API Key: | |
$convertkitApiKey = 'your-convertkit-api-key'; | |
// Map each of your Clickbank products to a ConvertKit tag ID, or leave this array empty to | |
// use the default tag for all products: | |
$convertkitTags = array( | |
'clickbankproduct1' => 'cktag1', | |
'clickbankproduct2' => 'cktag2', | |
'clickbankproduct3' => 'cktag3', | |
); |
<?php | |
// Relevant parts of my Member.php model, which is the model that I'm applying tags to | |
/** | |
* Using our own Tag model | |
* @see https://docs.spatie.be/laravel-tags/v2/advanced-usage/using-your-own-tag-model | |
* | |
* @return string | |
*/ |
<script> | |
<?php if (Auth::user() && Spark::developer(Auth::user()->email) || session('spark:impersonator')) { | |
?> Spark.state.devmode = true; <?php | |
} else { | |
?> Spark.state.devmode = false; <?php | |
} ?> | |
if (Spark.state.user && !Spark.state.devmode) { | |
// Intercom, FullStory, etc. tracking goes here | |
} |