Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 26
  1. TIL a few one-liners for generating random strings. date +%s | sha512sum | base64 | head -c 24 ; echo The string is pseudo random and seeded by the current UNIX timestamp.

  2. TIL The Firefox Address Bar includes shortcuts for all kinds of things.

  3. TIL a JWT (JSON Web Token) is a couple Base64URL encoded strings with a signature.

  4. Proactively Lazy

    Get more done by embracing laziness.

  5. Helpful Vim Ex Mode Commands

    Simple patterns to do useful things with the Ex Mode :global command in Vim Delete all lines that match a pattern (:help pattern) :g/pattern/d :global/pattern/delete Delete all lines that don’t match a pattern (:help :vglobal) :g!

  6. SQL Simple Pivot Pattern

    TIL a simple pattern for pivoting data with an SQL query using FILTER (or a CASE WHEN clause if the FILTER keyword isn’t supported by the database).

  7. TIL you can use environment variables in your docker compose files.

  8. TIL you can save multiple nvim config setups with the $NVIM_APPNAME environment variable.

  9. TIL you can exclude directories when using the find command. ## Exclude the node modules directory when searching with find find ./ -name "*.css" !

  10. Python Http Server

    Python comes with a simple http server you can use to serve a directory of files as a web server.

  11. Python Context Manager

    TIL you can write your own functions to use in a python with statement.

  12. Podman Pods

    TIL the POD in Podman is the same idea as Pods in Kubernetes.

  13. Special tld '.home.arpa'

    TIL about the special-use *.home.arpa tld.

  14. TIL an easy way to remember if you want a slash or not when you run rsync.

  15. Python List Comprehensions

    TIL about Python List Comprehensions.

  16. Hugo Debug Jsonify

    TIL that you can output all the data in “the dot” from a Hugo template using jsonify <pre>{{ . | jsonify (dict "indent" " ") }}</pre> Here is the output of the .Params value for this post <pre>{{ .Params | jsonify (dict "indent" " ") }}</pre> { "date…

  17. cal and ncal

    TIL about ncal (most Linux distros) or CAL (on MacOS).

  18. How to Open Files with Vim

    How exactly do you open a new file without closing and reopening vim?

  19. The default vim status line can work well but vim-airline inhances it in many ways.

  20. Vim Plugin Audit

    Vim is my daily driver for text editing.

  21. Roland FP-30 and Bluetooth

    This may work on other Roland digital piano models but I only tested it on an FP-30 with my Motorola X4.

  22. Vim Has Spell Check!?

    Did you know vim has a build in spell check system?

  23. Vim is a powerful customizable editor.

  24. How to Use the Vim Key

    Vim is a keyboard driven text editor which means there are a lot of keyboard shortcuts and commands.

  25. Refactoring a Rails View

    Have you ever looked back on your code and thought “Who wrote this!

  26. Download your own copy of QGIS from qgis.com (works on Windows, MacOS X, and Linux) Overview of the Interface Welcome to QGIS!