I hereby claim:
- I am j-f1 on github.
- I am j_f (https://keybase.io/j_f) on keybase.
- I have a public key ASDP4ZOty1cZs_hiUV3tHl-AUC_crezmEtI9y4RQKbf1qgo
To claim this, I am signing this object:
.file-header, | |
.discussion-sidebar, | |
.dashboard-sidebar, | |
.comment-reactions, | |
/* .commit-tease, */ | |
.review-thread-reply, | |
.user-profile-repo-filter, | |
.timeline-comment-header, | |
#wiki-rightbar, | |
.table-list-header, |
I hereby claim:
To claim this, I am signing this object:
A Babel plugin to inline methods on array literals.
Warning: If you have getters on objects in arrays, this could be lossy.
Example:const x = { get a () { someSideEffect(); return 2 } }; [x.a].length; // transforms to
export default function (babel) { | |
const { types: t } = babel; | |
return { | |
visitor: { | |
CallExpression(path) { | |
if (!t.isMemberExpression(path.node.callee) | |
|| path.node.callee.object.name !== 'log') { | |
return | |
} |
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 12, | |
// font family with optional fallbacks |
export default function(context) { | |
const fileSource = context.eslint.sourceCode.text | |
return { | |
ImportDeclaration(node) { | |
const idx = node.parent.body.indexOf(node) | |
const line = node.loc.start.line | |
if (idx > 0) { | |
const prevNode = node.parent.body[idx - 1] | |
if (line - prevNode.loc.end.line < 2) { |
load( | |
'https://charcoal-se.org/userscripts/vendor/debug.min.js', | |
[ | |
'https://cdn.rawgit.com/joewalnes/reconnecting-websocket/fd7c819bb15eeee3452c17e317c0a3664c442965/reconnecting-websocket.min.js', | |
'https://charcoal-se.org/userscripts/autoflagging/autoflagging.user.js' | |
], | |
'https://charcoal-se.org/userscripts/fire/fire.user.js', | |
[ | |
'https://charcoal-se.org/userscripts/vendor/actioncable.min.js', | |
'https://charcoal-se.org/userscripts/sds/sds.user.js' |
/* | |
Copy this into the console of any web page that is interactive and doesn't | |
do hard reloads. You will hear your DOM changes as different pitches of | |
audio. | |
I have found this interesting for debugging, but also fun to hear web pages | |
render like UIs do in movies. | |
*/ | |
const audioCtx = new (window.AudioContext || window.webkitAudioContext)() |