Author: Jorge Saldivar

  • Enhancing Your macOS Terminal Workflow: Creating an Alias for ‘ll’ to ‘ls -als’

    To list files and directories with detailed information using the ll command in the macOS terminal, you can create an alias for ls -als. Here’s how you can do it:

    1. Open your terminal.

    2. Run the following command to open your shell profile configuration file in a text editor. This file is usually .bashrc or .bash_profile.

    nano ~/.bashrc
    
    1. Add the following line to create an alias for ll to execute ls -als.
    alias ll='ls -als'
    
    1. Save and exit the text editor by pressing Ctrl + O to write the changes and then Enter, followed by Ctrl + X to exit.

    2. Source your profile to apply the changes without having to restart the terminal.

    source ~/.bashrc
    

    Now you can use the ll command to list files and directories with detailed information, just like you would with ls -als. The alias will make your terminal experience more efficient and convenient.

    Possible Issue: If the source has to be updated after each new terminal window.

    Run echo $SHELL to check if bash or zsh.

    If you’re using the zsh shell, the steps to create an alias for ll will be slightly different than for the bash shell. Here’s what you should do:

    1. Open Configuration File: Open your zsh configuration file, which is usually ~/.zshrc, in a text editor. You can do this using the following command:

      nano ~/.zshrc
      
    2. Add Alias: Add the alias for ll by including the following line in your ~/.zshrc file:

      alias ll='ls -als'
      
    3. Save and Exit: Save the changes and exit the text editor (Nano) by pressing Ctrl + O to write changes, then Enter, and Ctrl + X to exit.

    4. Apply Changes: To apply the changes to your current terminal session, run:

      source ~/.zshrc
      

    Now, whenever you open a new terminal session, the ll command should automatically be aliased to ls -als without needing to run source ~/.zshrc each time.

    Title and body written by ChatGPT.

    Enhancing Your macOS Terminal Workflow: Creating an Alias for ‘ll’ to ‘ls -als’
  • Simplifying My Life

    I have uninstalled saldivar.co‘s WordPress instance and have 301 redirected to jorge.saldivar.co‘s domain. At first, the purpose of the two sites was to separate concerns, web design business and personal use. However, that’s no longer necessary since I’ve been employed full-time.

    Simplifying My Life
  • Introducing new GitHub Copilot features in VS Code!

    Introducing new GitHub Copilot features in VS Code!
  • Getting a little fed up: I cannot easily share on WP

    With the “death of Twitter,” and social media in general, I’d like to take back my content. It’s just not currently easy to share content to my blog.

    Getting a little fed up: I cannot easily share on WP
  • Microblogging on WordPress

    I’m posting this from my iPhone, using the Chrome app.

    Microblogging on WordPress
  • x.com resolves to twitter.com

    Well, this is interesting. Elon Musk updated his Twitter profile to include the domain x.com. Upon visiting the link, the site resolves to twitter.com. A quick whois check didn’t reveal much except that the domain was registered via GoDaddy and it’s not up for renewal until sometime in 2026.

    Domain Name: x.com
    Registry Domain ID: 1026563_DOMAIN_COM-VRSN
    Registrar WHOIS Server: whois.godaddy.com
    Registrar URL: https://www.godaddy.com
    Updated Date: 2017-07-05T16:02:43Z
    Creation Date: 1993-04-02T00:00:00Z
    Registrar Registration Expiration Date: 2026-10-20T14:56:17Z
    Registrar: GoDaddy.com, LLC

    Reacts:

    x.com resolves to twitter.com
  • Upon Writing a Space Opera, Jetpack AI Up and Quit

    I suppose, all good things must come to an end. Additionally, I know–first hand–the cost of using Open AI’s ChatGPT, which is what powers AI Assistant.

    Upon Writing a Space Opera, Jetpack AI Up and Quit
  • PDF to HTML

    WSL, Ubuntu 20.05, command line, for “PDF to HTML.” Step by step.

    Here are the short instructions to convert a PDF to HTML using WSL with Ubuntu 20.04:

    1. Install WSL with Ubuntu 20.04.
    2. Launch the Ubuntu terminal.
    3. Update Ubuntu: sudo apt update && sudo apt upgrade -y.
    4. Install Poppler: sudo apt install -y poppler-utils.
    5. Convert PDF to HTML using:
      pdftohtml -s <input_file>.pdf <output_file>.html
    6. Access the converted HTML file in the same directory.

    That’s it!

    PDF to HTML
  • My first time using Jetpack’s AI Assistant

    Are you ready to step into the future of content creation? Well, I certainly was when I tried out Jetpack’s AI Assistant for the first time. As a regular blogger, I’m always looking for ways to streamline my writing process and deliver engaging content to my readers. And let me tell you, Jetpack’s AI Assistant did not disappoint!

    From the moment I opened the editor, I was greeted by the friendly and intuitive interface. The AI Assistant seamlessly integrated into my WordPress dashboard, making it incredibly convenient to access its features. With just a few clicks, I was ready to embark on my AI-powered writing journey.

    As I started typing, the AI Assistant impressed me with its ability to generate helpful suggestions in real-time. From catchy blog titles to compelling introductions, it seemed like the AI had an endless supply of creative ideas. It quickly became my trusty companion, offering invaluable guidance while blending seamlessly with my own writing style.

    But Jetpack’s AI Assistant is not only about generating ideas – it’s also great at enhancing existing content. With its powerful language model, it effortlessly helped me refine my sentences, improve the flow of my paragraphs, and ensure my grammar was spot on. Within minutes, my once ordinary piece of content was transformed into a polished and professional blog post.

    What truly sets Jetpack’s AI Assistant apart is its adaptability. It learns from user feedback, constantly refining its suggestions to better cater to individual writing preferences. It understands my tone, my voice, and ultimately helps me express myself authentically. It truly feels like having a virtual writing partner by my side.

    All in all, my first experience using Jetpack’s AI Assistant was nothing short of amazing. It has revolutionized the way I approach content creation, saving me valuable time while elevating the quality of my writing. Whether you’re a seasoned blogger or just starting out, I highly recommend giving Jetpack’s AI Assistant a try. Trust me, you won’t be disappointed!

    So, what are you waiting for? Take the leap into the future of content creation and unlock your writing potential with Jetpack’s AI Assistant. Happy writing!

    Note: This blog post is written with the assistance of Jetpack’s AI Assistant.

    My first time using Jetpack’s AI Assistant