Skip to content

Instantly share code, notes, and snippets.

0:00:01.760,0:00:09.600
um trying to not use profanity um but um oh we
appreciate that yeah we like our clean rating
0:00:09.600,0:00:14.880
on me on mage talk we we don't want to lose our
clean reading i mean phillip because it's like
0:00:14.880,0:00:20.320
a sailor when i like like when i talk before you
[20998] Log opened at 2020-06-25 19:54:20
[20998] I: Connecting to configured address/port: localhost:9000.
[20998] W: Creating socket for 'localhost:9000', poll success, but error: Operation now in progress (19).
[20998] I: Connected to client. :-)
[20998] -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file:///Users/kalenjordan/sites/kalenjordan.com/public/index.php" language="PHP" xdebug:language_version="7.4.2" protocol_version="1.0" appid="20998" idekey="kalenjordan"><engine version="2.9.2"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2020 by Derick Rethans]]></copyright></init>
[20998] <- feature_set -i 1 -n show_hidden -v 1
[20998] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="1" feature="show_hidden" success="1"></response>
[20998] <- feature_set -i 2 -n max_depth -
<template>
<div>
<multiselect track-by="username" :loading="isLoading" @search-change="asyncFind"
:options="options" placeholder="Enter a twitter handle" :show-no-results="false"
label="name" :option-height="104" :show-labels="false">
<template slot="noOptions">
Type the name of a product, service, or agency
</template>
<template slot="singleLabel" slot-scope="props">
<img class="option__image w-4 h-4 rounded-full inline" :src="props.option.img">
@kalenjordan
kalenjordan / new-social-network.md
Last active April 22, 2020 16:01
We need a new type of social network

We need a new type of social network.

One where you share deeply with your closest friends who you care about and who care about you.

Somewhere to share privately the things that you're actually thinking about, decisions you're actually struggling with.

Where you can share the moments of pride that you have and accomplishment, without worrying about whether you're humblebragging too much.

A place for those closest to you to cheer you on in your wins, to encourage you in your down moments.

[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
dc = diff --cached
lg = log -p
l = log --graph --decorate --pretty=oneline --abbrev-commit
ll = log --pretty=format:'%h : %s' --graph --decorate
<table class="top-navigation" width="100%" cellpadding="0" cellspacing="0"><tr>
<td class="first"><a href="#">Women</a></td>
<td class="second"><a href="#">Men</a></td>
<td class="third no-border-on-phone"><a href="#">Sale</a></td>
<td class="fourth hidden-on-phone"><a href="#">Home & Decor</span></a></td>
<td class="last hidden-on-phone"><a href="#">Accessories</span></a></td>
</tr></table>
ALTER TABLE `sales_flat_order_item` ADD INDEX `IDX_SALES_FLAT_ORDER_ITEM_PRODUCT_ID` (`product_id`);
ALTER TABLE `cataloginventory_stock_status` ADD INDEX `IDX_CATALOGINVENTORY_STOCK_STATUS_STOCK_STATUS` (`stock_status`);
ALTER TABLE `cataloginventory_stock_status` ADD INDEX `IDX_CATALOGINVENTORY_STOCK_STATUS_PRODUCT_ID` (`product_id`);
ALTER TABLE `sales_flat_order` ADD INDEX `IDX_SALES_FLAT_ORDER_CUSTOMER_EMAIL` (`customer_email`);
ALTER TABLE `sales_flat_order` ADD INDEX `IDX_SALES_FLAT_ORDER_UPDATED_AT` (`updated_at`);
ALTER TABLE `sales_flat_quote` ADD INDEX `IDX_SALES_FLAT_QUOTE_CUSTOMER_EMAIL` (`customer_email`);
ALTER TABLE `sales_flat_quote` ADD INDEX `IDX_SALES_FLAT_QUOTE_UPDATED_AT` (`updated_at`);
ALTER TABLE `sales_flat_quote_item` ADD INDEX `IDX_SALES_FLAT_QUOTE_ITEM_CREATED_AT` (`created_at`);
ALTER TABLE `sales_flat_quote_item` ADD INDEX `IDX_SALES_FLAT_QUOTE_ITEM_UPDATED_AT` (`updated_at`);
ALTER TABLE `catalog_product_entity` ADD INDEX `IDX_CATALOG_PRODUCT_ENTITY_UPDATED_AT` (`updated_at`);
<?php
Api::setConsumerKey($consumerKey);
Api::setConsumerSecret($consumerSecret);
$history = History::getList();
foreach ($history as $historyItem) {
$date = $historyItem->getDate();
$websiteUrls = $historyItem->getWebsiteNamesCsv();
Api::setConsumerKey($consumerKey);
Api::setConsumerSecret($consumerSecret);
$history = History::getList();
foreach ($history as $historyItem) {
$date = $historyItem->getDate();
$websiteUrls = $historyItem->getWebsiteNamesCsv();
$project = $historyItem->getProjectName();
<script>
MageMailData = typeof(MageMailData) != 'undefined' ? MageMailData : {};
MageMailData.beforeInit = function() {
var cookies = new MageMail_Cookies();
var coupon = cookies.get('mm_coupon');
if (!coupon || coupon == '') {
MageMail_Magento.applyCouponToCart('BLACK_FRIDAY_10_OFF', 'custom_javascript');
cookies.set('mm_countdown', '2015-11-07T04:00:00+00:00'); // UTC
MageMail_Magento.setupCountdownTimer();
}