Skip to content

Instantly share code, notes, and snippets.

View jayar95's full-sized avatar

Jorge Lopez Johnson jayar95

View GitHub Profile
@jayar95
jayar95 / incident-response.md
Created November 16, 2022 16:35
generic incident response framework

Incident Response

Objectives

The objective of any incident is to resolve the impact as quickly as possible (responsibly). This incident response framework will provide process and guidelines to achieve maximum availability for our Customers while taking into consideration the wellbeing of our engineers and stakeholders.

Note: The "Customers" are usually end-users in most contexts, but can vary by incident. For instance, if all of our build agents broke and pipelines were completely unavailable, the "Customers" would be internal engineers in the context of that incident.

Suggested Reading

@jayar95
jayar95 / autocredit.js
Created November 15, 2017 19:03
AutoCreditSales.com redirect script to MitchForThePeople.com
if (window.location.pathname === '/')
window.location.href = 'http://mitchforthepeople.com/';
@jayar95
jayar95 / autocreditredirect.js
Created October 25, 2017 20:05
Auto Credit Homepage Redirect
if (window.location.pathname === '/') {
window.location.href = 'http://mitchforthepeople.com';
}
if(this.props.location.state && this.props.location.state.updatedAccount)
toast('Account Updated! If you published a new account, the initial data pull could take a few minutes.', {
type: toast.TYPE.SUCCESS
});
ALTER TABLE `appointments`
ADD COLUMN `outcome` INT(10) UNSIGNED NULL DEFAULT NULL COMMENT '' AFTER `campaign`,
ADD INDEX `fk_appointments_disposition1_idx` (`outcome` ASC) COMMENT '';
ALTER TABLE `appointments`
ADD CONSTRAINT `fk_appointments_disposition1`
FOREIGN KEY (`disposition`)
REFERENCES `disposition` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION;
ALTER TABLE `connect`.`member_resources`
ADD COLUMN `deleted` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0 COMMENT '' AFTER `visible_on`;
@jayar95
jayar95 / gist:a9bf87d94118455683d154be997eb009
Last active November 1, 2016 17:36
Activity report statements
/*create campaign col for dispo table */
ALTER TABLE `disposition`
ADD COLUMN `campaign` INT(10) UNSIGNED NULL DEFAULT NULL COMMENT '' AFTER `cadence_step`;
/*create campaign col for appointments table */
ALTER TABLE `appointments`
ADD COLUMN `campaign` INT(10) UNSIGNED NULL DEFAULT NULL COMMENT '' AFTER `promax_meta`;