π―
This file contains hidden or 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
// Desc: JavaScript PromiseAll ES5 polyfill | Manage async await requests | |
// Usage: oPromiseAll.init({ tokens: ["totals","details"], fCB: function(){ oEvoCart.refresh(["items"]); } }); | |
var oPromiseAll = (function(){ // Manage async await requests | |
var oConfig={}, bInit=false, nCnt=0; | |
return { | |
"init": function( _config ){ | |
oConfig = _config; | |
bInit = true; | |
nCnt=0; | |
}, |
This file contains hidden or 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
// Automotive Dealership stock photo gallery components (Adobe ActionScript 3.0) | |
import com.mosesSupposes.fuse.*; | |
import flash.external.*; | |
ZigoEngine.simpleSetup(Shortcuts, PennerEasing); | |
ZigoEngine.EASING = 'easeOutExpo'; | |
ZigoEngine.DURATION = 5; | |
ZigoEngine.OUTPUT_LEVEL = 9; |
This file contains hidden or 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() { | |
if (window) { | |
delete window.WebSocket; | |
if ('WebSocket' in window) { | |
window.WebSocket = undefined; | |
} | |
console.log('WebSocket support disabled'); | |
} | |
})(); |
This file contains hidden or 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
<template> | |
<v-fragment> | |
<ul v-if="items.length > 0"> | |
<li v-for="(item, index) in items" :key="index">{{ item.title }}</li> | |
</ul> | |
<button v-on:click="fetchMore">Fetch More</button> | |
</v-fragment> | |
</template> | |
<script> |
This file contains hidden or 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
-- ββββββββ βββββββ βββ | |
-- ββββββββββββββββββββ | |
-- βββββββββββ ββββββ | |
-- βββββββββββββ ββββββ | |
-- βββββββββββββββββββββββββ Relational β‘ Transactional | |
-- ββββββββ βββββββ ββββββββ | |
CREATE OR REPLACE PACKAGE BODY ADD_ORS.ADD_UE AS | |
-- |
This file contains hidden or 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
// Remove ALL tabIndex on the entire page - Thats a fun thing to do. ES5 | |
// From the entire document remove tabIndex if its value is greater than 0 | |
[].slice.call( document.querySelectorAll("[tabIndex]") ).filter(function(el){ // Neodigm 2020 | |
console.log("-- | " + el.tabIndex ); | |
if( el.tabIndex >= 1 ){ | |
el.tabIndex = ""; | |
} | |
}); | |
// From the entire document add a tabIndex="0" attrib if an A has no href | |
[].slice.call( document.querySelectorAll("A") ).filter(function(el){ |
This file contains hidden or 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 strict"; | |
/* | |
Created an airport geo-proximity microservice that could answer the questions, like; βWhat are the three closest airports to me right now?β. | |
*/ | |
var system_output = { | |
"airports": { | |
"ASE": { | |
"additionalInfo": null, | |
"cityName": "ASPEN", | |
"code": "ASE", |
This file contains hidden or 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
let spotADify = ( (_d, _q, _t) => { | |
let eS = _d.querySelector( _q ), bS = true; | |
if( eS ){ // ποΈ Play your Jams! πΆ | |
bS = ( eS.getAttribute("aria-label") == "Mute" ); | |
setInterval( () => {spotADify.tick();}, _t); | |
return { | |
"tick": () => { | |
if((_d.title.indexOf("Adve") != -1) || (_d.title.indexOf("Spoti") != -1)){ | |
if( bS ){ eS.click(); bS=!true; } | |
}else{ |
This file contains hidden or 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
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) { /*ms*/ } |
This file contains hidden or 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
Set-ExecutionPolicy Unrestricted | |
## Turn off proxy server in Windows | |
$reg = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" | |
Set-ItemProperty -Path $reg -Name ProxyEnable -Value 0 |