Skip to content

Instantly share code, notes, and snippets.

View applicato's full-sized avatar

applicato

  • Ireland
View GitHub Profile
@paulirish
paulirish / what-forces-layout.md
Last active July 18, 2026 01:45
What forces layout/reflow. The comprehensive list.

What forces layout / reflow

All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.

Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.

Element APIs

Getting box metrics
  • elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent
@PurpleBooth
PurpleBooth / README-Template.md
Last active July 21, 2026 19:28
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@imneme
imneme / randutils.hpp
Last active February 7, 2026 14:45
Addresses common issues with C++11 random number generation; makes good seeding easier, and makes using RNGs easy while retaining all the power.
/*
* Random-Number Utilities (randutil)
* Addresses common issues with C++11 random number generation.
* Makes good seeding easier, and makes using RNGs easy while retaining
* all the power.
*
* The MIT License (MIT)
*
* Copyright (c) 2015-2022 Melissa E. O'Neill
*
@derhuerst
derhuerst / intro.md
Last active June 21, 2026 23:00
Installing the Z Shell (zsh) on Linux, Mac OS X and Windows

Installing zsh – the easy way

The Z shell (zsh) is a Unix shell [...]. Zsh can be thought of as an extended Bourne shell with a large number of improvements, including some features of bash, ksh, and tcsh.

Z shell – Wikipedia

Read more about ZSH at An Introduction to the Z Shell.

Choose one of the following options.

@region23
region23 / golang_books_sites.md
Last active April 3, 2026 19:08
Полезные ресурсы для изучающих Go

На русском языке

Русскоязычные сайты и сообщества

English resources

@yanmhlv
yanmhlv / books.txt
Created February 1, 2015 19:47
Книги по IT, взято с /pr
=Algorithms
+ Дискретная математика для программистов Г. Хаггард
+ Concrete Mathematics: A Foundation for Computer Science Ronald L. Graham
+ Алгоритмы. Построение и анализ Томас Кормен
+ Искусство программирования. Том 1. Основные алгоритмы Дональд Кнут
+ The Algorithm Design Manual Steven S Skiena
+ Introduction to Distributed Algorithms Gerard Tel
+ Clever Algorithms: Nature-Inspired Programming Recipes Jason Brownlee
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
@guisouza
guisouza / Classical Inheritance emulation experiments in Javascript. the second one.md
Last active December 28, 2017 14:00
Classical Inheritance emulation experiments in Javascript. the second one

##Classical Inheritance emulation experiments in Javascript. the Second one

(just because I like it)

I've been experimenting different ways to emulate classical inheritance in javascript and I will daily publish insights about some experiments that I've been doing in the last months till I reach a stable and usable solution for this inexistent problem.

The Second one:

The "Class" 'Class';

function Class(){}
@staltz
staltz / introrx.md
Last active July 19, 2026 16:25
The introduction to Reactive Programming you've been missing
@sigrlami
sigrlami / ab.md
Last active January 11, 2026 21:08
List of companies using Haskell https://haskellcosm.com

WARNING This list outdated, for the up to date version visit https://haskellcosm.com

List of companies that use Haskell in Production

Types of work:

  • RD - research&development
  • PR - product
  • IP - in-house product
  • CO - consulting