Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 200
  1. 2026-05-13

    TIL: you can use `tail` to `cat` multiple files together with a filename header for each.

  2. 2025-06-12

    TIL: you can implement Vim-like `v:count` mappings in Tmux using `switch-client` From [GitHub](https://github.com/tmux-plugins/tmux-sessionist/pull/21#issuecomment-344241576): > Here's the example to create a t* key binding (I tested and confirmed it's…

  3. 2025-03-12

    [Groups Never Admit Failure](https://nav.al/failure) > Groups never admit failure.

  4. 2025-01-12

    How to run Alacritty using OpenConsole.exe: 1.

  5. 2024-11-04

    * [Setting to prevent matchparen from overriding the cursor highlighting](https://github.com/vim/vim/pull/15984)

  6. 2024-10-20

    TIL: Google Chrome sync does not natively support setting different default fonts for different OSes!

  7. 2024-10-19

    TIL: [Kamal](https://kamal-deploy.org/) "Assets Bridging", or "Old assets -> New container / New assets -> Old container" - When deploying a new version of the app, there will be a small window of time in which both the old and the new version of the app…

  8. 2024-07-24

    * [Unyelding](https://blog.glyph.im/2014/02/unyielding.html) > ## The Problem with Threads > > ### Key Points: > - **Threads** (specifically shared-state multithreading) complicate local reasoning, which is essential for correct software developme…

  9. 2024-06-04

    * quickutil: Add bunch of macros to _undefine_ stuff https://github.com/iamFIREcracker/quickutil/commit/0fb331356c5df6fae414d38b446aeab115699390

  10. 2024-06-03

    * quickutil: LOOPING: generate only required labels https://github.com/iamFIREcracker/quickutil/commit/0f8c7abc18d1f1f85619dbe15ac99648981c0f27 (at one point I should give in and use ITERATE instead)

  11. 2024-04-28

    * quickutil: Poor's man Clojure style threading macro https://github.com/iamFIREcracker/quickutil/commit/8205f8f04da6e218429cd08bc220b3280fe85aa6

  12. 2023-09-25

    [The Musk Algorithm](https://world.hey.com/dhh/the-musk-algorithm-977bf312) > 1.

  13. 2022-12-07

    [You Should Be A Monster | Jordan Peterson Motivation](https://www.youtube.com/watch?

  14. 2022-07-25

    Prevent layout shifts when body becomes scrollable (The above notes were ripped from this nicely written post: [React: Preventing Layout Shifts When Body Becomes Scrollable](https://maxschmitt.me/posts/react-prevent-layout-shift-body-scrollable/)) Use […

  15. 2022-07-13

    Sending keep-alive messages with Nest.js SSE keep-alive messages are usually implemented via _comments_, i.e. lines with a colon as first character ([MDN](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#event_…

  16. 2022-07-12

    Which of the `useEffect` dependencies was the one that triggered the effect?

  17. 2022-06-09

    More handy react-hooks `useEventSource`, a tiny wrapper around `EventSource` (for SSE): - The hook's signature matches exactly `EventSource` one - It returns the most recently received event / error import { useEffect, useState } from 'react';…

  18. 2022-06-08

    Couple of useful react-hooks we have created at work, recently `useIntersectionObserver`, a tiny `IntersectionObserver` wrapper: - `node` is the `HTMLElement` to observe on - `opts` is the init params to pass to `IntersectionObserver` - `observedEntry`…

  19. 2022-04-29

    ?

  20. 2022-04-26

    [11 promises from a manager](https://twitter.com/MrEchs/status/1516024322409832450): > 1.

  21. 2022-04-15

    [How does React Suspense Work?]

  22. 2022-04-13

    TIL: you can pass `--not --remotes` to `git log` to get the list of local commits not present in any of the remotes - This was mentioned on [tpope/vim-fugitive] Large Unpulled section (Issue #1963), as a way to improve the information show while firing…

  23. 2022-04-10

    TIL: [vim-rhubarb](https://github.com/tpope/vim-rhubarb) supports GitHub issues, issue URLs, and collaborator omni-completion TIL: [Curl](http://curl.haxx.se/) supports reading secrets from .netrc --- Git's dotted Range Notations > The ..

  24. 2022-04-09

    TIL: ECMAScript [bind operator proposal](https://github.com/tc39/proposal-bind-operator) - It introduces a new operator `::` which performs `this` binding and method extraction - In its binary form, the `::` operator creates a bound function such that…

  25. 2022-04-07

    WTF: Since when am I using the ancient version of bash bundled within MacOS, and not `brew`s one?

  26. 2022-04-06

    TIL: how to get a customizable entrypoint for a docker image - specify in the ENTRYPOINT, the base command only, e.g.

  27. 2022-04-05

    - is it possible to npm install a project with package-lock.json but without package.json?

  28. 2022-04-04

    TIL: Replit.com just launched a @SearchEngine -- https://blog.replit.com/search - **We believe that you should be able to find anything on Replit in less than 30 seconds.** - First prototype created during what they internally call, the _hack week_ -

  29. 2022-04-03

    ?

  30. 2022-04-02

    TIL: You can stop `brew` from updating itself while `brew install`-ing something, by setting the following env variable: `HOMEBREW_NO_AUTO_UPDATE=1` TIL: In JavaScript, `>>> 0`, is an abuse of the operator to convert any numeric expression to an "integer"…

  31. 2022-04-01

    TIL: Vim landed native Language Server Protocol support!

  32. 2022-03-30

    Interesting presentation from @DavidNolen on @live-programming a react-native application: [ClojureScript in the Age of TypeScript](https://www.youtube.com/watch?

  33. 2022-03-29

    TIL: CSS support the "parent selector", or as the [spec](https://drafts.csswg.org/selectors/#relational) calls it, "the relational pseudo-class" or simply `:has()` This could be used for form styling, e.g. styling labels differently, based on the validity

  34. 2022-03-28

    [Programmable notes](https://maggieappleton.com/programmatic-notes) > Programmable notes are note-taking systems that allow you to write programmatic rules that facilitate particular ways of working with your notes. > > Based on triggers (specific condit…

  35. 2022-03-27

    * @A Add "Welcome" dialog to @whiteboard - Quick overview of the existing functionalities, and on how to use it - "whiteboards are secret but not private" warning - "whiteboards older than 15 days will be nuked" danger

  36. 2022-03-25

    * @C @whiteboard Show the user how big the eraser (and the marker) is going to be - As of now, we are simply rendering an _ellipsis_ following the mouse movements ?

  37. 2022-03-24

    * Integrated [livereload-js](https://github.com/livereload/livereload-js) with @whiteboard - `npm run serve` will use `nodemon` to start the server, excluding changes happening inside public/ - `npm run livereload` will start `livereload` on the publi…

  38. 2022-03-23

    * @A Fixed Out of memory exception while on mobile @whiteboard -- I guess saving a canvas **per shape** is a bit too much, isn't it?!

  39. 2022-03-22

    ?

  40. 2022-03-21

    * Integrated fzf with z, as suggested [on the official wiki](https://github.com/junegunn/fzf/wiki/Examples#z) * Integrated fzf with bash's history search (CTRL-R) (I actually borrowed all the magic from [the official key bindings](https://github.com/juneg…

  41. 2022-03-19

    * Shapes are now relative to the top-left corner of the @whiteboard - Previously they were relative to the client view, and because of that draw commands had to include not just the points, but also the size of the client view - This also also addresses a

  42. 2022-03-18

    * @Whiteboard changed the active cursor based on what the user is doing (i.e. pen, eraser, move) - Interestingly enough I was not able to use `p5.cursor` because it does not support .svg images; well, it actually lets you use them, it's just that if you…

  43. 2022-03-16

    ?

  44. 2022-03-14

    ?

  45. 2022-03-14

    I am dropping here a few links I stumbled upon, recently, around ID schemas.

  46. 2022-03-13

    + @B @2022-03-14 @whiteboard Add recenter button

  47. 2022-03-12

    Getting zoom support for my toy @whiteboard turned out a tiny bit more complicated than I thought it would.

  48. 2022-03-10

    * @B @whiteboard Add panning support * @B @whiteboard Add Export button to export as png ~ @B @2022-04-02 @whiteboard Slow performance due to bigger canvas **and** increasing undo history -- maybe offscreen rendering can help?

  49. 2022-03-09

    * @A @whiteboard @mobile Set up `<meta>` element accordingly, so it does not start completely zoomed out * @A @whiteboard @mobile Added support for touch events ([Mobile Touch Draw](https://openprocessing.org/sketch/1398186)) * @A @whiteboard @mobile `cry…

  50. 2022-03-08

    [Programming, Motherfucker](http://programming-motherfucker.com/), will never get old!