Skip to main content

Today I learned

22 notes

1 min read
There is a cal terminal command
Today I learned that on Mac and Linux there is a terminal command that shows a calendar
    2 min read
    Creating a temporary directory in node
    Somehow this set of APIs slipped under the radar in my 10+ years of writing Node.js code.
      1 min read
      View all available properties of a Typescript React component in VSCode
      When working with a new React library or component, I'm often wondering what properties are available to me. This is especially true when working with Typescript and the types a…
        1 min read
        fzf has a preview mode
        Today I learned that fzf has a preview mode.
          1 min readgithub.com
          Plug BadTVShader into React Three Fiber
          I've been building a scene in R3f and wanted to pull in the awesome Bad TV Shader by Felix Turner and have it affect a video stream on a plane. It took me a while to figure this…
            1 min read
            Qt is pronounced "cute"
            For years I've seen Qt around the place, I've even worked on building set-top box UIs built on top of Qt-Webkit.
              1 min readtwitter.com
              Adding a right click to iPadOS for mouse and trackpad
              If you want to use an iPad for development with github codespaces,
                1 min read
                You can highlight particular lines in MDX codeblocks
                By using the following syntax, you can highlight specific lines of your codeblock.
                  Royal Mail consumes nearly one billion red rubber bands a year
                  A Royal Mail rubber band is a small red elastic loop used by the postal delivery service in the United Kingdom. In the course of its work, the Royal Mail consumes nearly one bil…
                    CNAME/MX/NS targets must end in a dot
                    Today I learned that when setting up DNS records. CNAME, MX, and NS targets must end with a dot . to indicate that it
                      1 min readcodepen.io
                      How to use <dialog> to build a barely-any-JS lightbox gallery
                      <iframe height="800" style={{width: '100%'}} scrolling="no" title="Dialog html component" src="https://codepen.io/madole/embed/eYveQEq?height=800&theme-id=20792&default-tab=html…
                        1 min readgigaom.com
                        The .io TLD is registered to the Chagos Islands in the Indian Ocean but it is controlled by the UK
                        While .tvbrings in millions of dollars each year for the tiny South Pacific island nation of Tuvalu, and .me benefits Montenegro, the people of the British Indian Ocean Territor…
                          China uses a geodetic datum which provides obfuscation by adding 100-700m offsets on points in the WGS-84 projection
                          China uses a geodetic datum which provides obfuscation by adding 100-700m offsets on points. So all the google map features in china are offset randomly from reality. You can se…
                            1 min readgithub.com
                            Mozilla made a WebXR emulator browser extension
                            When building XR applications for the web, having an XR emulator dev tool is a great addition to the development workflow. You can see your application from the perspective of a…
                              1 min readlinux.die.net
                              You can have different ssh keys for different git projects by configuring hosts in the .ssh/config file
                              So you have one project on github and another on bitbucket and you want
                                Frogs don't drink water, they absorb it through their skin
                                Most terrestrial amphibians acquire water by absorption across their skin rather than by oral drinking. During periods of rehydration, frogs and toads adopt a posture termed "wa…
                                  HTML image lazy loading is as simple as `loading="lazy"`
                                  TIL that you can use the loading=lazy attribute to defer the loading of the
                                    The `<ins>` and `<del>` elements
                                    The <del> element represents text that has been removed from a document and
                                      FormData won't pickup disabled form items and checkboxes don't have a readonly state
                                      Consider a form which has a checkbox that the checked state is controlled by
                                        Pythagoras invented a cult called Pythagoreanism
                                        Pythagoreanism was a religious sect/cult/philosophic tradition which