Skip to content

Instantly share code, notes, and snippets.

View navarr's full-sized avatar
🖥️
Magento

Navarr Barnier navarr

🖥️
Magento
View GitHub Profile
@navarr
navarr / style.css
Last active February 6, 2024 15:09
Turn TikTok Live Stream Webpage into Chatbox only
/* Hide what doesn't matter */
div[class*="DivLiveContainer"] > div[class*="DivLiveContent"] { display: none; } /* Video */
div[class*="DivSideNavContainer"] { display: none; } /* Sidebar */
div[class*="DivTopViewersContainer"] { display: none; } /* Top Viewers */
div[class^="vidiq"] { display: none; } /* Vid-IQ Floating Widget */
/* div[class*="DivBottomStickyMessageContainer"] { display: none; } /* Join Messages */
/* Make Chatbox Full-sized */
div[class*="DivChatRoomAnimationContainer"] { width: 100%; display: block !important; }
// ==UserScript==
// @name Poke Application for Twitter
// @version 1.0.1
// @description Adds Poke Link to Twitter
// @include http://twitter.com/*
// @include https://twitter.com/*
// @include http://www.twitter.com/*
// @include https://www.twitter.com/*
// ==/UserScript==
//------------------------------------------------------
// ItemType
// Class Implementation File
// Ch. 3, C++ Plus Data Structures, Dale 5e, p. 155
// Filename: ch03-ItemType.cpp
//------------------------------------------------------
#include <iostream>
#include <string>
#include "ch03-ItemType.h"
using namespace std;
--- a/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Console/RunTestCommand.php 2020-07-17 12:31:19.227057295 +0000
+++ b/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Console/RunTestCommand.php 2020-07-17 12:28:43.891916513 +0000
@@ -136,7 +136,7 @@
$testName . " is not available under " . $testsDirectory
);
}
- $fullCommand = $codeceptionCommand . $testsDirectory . $testName . ' --verbose --steps';
+ $fullCommand = $codeceptionCommand . $testsDirectory . $testName . ' --verbose --steps --xml';
$this->returnCode = max($this->returnCode, $this->executeTestCommand($fullCommand, $output));
}
From 960e6242ce7c0090e72cc1d70a858a84198a5158 Mon Sep 17 00:00:00 2001
From: Navarr Barnier <navarr@mediotype.com>
Date: Tue, 2 Jun 2020 11:17:14 -0400
Subject: [PATCH] BUNDLE-2583
---
.../web/js/view/validation-message.js | 32 +++++++++++++++----
1 file changed, 26 insertions(+), 6 deletions(-)
diff --git a/vendor/vertex/module-address-validation/view/frontend/web/js/view/validation-message.js b/vendor/vertex/module-address-validation/view/frontend/web/js/view/validation-message.js
Magento Minor Version PHP 5.5 PHP 5.6 PHP 7.0 PHP 7.1 PHP 7.2 PHP 7.3 PHP 7.4
2.0
2.1 ✓[1] 2.1.16+
2.2 ✓[2] 2.2.10+
2.3 ✓[3] 2.3.3+
2.4 ✓[3]

Notes:

  1. Only 7.0.2 and ~7.0.6 for 2.1.0-2.1.1. Starting with 2.1.2 that was expanded to include 7.0.4.
@navarr
navarr / VRTX-tax-slowness.patch
Created December 13, 2019 15:25
Resolution for BUNDLE-2320 - Slowness/JavaScript hang on Tax Configuration Page
From 05aa7d9aaa12f3c0e2566f324e0312ffcc788555 Mon Sep 17 00:00:00 2001
From: Damir Korpar <damir@mediotype.com>
Date: Thu, 12 Dec 2019 17:24:25 +0100
Subject: [PATCH 1/3] VRTX-702 Loading Flexfields input fields on demand
---
.../web/js/form/caption-formatter.js | 25 +++++++
.../web/js/form/flex-field-select.js | 17 ++---
.../web/js/model/flex-field-table.js | 75 +++++++++++++++++--
.../web/template/flex-field-table.html | 44 +++++++----
<?php
class IRCServer
{
protected $config;
protected $debug_mode;
protected $hooks;
protected $user_funcs;
protected $master_socket;
public $max_clients = 10;
@navarr
navarr / template\page\html\breadcrumbs.phtml
Last active April 30, 2019 13:55
Magento Semantic Breadcrumbs
<?php
if (empty($crumbs) || !is_array($crumbs)) {
return;
}
$_crumbItems = array();
$_crumbCount = 1;
$_crumbTotal = count($crumbs);