Skip to content

Instantly share code, notes, and snippets.

View trickeyone's full-sized avatar

Josh England trickeyone

View GitHub Profile
@trickeyone
trickeyone / flot-time-tick-generator.js
Created August 12, 2021 19:07
Fix for Flot time tick generation
const $ = require('jquery');
const floorInBase = $.plot.saturated.floorInBase;
const CreateMicroSecondDate = function(dateType, microEpoch) {
const newDate = new dateType(microEpoch);
const oldSetTime = dateType.prototype.setTime.bind(newDate);
const newMethods = {
update: function(microtime) {
oldSetTime(microtime);
@trickeyone
trickeyone / emojis.md
Last active April 14, 2020 23:08
Just some emojis

:ohyeah

(\____/)
(͡°͡ ͜ʖ͡°͡)
\╭☞\╭☞

:tablethrown

ノ┬─┬ノ ︵ (\o°o)\
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node@6/6.11.4_1/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'i' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session d259c0f0db965747
5 silly install runPreinstallTopLevelLifecycles
6 silly preinstall [email protected]
7 info lifecycle [email protected]~preinstall: [email protected]