Skip to content

Instantly share code, notes, and snippets.

View jvillarejo's full-sized avatar

Juani Villarejo jvillarejo

View GitHub Profile
@jcgregorio
jcgregorio / How_to_use.html
Last active July 17, 2023 14:44
HTML Templating using the HTML <template> element and exactly 100 lines of JS. A cleaned up version of this code is now available at https://github.com/jcgregorio/stamp/.
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="templating.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<template id=t>
@alanhala
alanhala / example.rb
Created April 11, 2018 19:18
MRI-GIL Context switch examples from this talk: https://www.youtube.com/watch?v=1nNfTWHF2YY
@bank_account = 0
# WORKS
# 100.times.map do
# Thread.new do
# 10_000.times do
# value = @bank_account
# value = value + 1
# @bank_account = value
@stettix
stettix / things-i-believe.md
Last active July 10, 2024 23:00
Things I believe

Things I believe

This is a collection of the things I believe about software development. I have worked for years building backend and data processing systems, so read the below within that context.

Agree? Disagree? Feel free to let me know at @JanStette. See also my blog at www.janvsmachine.net.

Fundamentals

Keep it simple, stupid. You ain't gonna need it.