Ctrl+H
, Alt+R
, replace following pattern with a single space:
(?<!\s)([^\S\r\n]{2,})
// Download images | |
// from webpage | |
// - works with infinite scrolls, etc. | |
// - choose between `fetch` and `canvas` | |
// - to disable CORS: | |
// - Firefox: `CORS Unblock` https://addons.mozilla.org/en-US/firefox/addon/cors-unblock/ | |
let images = "img"; | |
// Ex. Filter images that have `x-large` in them: | |
// images = "img[src*=xlarge]"; |
document.addEventListener("keydown", (e) => { | |
const code = Number.parseInt(e.keyCode, 10); | |
// console.log(`keyCode: ${code}`); | |
if (code === 192) { | |
e.preventDefault(); | |
e.stopPropagation(); | |
// console.log(`stopped ~`); | |
return false; | |
} | |
}); |
# todo: sed this where `alias keepy=` or append to end of ~/.bashrc | |
cp keepy.sh ~/ | |
chmod +x ~/.keepy.sh | |
# append to end of ~/.bashrc: | |
alias keepy="~/.keepy.sh ${@}" |
Ctrl+H
, Alt+R
, replace following pattern with a single space:
(?<!\s)([^\S\r\n]{2,})
powershell -command "&{$p='HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3';$v=(Get-ItemProperty -Path $p).Settings;$v[8]=3;&Set-ItemProperty -Path $p -Name Settings -Value $v;&Stop-Process -f -ProcessName explorer}" |
XCOPY D:\Software\SVP\mpv64\mpv-1.dll D:\Software\Plex\mpv-2.dll /Y |
/* Polyfill service v3.108.0 | |
* For detailed credits and licence information see https://github.com/financial-times/polyfill-service. | |
* | |
* Features requested: default | |
* | |
* - _DOMTokenList, License: ISC (required by "DOMTokenList", "default") | |
* - _ESAbstract.ArrayCreate, License: CC0 (required by "Array.of", "default") | |
* - _ESAbstract.Call, License: CC0 (required by "Object.assign", "Object.getOwnPropertyDescriptor", "_ESAbstract.ToPropertyKey", "_ESAbstract.ToPrimitive", "_ESAbstract.OrdinaryToPrimitive", "default") | |
* - _ESAbstract.CreateDataProperty, License: CC0 (required by "Array.from", "Set", "_ESAbstract.CreateIterResultObject", "default") | |
* - _ESAbstract.CreateDataPropertyOrThrow, License: CC0 (required by "Array.of", "default") |
APP_ENV=development |
CREATE OR ALTER FUNCTION dbo.LARGE_HASHBYTES ( | |
@alg VARCHAR(10), | |
@St_val VARBINARY(MAX) | |
) | |
RETURNS VARBINARY(200) | |
AS | |
BEGIN | |
DECLARE @Int_Len AS INTEGER | |
SET @Int_Len = len(@St_val) | |
DECLARE @varBina_Val AS VARBINARY(MAX) |
Element.prototype._addEventListener = Element.prototype.addEventListener;
Element.prototype.addEventListener = function(a,b,c) {
if(c==undefined)
c=false;
this._addEventListener(a,b,c);
if(!this.eventListenerList)
this.eventListenerList = {};
if(!this.eventListenerList[a])