Skip to content

Instantly share code, notes, and snippets.

View kculmback's full-sized avatar

Kasey kculmback

View GitHub Profile
@kculmback
kculmback / chaseOffers.js
Created August 30, 2024 17:38
Add all Chase offers
function goBack() {
window.history.back();
setTimeout(clickFirstButton, Math.random() * 1000 + 300);
};
function clickFirstButton() {
const allButtons = [...document.querySelectorAll('.mds-icon--cpo')].filter(b => b.type === 'ico_add_circle');
const firstButton = allButtons.pop();
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>*|MC:SUBJECT|*</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="format-detection" content="date=no">
<meta name="format-detection" content="telephone=no">
<meta http-equiv="x-ua-compatible" content="IE=edge">
<!--[if gte mso 9]>
@kculmback
kculmback / vue.json
Last active September 10, 2018 22:52
User snipped to Scaffold a Vue Single File Component (pug & scoped scss) for VS Code
// Add to: Preferences > User Snippets > vue.json
{
"Scaffold_Component": {
"prefix": "scaffold",
"body": [
"<template lang=\"pug\">",
"\t.${root}",
"</template>\n",
"<script>",
@kculmback
kculmback / WP Sync DB Shell Script.md
Last active January 18, 2017 00:51
WP Sync DB Shell Script

WP Sync DB Shell Script

This is a shell script that will automate the process of synching databases between development, staging, and production servers for a website using Trellis and Bedrock from Roots.io.

Getting Started

Dependencies