Skip to content

Instantly share code, notes, and snippets.

View stankusl's full-sized avatar

exe1 stankusl

View GitHub Profile
@enijar
enijar / Parallax.js
Last active September 21, 2015 10:59
jQuery Parallax Class
var Parallax = function () {
/**
* @type {Parallax}
*/
var that = this;
/**
* Holds all of the elements and their callback
* functions inside objects.
@manuhabitela
manuhabitela / _grid.scss
Last active January 11, 2021 14:15
Making the Bootstrap grid with Susy and sass-mq
// this is (a start of) an example of a Susy+mq() setup that mimics bootstrap grid.
// I work on multiple bootstrap-based projects.
// I want to stop using grid classes in the markup, and start using mixins with susy and sass-mq.
// Since the project is heavily tied to the bootstrap grid, I want to have the exact same behavior
// between bootstrap classes (old code) and susy mixins (new code).
// all the grid classes generated below are here to ease up testing.
// required: susy + sass-mq
@enijar
enijar / plugins.md
Last active August 25, 2022 02:24
Useful
@themasch
themasch / doc.md
Last active October 31, 2023 05:41
unofficial docs of the LoL Spectator API

REST Service for LoL spectators

This is an unofficial, uncomplete and (pretty sure) wrong documentation of the RESTful service which powers the League of Legends spectator mode.

This documentation is desgined to be community driven and should be extended by everyone. If you find things missing, add them please!

How it works

Riot's spectator mode works by requesting replay data via HTTP form a service. The data is split in chunks which usually contain about 30 seconds of gameplay. Additionally there are key frames which seem to contain more information then a single chunk. They seem to be used to support