<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator><link href="http://0.0.0.0:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://0.0.0.0:4000/" rel="alternate" type="text/html" /><updated>2026-02-21T15:19:50+00:00</updated><id>http://0.0.0.0:4000/feed.xml</id><title type="html">uly.me</title><subtitle></subtitle><author><name>ulysses</name></author><entry><title type="html">baggage limits</title><link href="http://0.0.0.0:4000/2026/02/21/baggage-limits.html" rel="alternate" type="text/html" title="baggage limits" /><published>2026-02-21T00:00:00+00:00</published><updated>2026-02-21T00:00:00+00:00</updated><id>http://0.0.0.0:4000/2026/02/21/baggage-limits</id><content type="html" xml:base="http://0.0.0.0:4000/2026/02/21/baggage-limits.html"><![CDATA[<p>Here are the baggage limits for international travel for the following airlines.</p>

<table>
  <thead>
    <tr>
      <th>Baggage Limits</th>
      <th> </th>
      <th> </th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Delta Airlines</td>
      <td> </td>
      <td> </td>
    </tr>
    <tr>
      <td>Baggage</td>
      <td>–</td>
      <td>50 lbs</td>
    </tr>
    <tr>
      <td>Carry On</td>
      <td>–</td>
      <td>–</td>
    </tr>
    <tr>
      <td>Korean Airlines</td>
      <td> </td>
      <td> </td>
    </tr>
    <tr>
      <td>Baggage</td>
      <td>20kg</td>
      <td>44 lbs</td>
    </tr>
    <tr>
      <td>Carry On</td>
      <td>10kg</td>
      <td>22 lbs</td>
    </tr>
    <tr>
      <td>Philippine Airlines (domestic)</td>
      <td> </td>
      <td> </td>
    </tr>
    <tr>
      <td>Baggage</td>
      <td>20kg</td>
      <td>44 lbs</td>
    </tr>
    <tr>
      <td>Carry On</td>
      <td>7kg</td>
      <td>15 lbs</td>
    </tr>
  </tbody>
</table>]]></content><author><name>ulysses</name></author><summary type="html"><![CDATA[Here are the baggage limits for international travel for the following airlines.]]></summary></entry><entry><title type="html">keyboard freeze</title><link href="http://0.0.0.0:4000/2026/02/07/keyboard-freeze.html" rel="alternate" type="text/html" title="keyboard freeze" /><published>2026-02-07T00:00:00+00:00</published><updated>2026-02-07T00:00:00+00:00</updated><id>http://0.0.0.0:4000/2026/02/07/keyboard-freeze</id><content type="html" xml:base="http://0.0.0.0:4000/2026/02/07/keyboard-freeze.html"><![CDATA[<p>Another potential fix to my keyboard freezing problem on Linux Mint 22.1 after going to sleep.</p>

<p>Edit Grub.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo vi /etc/default/grub
</code></pre></div></div>

<p>Add i8042.dubkdbd=1 to the GRUB_CMDLINE_LINUX_DEFAULT.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>GRUB_CMDLINE_LINUX_DEFAULT="usbcore.autosuspend=-1 quiet splash i8042.dumbkbd=1"
</code></pre></div></div>

<p>Update Grub and reboot.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo update-grub
reboot
</code></pre></div></div>

<p>Hopefully that fixes it.</p>]]></content><author><name>ulysses</name></author><summary type="html"><![CDATA[Another potential fix to my keyboard freezing problem on Linux Mint 22.1 after going to sleep.]]></summary></entry><entry><title type="html">usb commands</title><link href="http://0.0.0.0:4000/2026/01/29/usb-commands.html" rel="alternate" type="text/html" title="usb commands" /><published>2026-01-29T00:00:00+00:00</published><updated>2026-01-29T00:00:00+00:00</updated><id>http://0.0.0.0:4000/2026/01/29/usb-commands</id><content type="html" xml:base="http://0.0.0.0:4000/2026/01/29/usb-commands.html"><![CDATA[<p>Here’s a couple of USB command line tools if you having issues with your USB peripherals.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>lsusb
xinput
</code></pre></div></div>

<p>I have issues with my keyboard and this helps.</p>]]></content><author><name>ulysses</name></author><summary type="html"><![CDATA[Here’s a couple of USB command line tools if you having issues with your USB peripherals.]]></summary></entry><entry><title type="html">disable usb autosuspend</title><link href="http://0.0.0.0:4000/2026/01/27/disable-usb-autosuspend.html" rel="alternate" type="text/html" title="disable usb autosuspend" /><published>2026-01-27T00:00:00+00:00</published><updated>2026-01-27T00:00:00+00:00</updated><id>http://0.0.0.0:4000/2026/01/27/disable-usb-autosuspend</id><content type="html" xml:base="http://0.0.0.0:4000/2026/01/27/disable-usb-autosuspend.html"><![CDATA[<p>I use a single keyboard between 2 computer systems (MacOS and Linux). I disconnect my USB keyboard on one system and plug it to another whenever I switch computers. When my keyboard is disconnected from Linux for a very long time, the system no longer recognizes the keyboard when I plugged it back in unless I reboot the system. After a little bit of a research, I found a potential solution to the issue. Essentially the fix is to disable the USB autosuspend option which will need to be added to grub.</p>

<p>Here are the steps:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="/&amp;usbcore.autosuspend=-1 /' /etc/default/grub
sudo update-grub
sudo systemctl reboot
</code></pre></div></div>

<p>Hopefully it fixes the issue.</p>]]></content><author><name>ulysses</name></author><summary type="html"><![CDATA[I use a single keyboard between 2 computer systems (MacOS and Linux). I disconnect my USB keyboard on one system and plug it to another whenever I switch computers. When my keyboard is disconnected from Linux for a very long time, the system no longer recognizes the keyboard when I plugged it back in unless I reboot the system. After a little bit of a research, I found a potential solution to the issue. Essentially the fix is to disable the USB autosuspend option which will need to be added to grub.]]></summary></entry><entry><title type="html">tmux controls</title><link href="http://0.0.0.0:4000/2026/01/25/tmux-controls.html" rel="alternate" type="text/html" title="tmux controls" /><published>2026-01-25T00:00:00+00:00</published><updated>2026-01-25T00:00:00+00:00</updated><id>http://0.0.0.0:4000/2026/01/25/tmux-controls</id><content type="html" xml:base="http://0.0.0.0:4000/2026/01/25/tmux-controls.html"><![CDATA[<p>tmux controls</p>

<table>
  <tbody>
    <tr>
      <td>leader key</td>
      <td>`</td>
    </tr>
    <tr>
      <td>switching windows</td>
      <td> </td>
    </tr>
    <tr>
      <td>move to left window</td>
      <td>shift + left arrow</td>
    </tr>
    <tr>
      <td>move to right window</td>
      <td>shift + right arrow</td>
    </tr>
    <tr>
      <td>swapping windows</td>
      <td> </td>
    </tr>
    <tr>
      <td>swap windows to left</td>
      <td>ctrl + shift + left</td>
    </tr>
    <tr>
      <td>swap window to right</td>
      <td>ctrl + shift + right</td>
    </tr>
    <tr>
      <td>switching panes</td>
      <td> </td>
    </tr>
    <tr>
      <td>move to next pane</td>
      <td>leader o</td>
    </tr>
    <tr>
      <td>move between panes</td>
      <td>leader left, leader right, leader up or leader down</td>
    </tr>
    <tr>
      <td>delete pane</td>
      <td>leader x</td>
    </tr>
    <tr>
      <td>sync &amp; unsync panes</td>
      <td> </td>
    </tr>
    <tr>
      <td>sync &amp; unsync panes</td>
      <td>leader y</td>
    </tr>
    <tr>
      <td>convert pane into window</td>
      <td>leader !</td>
    </tr>
    <tr>
      <td>reload configuration</td>
      <td> </td>
    </tr>
    <tr>
      <td>reload tmux config</td>
      <td>leader r</td>
    </tr>
  </tbody>
</table>]]></content><author><name>ulysses</name></author><summary type="html"><![CDATA[tmux controls]]></summary></entry><entry><title type="html">terminal configuration</title><link href="http://0.0.0.0:4000/2026/01/19/terminal-configuration.html" rel="alternate" type="text/html" title="terminal configuration" /><published>2026-01-19T00:00:00+00:00</published><updated>2026-01-19T00:00:00+00:00</updated><id>http://0.0.0.0:4000/2026/01/19/terminal-configuration</id><content type="html" xml:base="http://0.0.0.0:4000/2026/01/19/terminal-configuration.html"><![CDATA[<p>The last year or so, I have been using different tools on my terminal.</p>

<p>It started with the oh-my-posh prompt, then I switched to using tmux.</p>

<p>Now I’m messing around with lazyVim editor which is a tweak of neovim.</p>

<p>So, here’s my configuration so far.</p>

<table>
  <thead>
    <tr>
      <th style="text-align: left">Tool</th>
      <th style="text-align: left">Program</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td style="text-align: left">Terminal</td>
      <td style="text-align: left">Tmux</td>
    </tr>
    <tr>
      <td style="text-align: left">Prompt</td>
      <td style="text-align: left">Oh My Posh</td>
    </tr>
    <tr>
      <td style="text-align: left">Editor</td>
      <td style="text-align: left">Neovim (LazyVim)</td>
    </tr>
  </tbody>
</table>

<p>I still use VSCode, but it’s less and less.</p>

<p>LazyVim still has many plugins to explore.</p>

<p>Stay tuned.</p>]]></content><author><name>ulysses</name></author><summary type="html"><![CDATA[The last year or so, I have been using different tools on my terminal.]]></summary></entry><entry><title type="html">comment multiple lines</title><link href="http://0.0.0.0:4000/2026/01/18/comment-multiple-lines.html" rel="alternate" type="text/html" title="comment multiple lines" /><published>2026-01-18T00:00:00+00:00</published><updated>2026-01-18T00:00:00+00:00</updated><id>http://0.0.0.0:4000/2026/01/18/comment-multiple-lines</id><content type="html" xml:base="http://0.0.0.0:4000/2026/01/18/comment-multiple-lines.html"><![CDATA[<p>How to comment multiple lines in nvim.</p>

<ol>
  <li>Go to the first line you want to start to comment. Place cursor at the beginning.</li>
  <li>Enter Visual Block mode by pressing Ctrl+v.</li>
  <li>Use arrow keys or j to select multiple lines.</li>
  <li>Shift+I to enter insert mode.</li>
  <li>Choose a character (#) to use.</li>
  <li>Esc to comment multiple lines.</li>
</ol>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Ctrl+v
Use cursor or j
Shift+I
#
Esc
</code></pre></div></div>

<p>To uncomment</p>

<ol>
  <li>Place cursor on the first comment.</li>
  <li>Enter Visual Block or Ctrl+v.</li>
  <li>Select columns using cursor or j,k.</li>
  <li>Press x or d to delete on selected lines.</li>
</ol>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Ctrl+v
Use cursor or j
x or d
</code></pre></div></div>]]></content><author><name>ulysses</name></author><summary type="html"><![CDATA[How to comment multiple lines in nvim.]]></summary></entry><entry><title type="html">copy paste nvim</title><link href="http://0.0.0.0:4000/2026/01/18/copy-paste-nvim.html" rel="alternate" type="text/html" title="copy paste nvim" /><published>2026-01-18T00:00:00+00:00</published><updated>2026-01-18T00:00:00+00:00</updated><id>http://0.0.0.0:4000/2026/01/18/copy-paste-nvim</id><content type="html" xml:base="http://0.0.0.0:4000/2026/01/18/copy-paste-nvim.html"><![CDATA[<p>How to copy and paste in vim or nvim.</p>

<p>Let’s say you have 10 rows of code that you want to copy somewhere else like at the bottom of your code.</p>

<ol>
  <li>Press Esc to enter Normal mode.</li>
  <li>Move the cursor to the first line.</li>
  <li>Enter Visual Line mode. Shift+V.</li>
  <li>Move cursor or letter j or k.</li>
  <li>Press y to yank the selected lines.</li>
  <li>Move the cursor to your target location.</li>
  <li>Press p to paste after the current line.</li>
  <li>Or P to paste before the current line.</li>
</ol>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Esc
Move cursor
Shift+V
Move cursor
y
Move cursor
p or P
u
</code></pre></div></div>

<p>If you want to undo, press u.</p>]]></content><author><name>ulysses</name></author><summary type="html"><![CDATA[How to copy and paste in vim or nvim.]]></summary></entry><entry><title type="html">run node anywhere</title><link href="http://0.0.0.0:4000/2026/01/18/run-node-anywhere.html" rel="alternate" type="text/html" title="run node anywhere" /><published>2026-01-18T00:00:00+00:00</published><updated>2026-01-18T00:00:00+00:00</updated><id>http://0.0.0.0:4000/2026/01/18/run-node-anywhere</id><content type="html" xml:base="http://0.0.0.0:4000/2026/01/18/run-node-anywhere.html"><![CDATA[<p>Run your node script from anywhere by switching to a specific directory by changing to a working directory.</p>

<p>Place this code at the top of your node script.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>#!/usr/bin/env node 

process.chdir('/absolute/path/to/your/directory');
console.log('Now running in:', process.cwd());
</code></pre></div></div>

<p>In addition, you can also add your node directory to your PATH so you can run it anywhere.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>export PATH=$PATH:/absolute/path/to/your/directory
</code></pre></div></div>

<p>If you want it to be more permanent, add the export command to your ~/.bashrc in Linux or ~/.zshrc on a Mac.</p>]]></content><author><name>ulysses</name></author><summary type="html"><![CDATA[Run your node script from anywhere by switching to a specific directory by changing to a working directory.]]></summary></entry><entry><title type="html">feeding the starter</title><link href="http://0.0.0.0:4000/2026/01/11/feeding-the-starter.html" rel="alternate" type="text/html" title="feeding the starter" /><published>2026-01-11T00:00:00+00:00</published><updated>2026-01-11T00:00:00+00:00</updated><id>http://0.0.0.0:4000/2026/01/11/feeding-the-starter</id><content type="html" xml:base="http://0.0.0.0:4000/2026/01/11/feeding-the-starter.html"><![CDATA[<p>Feeding the sourdough starter (the beast).</p>

<ol>
  <li>
    <p>Take out 80% of the starter and throw it away or use it on other breads.</p>
  </li>
  <li>
    <p>Add 50 grams of flour to the starter.</p>
  </li>
  <li>
    <p>Add 50 grams of filtered water to the starter.</p>
  </li>
  <li>
    <p>Mix it thoroughly for 30 seconds or so.</p>
  </li>
  <li>
    <p>Place in the fridge until the next feeding or use.</p>
  </li>
  <li>
    <p>Feed your starter at least once a week.</p>
  </li>
</ol>]]></content><author><name>ulysses</name></author><summary type="html"><![CDATA[Feeding the sourdough starter (the beast).]]></summary></entry></feed>