Skip to content

Instantly share code, notes, and snippets.

@kottenator
kottenator / simple-pagination.js
Created July 13, 2015 20:44
Simple pagination algorithm
// Implementation in ES6
function pagination(c, m) {
var current = c,
last = m,
delta = 2,
left = current - delta,
right = current + delta + 1,
range = [],
rangeWithDots = [],
l;
@MildlyInterested
MildlyInterested / arma_useful.md
Last active November 17, 2024 11:26
Arma useful things

Arma Preset Creator by ColinM

create HTML presets from steam collections (with a second, optional, mods collection)

https://armapresetcreator.co.uk/

PAA Converter in your Browser by Gruppe Adler

converts jpg, png to PAA and vise versa