index

 7th August 2022 at 7:17pm

Recent

ros-2-setup

ros-2-setup

Here's how I setup ROS 2 Foxy on my machine (Ubuntu 20.04)

  • Get GPG key
    1. sudo apt update && sudo apt install curl gnupg2 lsb-release
    2. sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
    3. echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(source /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null
  • Update
    1. sudo apt update && sudo apt upgrade
  • Install
    1. sudo apt install ros-foxy-desktop
  • Setup environment
    1. source /opt/ros/foxy/setup.bash
    2. add above line to end of ~/.bashrc
  • Verify ROS is in environment printenv | grep -i ROS

blog-creation

blog-creation

  1. Install Node.js
  2. Install TiddlyWiki
    1. npm i -g tiddlywiki
      • To update: npm update -g
  3. Create a new wiki
    1. tiddlywiki mywiki --init server
  4. Start server
    1. tiddlywiki mywiki/ --listen port=8080
  5. Go to https://giffmex.org/gifts/tiddlyblink.html#TiddlyBlink%20home and drag the "tb" tag over and import
  6. Go to https://giffmex.org/gifts/transclusioninpopups.html and drag the three links over and import
  7. Add the following to $:/core/templates/static.tiddler.html under the body tag
    • <div class="tc-sidebar-scrollable" style="overflow: auto;">
      <div class="tc-sidebar-header"><h1 class="tc-site-title">Site Title</h1></div>
      
      <div class="tc-site-subtitle">Site subtitle</div>
      </div>
  8. Add the following to $:/core/templates/static.template.css at the bottom
    • .tc-tiddler-controls {
         display: none;
      }
      
      .tc-tab-buttons {
         display: none;
      }
  9. Go to $:/ControlPanel and do the following
    1. In Info –> Basics –> Default tiddlers, click retain story ordering
    2. In Appearance –> Theme Tweaks
      1. Story left position, 5%
      2. Story right, 66%
      3. Story width, 61%
      4. Tiddler width, 100%
  10. Build static assets
    1. tiddlywiki mywiki/ --build


References:

asperw.github.io

Site subtitle :)