futpib

Results 27 comments of futpib

My actual use-case is a bit niche, I have configuration delivered asynchronously to the client and my middleware should change the request domain depending on the config. So instead of...

Maybe a macro you can use in a `where` clause? ```elixir query |> where([x], honeydew_is_finished(x, :classify_photos) and x.enabled == true) ``` It could expand into a right fragment.

> Would you be interested in providing a PR? I'll give it a shot

(Sorry for off-topic) Bounties from #1743, #1917, #1558 and #1953 are now dangling and should probably be moved here somehow.

Had to adapt this into a HOC: ```js import React from 'react'; import TrackVisibility from 'react-on-screen'; export default (Component, visibilityProps = {}) => props => ( {({ isVisible }) =>...

A workaround alternative to what README suggests: ```emacs-lisp (add-hook 'rjsx-mode-hook (lambda () (add-hook 'before-save-hook (lambda () (if indent-tabs-mode (tabify (point-min) (point-max)) (untabify (point-min) (point-max)) )) nil t))) ```

This was a good enough workaround for me: ```emacs (evil-set-initial-state 'deadgrep-mode 'emacs) ```

In case anybody is looking for a workaround: ```js const res = await agent .get(url) .set('Accept-Encoding', 'identity') ```

I'm using the following workaround ``` js b.pipeline.get('dedupe').push(through.obj(function (row, enc, next) { if (row.nomap) { row.source = 'module.exports = require(' + JSON.stringify(row.dedupeIndex || row.dedupe) + ')' ; } this.push(row); next();...

Yes, or maybe via `S.type`.