Skip to main content
tdro

Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.

tdro micro.thedroneely.com view
  • Markdown Plaintext Embed Permalink
  • 54/50 words 18s read

    I was shown this thing called . It’s the sneakiest of tricks for primitively boosting any . It’s supported in the web servers nginx, apache, lighttpd, and others.

    nginx
    server {
      ssi on;
      ssi_last_modified on;
    }
    The ‘ssi_last_modified’ is the magic option for ’nginx’. That preserves the original modification headers if you’re feeling advanced.
    #gists
    tdro

    Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.

    tdro micro.thedroneely.com view
  • Markdown Plaintext Embed Permalink
  • 82/50 words 27s read

    There’s a quick way to test the offline behaviour of programs on Linux.

    shell
    unshare -c -n bash
    Then only loopback is available.
    shell
    $ ip addr
    1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN group default qlen 1000
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

    List network namespaces with lsns.

    shell
    $ lsns -t net
    NS  TYPE NPROCS PID   USER  NETNSID    COMMAND
    999 net  2      111   user  3          systemd
    888 net  1      222   user  unassigned └─bash
    #gists #linux
    tdro

    Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.

    tdro micro.thedroneely.com view
  • Markdown Plaintext Embed Permalink
  • 86/50 words 29s read

    I came across a peculiar site. It’s called https://no-color.org (terminals). Xterm and ansifilter work well for programs that are unable to contextually disable colors.

    shell
    ls -la | ansifilter   # Remove colors from output
    xterm -cm             # Set color mode to false
    export NO_COLOR=true  # For programs that follow
    The more methods the better

    I used to wonder why some preferred no syntax/color highlighting. It turns out that output can/will be hidden ( black on black, white on white) and color contrasts/distinctions are the ultimate talk past.

    #gists
    tdro

    Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.

    tdro micro.thedroneely.com view
  • Markdown Plaintext Embed Permalink
  • 96/50 words 32s read

    The interest in online is high. In the real world you tend to be constrained and blindfolded by the tools available/allowed. Filtering is peculiar though.

    See how the terminal/editor splits? Filtering makes them kiss? Commands that input|output (pipe) work best (compilers, transpilers and code generators). The meta is the limit.

    Everything's just a string? (Obviously, I don't know all of these languages).
    Index: Cache · Source
    #clips #gists

    Authors

    Gallery

    Web Feeds (6)

    Web Links