Skip to content

Instantly share code, notes, and snippets.

View jurijsk's full-sized avatar
🤠
not the case

Jurijs Kovzels jurijsk

🤠
not the case
View GitHub Profile
@onlurking
onlurking / programming-as-theory-building.md
Last active November 25, 2025 03:11
Programming as Theory Building - Peter Naur

Programming as Theory Building

Peter Naur

Peter Naur's classic 1985 essay "Programming as Theory Building" argues that a program is not its source code. A program is a shared mental construct (he uses the word theory) that lives in the minds of the people who work on it. If you lose the people, you lose the program. The code is merely a written representation of the program, and it's lossy, so you can't reconstruct

@cmod
cmod / hugofastsearch.md
Last active November 22, 2025 07:03 — forked from eddiewebb/readme.md
Fast, instant client side search for Hugo static site generator
@lstude
lstude / ga-ee-checkout-steps_go-init.html
Created February 27, 2020 02:29
track Shopify checkout steps and initialize Google Optimize on the checkout page
<script>
/**
* Google Analytics Enhanced Ecommerce - Checkout Labels & Google Optimize Initializer
* - to be added to the checkout.liquid template
*/
(function checkoutStepLabels() {
var DEBUG = window.location.href.indexOf('debug') > -1;
// setup recursive polling to wait for GA to be loaded by Shopify (i.e. after ga('create') call) before pushing event (check every 500ms, max of 20 attempts)
var attempts = 0;
var MAX_ATTEMPTS = 20;
@manne
manne / azure-devops-themes-custom-properties.css
Created November 28, 2018 12:47
Defined custom properties of Azure DevOps Dark Theme
:root {
--palette-primary-shade-30: 184, 216, 255;
--palette-primary-shade-20: 152, 198, 255;
--palette-primary-shade-10: 121, 181, 255;
--palette-primary: 0, 120, 212;
--palette-primary-tint-10: 82, 143, 217;
--palette-primary-tint-20: 73, 126, 191;
--palette-primary-tint-30: 55, 96, 145;
--palette-primary-tint-40: 34, 59, 89;
--palette-neutral-100: 255, 255, 255;