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
// Add global variable to the window to allow goggles to work on | |
// website that have requirejs integrated in | |
window.__LOCALIZED_IGNORE_REQUIREJS = true; | |
(function(global, ignoreRequireJS, factory) { | |
// AMD. Register as an anonymous module. Also deal with the case | |
// that we've been told to force localized on the global (e.g., | |
// in cases where require.js might exist in a page and we want to | |
// ignore it and use the global instead). | |
if (typeof define === 'function' && | |
define.amd && |
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
/* This script was auto generated on previewing the "Pretty Print"-ed response body of `json_formatter.min.js` file using the Chrome DevTools's Network tab whereas `json_formatter.min.js` file itself was created manually */ | |
window['pre']; | |
const version = "4.2.3"; | |
const isExpanded = true; | |
window['recurse'] = (obj,keyname='',isLast=false)=>{ | |
const expanded = isExpanded ? 'expanded' : '' | |
, c = isLast ? '' : ','; | |
let type = typeof obj | |
, dom = document.createDocumentFragment() | |
, inner = document.createDocumentFragment() |
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
name: Create release | |
on: | |
release: | |
types: | |
- created | |
jobs: | |
build: | |
runs-on: ubuntu-latest |
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
<html> | |
<head> | |
<style> | |
* { | |
padding: 0; | |
margin: 0; | |
box-sizing: border-box; | |
} | |
body { |
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
echo("| 2021-05-26 | Starsign68 |") | |
let mapleader = " " | |
let localleader = '' | |
let g:netrw_banner = 0 | |
let g:netrw_liststyle = 0 | |
set termencoding=utf-8 | |
let g:doSmartTab='N' " {{{{STATUSLIME_START} | |
let g:currentmode = { 'n': 'NORMAL', 'no': 'N·OP·PEND', 'v': 'VISUAL', 'V': 'V·LINE', '': 'V·BLOCK', 's': 'SELECT', 'S': 'S·LINE', '': 'S·BLOCK', 'i': 'INSERT', 'R': 'REPLACE', 'Rv': 'V·REPLACE', 'c': 'COMMAND', 'cv': 'VIM EX', 'ce': 'EX', 'r': 'PROMPT', 'rm': 'MORE', 'r?': 'CONFIRM', '!': 'SHELL', 't': 'TERMINAL'} | |
let g:modegroups = { 'n': 'NORMAL', 'no': 'NORMAL', 'v': 'VISUAL', 'V': 'VISUAL', '': 'VISUAL', 's': 'OTHER', 'S': 'OTHER', '': 'OTHER', 'i': 'INSERT', 'R': 'INSERT', 'Rv': 'INSERT', 'c': 'OTHER', 'cv': 'OTHER', 'ce': 'OTHER', 'r': 'OTHER', 'rm': 'OTHER', 'r?': 'OTHER', '!': 'OTHER', 't': 'OTHER'} | |
function! Modetheme(group) |
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
" +=========================+ | |
" | 2021-05-26 | Starsign68 | | |
" +=========================+ | |
let mapleader = " " | |
let localleader = '' | |
let g:netrw_banner = 0 | |
let g:netrw_liststyle = 0 | |
set termencoding=utf-8 | |
let g:doSmartTab='N' | |
" {{{{STATUSLIME} |
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 attribute = "data-sender-name"; | |
// HACK | |
var getChatTextDoms = () => | |
Array.prototype.slice | |
.call(document.querySelectorAll("*")) | |
.filter((el) => typeof el.attributes[attribute] !== "undefined"); | |
var texts = getChatTextDoms(); |
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
// Least Recently Used | |
class LRUMap extends Map { | |
constructor(length) { | |
super().length = length; | |
} | |
_(key) { | |
const value = super.get(key); | |
super.delete(key); | |
super.set(key, value); | |
return value; |
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 proxies = new WeakMap; | |
const hyphen = name => name.replace(/([a-z])([A-Z])/g, '$1-$2'); | |
const handler = { | |
get: (el, name) => el.getAttribute(hyphen(name)), | |
set: (el, name, value) => { | |
el.setAttribute(hyphen(name), value); | |
return true; | |
} | |
}; | |
const set = el => { |
NewerOlder