-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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++) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const calculate = (expression) => | |
{ | |
return new Function(`return ${expression}`)(); | |
} | |
calculate('1+2/3*4') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const range = (start, stop, step) => | |
{ | |
const output = []; | |
if(stop === undefined) | |
{ | |
stop = start; | |
start = 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function* xrange(start, stop, step) | |
{ | |
if(stop === undefined) | |
{ | |
stop = start; | |
start = 0; | |
} | |
if(step === undefined) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Privacy Guard | |
// @namespace https://jumpkick.io/ | |
// @version 1.0.0 | |
// @author Miles Hingston | |
// @include * | |
// @grant none | |
// ==/UserScript== | |
(function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Swipe to Refresh | |
// @namespace https://jumpkick.io/ | |
// @version 1.0.0 | |
// @author Miles Hingston | |
// @include * | |
// @noframes | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)}()) |
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:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Use ACRCloud (https://www.acrcloud.com) to identify songs from a digital radio station and email you when the same artist plays 3 times in a row which could be useful for certain radio competitions (e.g. http://www.heart.co.uk/radio/win-with-hearts-30k-triple-play/). This is just a proof on concept. | |
npm init -y | |
npm install --save lodash mailgun-js express body-parser | |
1) Edit the config as below, you'll need a Mailgun API key for sending emails. | |
2) Run this app server behind a reverse proxy like NGINX. | |
3) Setup broadcast monitoring on ACRCloud. |