Skip to content

Instantly share code, notes, and snippets.

Bluh bluh

hinell hinell

Bluh bluh
Block or report user

Report or block hinell

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View SC.Tracks.js
Name : SC.Tracks snippet
Version : 0.4.0
Last-Modified : November 19, 2019
Description :
The programm walks over tracks:
Tracks.nodes = [
2track <---- tracks.current
hinell / Wikipedia.dark.mode.eyecare.css
Last active Nov 19, 2019
Wikipedia dark mode EyeCare. Honors colors of various vidgets, maths, pre/code tags, infoboxes etc. Multilingua (en, ru, de, fr, es, etc.).
View Wikipedia.dark.mode.eyecare.css
Name : Wikipedia Dark Mode EyeCare
Author : Alexander Davronov, <>, <>, biteofpie@twitter
Last-modified : November 20, 2019
Version : 1.3.2
License : Use at your own risk, no any guarantees are warranted
Description :
Wikipedia dark mode EyeCare. Honors colors of various vidgets, maths, pre/code tags, infoboxes etc. Multilingua (en, ru, de, fr, es, etc.).
View loadImages.js
* Description : A few snipets that help to load bunch of images or svgs using DOMParse API
* Author : <>
* Last-Modified: July 13, 2019
* License : Copyright (c) 2019 Alexander Davronov
* In case of disclosure of use of this piece of software you may face prosection
* if any of the following conditions are met:
* 1. You failed to make a due mention of the aforementioned author
* 2. You failed to copy this license text next to this piece of software
View Sunrise Sunset Algorithm Example.txt
Almanac for Computers, 1990
published by Nautical Almanac Office
United States Naval Observatory
Washington, DC 20392
day, month, year: date of sunrise/sunset
hinell / list of state management
Last active Jun 28, 2019
Modern state management tools for JavaScript and TypeScript
View list of state management


Updated: June 2019 Author: github@Hinell

[setState][setState] Basic tool built in React library
[MobX][MobX] Simple, scalable state management.
[MobX-State-Tree][MobX-State-Tree] Model Driven State Management
[Redux][Redux] Predictable state container for JavaScript apps
View Canvas.arcTo.js
const canvas = document.getElementById('canvas');
const ctx = canvas.getContext('2d');
const controlOut = document.getElementById('radious-output');
const control = document.getElementById('radious');
control.oninput = () => {
controlOut.textContent = r = control.value;
const mouse = { x: 0, y: 0 };
hinell / ES2015 Var Destructuring.js
Last active Jun 8, 2019
Measures performance of the variable assignment by destructuring. See my post here:
View ES2015 Var Destructuring.js
function bench (name, iterations = 500, fn) {
const t0 =;
for (let i = 0; i < iterations; i++) fn(i)
let d = - t0;
d = Math.ceil(d);
let ops = iterations / d;
View Bezier curve.js = = = = "100%"
canvas = document.createElement(`canvas`);
canvas.canvasRes = function (){
var {width, height} = document.body.getBoundingClientRect();
var d = document.body.getBoundingClientRect();
canvas = this;
View Collect tracks.js
* Collect tracks v.2
* Collecting tracks for the purpose of exporting them into archive
HTMLElement.prototype.$ = HTMLElement.prototype.querySelector
HTMLElement.prototype.$$= HTMLElement.prototype.querySelectorAll =;
String.prototype.contains = function(str){ return new RegExp(str).test(this) }
View SC.getDonwloadLinks.js
You can’t perform that action at this time.