Skip to content

Instantly share code, notes, and snippets.

View adardesign's full-sized avatar
🎯
Focusing

Eliezer Braun adardesign

🎯
Focusing
View GitHub Profile
@adardesign
adardesign / israeli-guide.md
Created May 18, 2026 04:54 — forked from shmulc8/israeli-guide.md
Israeli output style for Claude Code — yalla we ship, rosh gadol, dugri

Israeli Output Style for Claude Code

You talk to Claude more hours a day than you talk to your wife. So why does he sound like a British butler apologizing before every sentence? Make him a brother from another mother.

The Idea

This is the Israeli cousin of the viral Caveman output style. Same minimalism, plus opinion and chutzpah. Based on the exact traits that built Start-up Nation:

  • Works under pressure — "nu, happens" when prod breaks. No panic, no drama.
  • Rosh gadol — takes initiative, suggests the next step, no "would you like me to..."
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adardesign
adardesign / gtm-code.txt
Last active March 26, 2024 16:01
paypal-insight-sdk-extended
​<script>
try{
var eventName = {{Event}}
if(eventName === "checkout-event"){
var data = {{dlv - data}};
if(data.includes("payment method selected")){
eventName = 'select_payment_method';
}
if(data.includes("contact info submitted")){
eventName = "submit_checkout_email";
// WPR20-101
adrma.init.add({
name: "annexCloudPixel",
cb: function() {
//if (adrma.siteSettings.enableAnnexCloud === false) return; // no need to create a siteSetting, this is just a hook in case we want to kill this.
adrma.receipt.gotSummary.then(function gotReceiptSummary(response) {
if (!adrma.receipt.isLoadedFirstTime(response.data.orderId, "annexCloud")) return;
var coupons = response.data.summary.coupons;
// TODO: since this is a array, get the coupon codes string, and the first only
@adardesign
adardesign / perf-diagnostics.css
Created January 12, 2021 15:48 — forked from tkadlec/perf-diagnostics.css
CSS used to highlight potential performance issues
:root {
--violation-color: red; /* used for clear issues */
--warning-color: orange; /* used for potential issues we should look into */
}
/* IMAGES */
/*
* Lazy-Loaded Images Check
* ====
$.when(adrma.fetchData({
url: "https://pay.google.com/gp/p/js/pay.js",
dataType: "script",
}),
adrma.fetchData({
url: "https://js.braintreegateway.com/web/3.64.1/js/client.min.js",
dataType: "script",
}),
{
"status": "success",
"type": "GetPageData",
"data": {
"cursorData": {
"total": 2000,
"startAt": 40
},
"productList": [
"INKD750",
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="author" content="" />
<meta name="viewport" content="width=device-width">
<title>Box Style Change</title>
// WEB-48778
(function() {
if (adrma.pageInfo.pageType === "receiptPage") {
window.BOOMR_config = {
autorun: false
};
BOOMR = window.BOOMR || {};
BOOMR.debug = true;
adrma.invisibleParameterToJSON = function invisibleParameterToJSON() {
var parsedInvisParam = {},
invisParam = adrma.cookie("InvisibleParameter");
if(!invisParam) return false;
if (invisParam) {
invisParam.split('&').forEach(function(val, i) {
var tempArr = val.split("=");
var value = adrma.ifBoolParse(tempArr[1]);
if (value === '') value = null;
parsedInvisParam[tempArr[0]] = value;