Skip to content

Instantly share code, notes, and snippets.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens\MSTTS_V110_enUS_EvaM]
@="Microsoft Eva Mobile - English (United States)"
"409"="Microsoft Eva Mobile - English (United States)"
"CLSID"="{179F3D56-1B0B-42B2-A962-59B7EF59FE1B}"
"LangDataPath"=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,53,\
00,70,00,65,00,65,00,63,00,68,00,5f,00,4f,00,6e,00,65,00,43,00,6f,00,72,00,\
65,00,5c,00,45,00,6e,00,67,00,69,00,6e,00,65,00,73,00,5c,00,54,00,54,00,53,\
00,5c,00,65,00,6e,00,2d,00,55,00,53,00,5c,00,4d,00,53,00,54,00,54,00,53,00,\
function whatIsInAName(collection, source) {
// "What's in a name? that which we call a rose
// By any other name would smell as sweet.”
// -- by William Shakespeare, Romeo and Juliet
var sourceKeys = Object.keys(source);
return collection.filter(function(collectionElement){
return sourceKeys.every(function(sourceElem){
return collectionElement.hasOwnProperty(sourceElem) && collectionElement[sourceElem]==source[sourceElem];
});
function diffArray(...arrs){
let newArray=[];
arrs.forEach(function(element){
element.forEach(function(newElement){
newArray.push(newElement);
});
});
let result=newArray.filter(function(element){
return !arrs[0].includes(element);
/*TODO:
Take each array. Compare each element with every element of the other array, push if not equal.
*/
arr1=[1,3,4,7,9];
arr2=[1,2,3,4,5,6,8]
finArray=[];
finArray=[];
function diffArray(...arrs){
var newArray=[...arrs[0],...arrs[1]];
arrs[0].forEach(function(element){
if(newArray.indexOf(element)==-1){
finArray.push(element);
}
});
function arrDiff2(...arrs) {
arrs.forEach((arr)=>console.log(arr));
}
arrDiff2("hi", "bye", "why");
@AIndoria
AIndoria / NextBus_Readme.md
Created November 29, 2017 20:28 — forked from grantland/README.md
NextBus API
effective.
Power
لُلُصّبُلُلصّبُررً ॣ ॣh ॣ ॣ
import sys
import colorsys
from colorz import colorz
WALLPAPER = '/home/james/.wallpaper'
COLORS = '/home/james/.colors'
XRESOURCES = '/home/james/.Xresources'
cols = ''
xres = """