I hereby claim:
- I am mhingston on github.
- I am mhingston (https://keybase.io/mhingston) on keybase.
- I have a public key ASA8MoLjFXfmwfLyDZKnNYHEY1Kl1ZTfI1cR0YAg1aZapwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
javascript:(function(){var _={};_.title=top.document.title,_.link=top.location.href,_.height=300,_.width=300,_.left=(screen.width/2)-(_.width/2),_.top=(screen.height/2)-(_.height/2);window.open('https://mastodon.social/share?text='+_.title+' '+_.link,'_blank','height='+_.height+',width='+_.width+',left='+_.left+',top='+_.top)}()) |
// ==UserScript== | |
// @name Swipe to Refresh | |
// @namespace https://jumpkick.io/ | |
// @version 1.0.0 | |
// @author Miles Hingston | |
// @include * | |
// @noframes | |
// @grant none | |
// ==/UserScript== |
// ==UserScript== | |
// @name Privacy Guard | |
// @namespace https://jumpkick.io/ | |
// @version 1.0.0 | |
// @author Miles Hingston | |
// @include * | |
// @grant none | |
// ==/UserScript== | |
(function() { |
function* xrange(start, stop, step) | |
{ | |
if(stop === undefined) | |
{ | |
stop = start; | |
start = 0; | |
} | |
if(step === undefined) | |
{ |
const range = (start, stop, step) => | |
{ | |
const output = []; | |
if(stop === undefined) | |
{ | |
stop = start; | |
start = 0; | |
} |
const calculate = (expression) => | |
{ | |
return new Function(`return ${expression}`)(); | |
} | |
calculate('1+2/3*4') |
var XOR = | |
{ | |
encrypt: function(input, key) | |
{ | |
input = typeof input === 'object' ? JSON.stringify(input) : input.toString(); | |
key = typeof key === 'object' ? JSON.stringify(key) : key.toString(); | |
var cipherText = ''; | |
var length = input.length; | |
for(var i=0; i < length; i++) |
Download Windows 10 Media Creation Tool.
Run the tool (Right-click > Run as administrator).
Click Accept.
Click "Create Installation Media for another PC" then Next.
Leave box checked for "Use the recommended options for this PC" then Next.
const mergeObjects = (target, source) => | |
{ | |
const isObject = item => item && typeof item === "object" && !Array.isArray(item) && item !== null | |
if(isObject(target) && isObject(source)) | |
{ | |
for(let key in source) | |
{ | |
if(source.hasOwnProperty(key) && isObject(source[key])) | |
{ |