Skip to content

Instantly share code, notes, and snippets.

View molotovbliss's full-sized avatar
⚗️
Code, Eat, Sleep++;

Jared molotovbliss

⚗️
Code, Eat, Sleep++;
  • DFW, Texas
View GitHub Profile
@molotovbliss
molotovbliss / debugging-tips-tricks-magento-1x.md
Created August 1, 2018 18:23
Debugging tips & tricks with Magento 1.x Commerce
@molotovbliss
molotovbliss / Mb-M2-resources.md
Created March 19, 2018 17:29
Magento2 Resources List; Needing a place to keep a list of all the tools/references used during Magento development.
@molotovbliss
molotovbliss / mcrypt-deprecated-php71-magento2-local.md
Last active March 12, 2018 21:25
mcyrpt_module_open() is deprecated PHP7.1 Magento 2.0-(2.1.2)-2.2.x

Magento 2.x and PHP7.1 issues with mcrypt

Message displayed:

Function mcyrpt_module_open() is deprecated


!NOTE! There is a reason PHP7.1+ has deprecated MCRYPT, above is okay for local/dev environments but terrible for production!

@molotovbliss
molotovbliss / sysdig-snippets.md
Created March 9, 2018 22:35
SYSDIG CHEAT SHEET
@molotovbliss
molotovbliss / jared-blalock-2022-resume.md
Last active June 27, 2022 07:25
Jared Blalock resume in markdown

JARED BLALOCK

Technical Architect + E-commerce Aubrey, Texas

25+ Years of E-Commerce and Creative Engineering consulting with LAMP stacks, beginning with early PHP e-commerce packages such as: X-Cart, Os-Commerce, and custom solutions. Currently focused with exciting crypto, Solana, VR/AR, Three.js, React, Web3, etc. With a long history unraveling Magento. Self taught and driven to learn about cutting edge technologies and their unique solutions to novel dilemmas. This has inspired me to go even deeper into information technology, specifically in the E-commerce Magento discipline for enterprise solutions that are custom geared for client business requirements.


Current Experience

Owner at Molotov.bliss

@molotovbliss
molotovbliss / .Xresources
Last active February 16, 2018 07:20
Ubuntu 16.04 XFCE4 Dracula 1-15-18
! Dracula Xresources palette
*.foreground: #F8F8F2
*.background: #282A36
*.color0: #000000
*.color8: #4D4D4D
*.color1: #FF5555
*.color9: #FF6E67
*.color2: #50FA7B
*.color10: #5AF78E
*.color3: #F1FA8C
@molotovbliss
molotovbliss / terminalrc
Created December 14, 2017 08:41
Dracula Theme for XFCE4 Terminal
ColorBackground=#28282a2a3636
ColorForeground=#f8f8f8f8f2f2
ColorSelection=#363639394848
ColorBold=#f4f47676c3c3
ColorCursor=#5050fafa7b7b
TabActivityColor=#5050fafa7b7b
ColorPalette=#000000000000;#9a9a40404646;#90907979b3b3;#929298986363;#3d3d98985a5a;#9a9a53538282;#3a3a4d4d5b5b;#8bfc8bfc8ccc;#4d4d4d4d4d4d;#ffff55555555;#cacaa9a9fafa;#f1f1fafa8c8c;#5050fafa7b7b;#ffff7979c6c6;#8b8be9e9fdfd;#f8f8f8f8f2f2
ColorSelectionUseDefault=FALSE
ColorBoldUseDefault=FALSE
@molotovbliss
molotovbliss / m2-mage-log.php
Created November 17, 2017 17:08
A replacement for M1's mage::log() for M2
<?php
// ------------------------------------------------------------------
// Psr Logging Interface *the right way*
protected $logger;
public function __construct(\Psr\Log\LoggerInterface $logger)
{
$this->logger = $logger;
}
$this->logger->debug(\Zend_Debug::dump($message));
@molotovbliss
molotovbliss / mysql-mem-report.sh
Last active July 3, 2022 00:56
Generate memory usage report bash script
#!/bin/sh
# Taken from https://dev.mysql.com/doc/refman/5.7/en/memory-use.html
mysql -e "show variables; show status" | awk '
{
VAR[$1]=$2
}
END {
MAX_CONN = VAR["max_connections"]
@molotovbliss
molotovbliss / media-catalog-product-cache.md
Last active October 5, 2018 04:10
Deconstructing the cache image path in Magento 1.x/2.x

Deconstructing the cache image path in Magento 1.x/2.x

/media/catalog/product/cache/1/image/9df78eab33525d08d6e5fb8d27136e95/m/e/me-d1_2.jpg
|___________________________|_|_____|________________________________|_|_|__________|
             |               |   |                  |                 | |     |
       Cache Directory       |   |                  |                 | |     |
Mage/Catalog/Model/Product/Media/Config.php         |                 | |     |
getBaseMediaPath()           |   |                  |                 | |     |
                             |   |                  |                 | |     |