- What it is
- Why do we need it
- How do we use it
- How it works
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
{"lastUpload":"2017-07-02T02:01:08.109Z","extensionVersion":"v2.8.1"} |
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 deasync = require('deasync') | |
const runLoaders = deasync(require('loader-runner').runLoaders) | |
const { module: { rules } } = config = require('./webpack.base') | |
const fs = require('fs') | |
const resolveLoader = req => { | |
let loader = req | |
req = ~req.indexOf`?` | |
if (req) { | |
const index = ~req |
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
{"lastUpload":"2017-10-30T13:54:53.487Z","extensionVersion":"v2.8.3"} |
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 delegateTo(prop: string) { | |
const { __proto__ } = this | |
Object.setPrototypeOf(this, | |
new Proxy({}, { | |
get: (target, name) => { | |
target = this[prop] | |
if (name === prop) return target | |
if (name in __proto__) return __proto__[name] | |
return target ? target[name] : 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
/* | |
## NexusFolder.ahk | |
## | |
## Switch default filemanager by launching this script without | |
## commandline parameters. If you send a file or folder as a |
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
#!/usr/bin/env bash {} /* | |
cd ~/.mozilla/firefox || cd ~/Library/Application\ Support/Firefox* | |
source <(grep Default= profiles.ini) | |
mkdir $Default/chrome | |
tee $Default/chrome/userChrome.css <<EOF | |
/*#region Firefox */ | |
#browser, |
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
{ | |
"BTTPresetName" : "Default", | |
"BTTGeneralSettings" : { | |
"disableScrollingIf3" : true, | |
"BTTPasteWhenTriggeringClipboardAgain" : true, | |
"BTTForceNormalClickPressure5F" : 200, | |
"disableScrollingIf2" : true, | |
"BTTDidRegisterForUpdateStats" : "3.140", | |
"BTTShowControlStrip" : true, | |
"BTTShowControlStripItem" : true, |
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
/** | |
* @template [T=any] | |
* @property {{ (_: T): Promise<void>} & { pending?: Promise<T> }} put | |
*/ | |
class CacheIOError extends Error { | |
constructor(cause, context) { | |
Object.assign(this, context, { cause }) | |
} | |
} |
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
import os | |
import collections | |
import pickle | |
import json | |
import urllib.parse | |
import re | |
from functools import wraps | |
from typing import Callable, Any | |
from dataclasses import dataclass, fields |
OlderNewer