Skip to content

Instantly share code, notes, and snippets.

View luckylooke's full-sized avatar

Ctibor Laky luckylooke

View GitHub Profile
@luckylooke
luckylooke / cellAutoVoronoi.js
Last active October 6, 2017 00:01
Rewriten library cellauto to make it work on diagrams generated by Raymond Hill voronoi library( https://github.com/gorhill/Javascript-Voronoi )
// rewriten from http://sanojian.github.io/cellauto/
function CellAutoVoronoiCell(index) {
this.index = index;
this.delays = [];
}
CellAutoVoronoiCell.prototype.process = function(neighbors) {
return;
};
@luckylooke
luckylooke / ebayGBPtoEUR.js
Created July 25, 2015 10:12
userscript that converts all prices in GBP on site to EUR, you can use greasemonkey or similiar software to run it. I havent tested this recently.
// ==UserScript==
// @name Ebay GBP to EUR
// @namespace http://example.com/
// @match *://*ebay.co.uk/*
// @version 0.1
// @description converts all prices in GBP on site to EUR
// @copyright 2012+, Luckylooke
// ==/UserScript==
GM_log('script "Ebay GBP to EUR" is running');
@luckylooke
luckylooke / gmailFullAdressesInbox.js
Last active August 29, 2015 14:25
userscript for browsers to see full adresses in inbox on gmail.com, you can use greasemonkey or similiar software to run it.
// ==UserScript==
// @name Gmail: show full email addresses
// @namespace http://mail.google.com/
// @match *://*mail.google.com/*
// @exclude https://mail.google.com/*view=btop*
// @exclude https://accounts.google.com/*
// @version 0.3
// @description Gmail: showing full email addresses
// @copyright 2013+, Luckylooke
// ==/UserScript==
@luckylooke
luckylooke / angularMergePolyfill.js
Last active November 27, 2017 07:56
angular.merge polyfill for angular < 1.4.0
if (!angular.merge) {
angular.merge = (function mergePollyfill() {
function setHashKey(obj, h) {
if (h) {
obj.$$hashKey = h;
} else {
delete obj.$$hashKey;
}
}