Category: Notes

  • Linux notes

    Convert images to a PDF file: Source: https://stackoverflow.com/a/8955457/526189 Convert images Source: https://askubuntu.com/a/13825/118883 Copy ISO image to USB drive Source: https://superuser.com/a/351815/101527 Convert PDF files to text files Sources: cyberciti, linuxuprising Colored cat Source: https://stackoverflow.com/a/27501509/526189 Bash – get file name and extension Source: https://stackoverflow.com/a/965072/526189

  • Git notes

    Git is such an important tool that it deserves its own notes page. How to specify a private SSH key You’ll need this if you have more than one GitHub (or similar service) accounts. It looks like you can’t use the same SSH key in different accounts? Sources

  • Web development notes

    Tools/services REST vs gRPC Resources HTML CSS JavaScript How-to How to call REST APIs GET calls POST calls Rails Rails status codes The :status Option Ensure required environment variables are set when booting up Rails Create an initializer under config/initializers like so: Source: https://boringrails.com/tips/ensure-rails-env-vars Run rails over SSL locally SSL/TLS: Convert .pem files to .crt…

  • Vim notes

    Start here Neovim + Lua Jumps I’ve been familiar with c-o and c-i for a while, but I have not used them effectively, some things were missing. The following mappings simplify working with relativenumber and <count>j/<count>k: Source: reddit post inoremap and white spaces Just found out that white spaces matter in inoremap mappings, the following…

  • Must read