Skip to content

Instantly share code, notes, and snippets.

View dhyegocalota's full-sized avatar
🎯
I build results through Software Engineering.

Dhyego Calota dhyegocalota

🎯
I build results through Software Engineering.
View GitHub Profile
console.log(JSON.stringify(Object.values(Array.from(document.querySelectorAll('table:nth-child(2) tbody tr')).filter((x, i) => i > 2).map(x => ({ code: x.querySelector('td:nth-child(1)').innerText.trim(), name: x.querySelector('td:nth-child(2)').innerText.trim() })).filter(x => x.code.length).reduce((acc, x) => { acc[x.code] = x; return acc }, {})), null, 2));
@dhyegocalota
dhyegocalota / folder_structure.txt
Created March 11, 2019 19:26
DevMT Members Sample
.
├── README.md
├── app.json
├── package.json
├── public
│   ├── favicon.ico
│   ├── index.html
│   └── manifest.json
├── src
│   ├── Config.js
@dhyegocalota
dhyegocalota / Webhook | Draft Orders Update | Total of Requests | 300.txt
Last active September 1, 2022 22:23
2022.08.23 | Load Test | Shopify Webhook Endpoints
{
"version": 1,
"variables": [
{
"names": [
"shopify_request_payload_hmac_sha256",
"shopify_draft_order_id",
"shopify_order_id"
],
"values": [
@dhyegocalota
dhyegocalota / tracking-codes.html
Last active January 8, 2024 19:21
2024.01.03 | Snapshot | Tracking Codes of ThriftyTraveler.com/Premium
<html>
<head>
<!-- Start of Google 1 -->
<script>
(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({ "gtm.start": new Date().getTime(), event: "gtm.js" });
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != "dataLayer" ? "&l=" + l : "";