Skip to content

Instantly share code, notes, and snippets.

View fiws's full-sized avatar
🐢
wat

Filip Weiss fiws

🐢
wat
View GitHub Profile
@comp500
comp500 / big_list_of_modpack_things.md
Last active June 26, 2024 07:48
Big List of Modpack Things

Big List of Modpack Things

Also see the Modrinth Awesome list, and a (probably somewhat outdated) list of curse modpack downloaders at https://gist.github.com/jikuja/f44533a16ad04624c3eb8e99e7a3e494/

This list is a bit outdated in places, but I'm still adding things here so that I don't forget them.

Distribution platforms

Name Type Number of mods/packs Popularity (Similarweb rank) Official launcher Third-party support Open Source backend Author rewards
CurseForge Public 31,000 mods; 38,000 modpacks #1410 Yes Many No Yes
Modrinth Public 2000 mods #79,182 In development ATLauncher, packwiz, pacmc, modweaver Yes Planned
@paulirish
paulirish / what-forces-layout.md
Last active July 24, 2024 14:23
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
@arturparkhisenko
arturparkhisenko / webComponentsSupported.js
Last active January 22, 2016 18:00
webComponentsSupported polyfill
// 4. Conditionally load the webcomponents polyfill if needed by the browser
function finishLazyLoading() {
window.Polymer = window.Polymer || {
dom: 'shady' //'shadow'
};
// 6. Fade splash screen, then remove.
var onImportLoaded = function() {
var loadEl = document.getElementById('splash');
@ebidel
ebidel / app.html
Last active May 1, 2021 15:42
Fast Polymer app loading - optimized for first render, progressively enhanced lazy loading
<!DOCTYPE html>
<html>
<head>
<style>
body.loading #splash {
opacity: 1;
}
#splash {
position: absolute;
top: 0;