Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
psacawa
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
psacawa
5y ago
Anything proximate to human communication. That people in the West communicate largely over platforms controlled by entities with economic interests has been highly destructive. Beyond mere vitriol and "misinformation", there'
32.
▲
by
psacawa
5y ago
I use this technique of DOM filtering with uBlock to defeat "engagement" features and improve site experience a lot. My problem comes with pages where the HTML element classes are not semantic, but compiled by a tool like tailwind
33.
▲
by
psacawa
5y ago
With fzf-tab [1], you can use fzf wherever your zsh completion is. Here is a screencast showing it[2]. [1] https://github.com/Aloxaf/fzf-tab [2] https://asciinema.org/a/KhDMhtZ3J8ppO7B8L6jFSE1co
34.
▲
by
psacawa
5y ago
A vim user might be interested in using vimspector [1], which implements a debugger adapter protocol (DAP) client for (neo)?vim. It's actively developed. Leveraging DAP lets you have a uniform interface for debugging in multiple langua
35.
▲
by
psacawa
5y ago
I think the term you're looking for is "gish gallop" [1] [1] https://en.wikipedia.org/wiki/Gish_gallop
36.
▲
by
psacawa
5y ago
This exists. At least, a detailed manual exists. It's the jq wiki on github [1]. Lots of detailed information/recipes. [1]: https://github.com/stedolan/jq/wiki
37.
▲
by
psacawa
5y ago
I've written about this before, but for tmux users, I have interactive querying the form of ten-line shell script [1]. See it live [2]. It can easily be modfied to interactively query yaml, html with xpath or css, or text with awk or w
38.
▲
by
psacawa
5y ago
zsh has so-called expansion modifiers that do this. For example string="Paris, France, Europe" arr=(${(s:, :)string}) for x in $arr; do echo "<$x>"; done <Paris> <France> <Europe>
39.
▲
by
psacawa
5y ago
I wrote a 10-line script to interactively query JSON documents using jq from vim in a tmux pane. Like jid[1], but better. Here it is: jq-repl () { local query_file json_file new_pane_height nodemon_cmd change_aucmd jq_args query_f