Wednesday, May 18, 2022

Organizer/Storage for Lego Robot Inventor Kit (Mindstorms) 51515



Ever since I got my kid the Lego Robot Inventors 51515 kit, I have been looking for a good way to store the pieces and I think I have finally found the solution thanks to www.RoboticsLearning.com!

On that website, I found a link to a storage organizer system sold at Harbor Freight: Storehouse Toolbox organizer with 4 drawers. If you dont have a harbor freight near you, I think these from Amazon are similar organizer systems:

ABN Tool Box, 10in 1pk - 4 Drawers Toolbox Organizers and Storage, Toolkit Workbench Garage Organizing Set Plastic Chest - - Amazon.com

VonHaus Multi-purpose Small Parts, Crafts or Tool Organizer/Storage Box - 4 Removable Trays & Adjustable Dividers (10.9 x 10.1 x 6.9 inches - Black/Orange) - - Amazon.com

Here are some images of my organized 51515 kit:

https://photos.app.goo.gl/bxrgZ6fAAvpn5eyG7

Here is where you can buy the labels ($10 for the PDF) and find more information on RoboticsLearning.com: LEGO Robot Inventor Set Case Label PDF Files (roboticslearning.com)

Update (11/29/2022): Here is how you can use the above storage box to organize the Spike Prime Kit: https://docs.google.com/presentation/d/10Esa5g_wjFTve83ESnl0FsqPti4y4rMp9Yz4-k-3rP4/edit?usp=sharing

Monday, May 02, 2022

GitHub - Quickly create a patch file

Recently I had to create a patch file to submit to an open source project.

Here is a quick way to do it via the GitHub web-pages.

  1. Go to your pull request (eg: https://github.com/pentaho/pentaho-kettle/pull/8283)
  2. Add ".patch" to the end. Click enter.
  3. This will redirect you to a new page with the patch info with some additional email info, etc.
  4. Copy the entire text and paste it into a file. Save the file with an extension of .patch.
  5. I found that I needed to add a new line at the end of the patch file.
That is your patch file!

To apply the patch file:
  1. Create a new branch from master (or whichever branch the patch is to be applied to).
  2. Switch to the branch.
  3. Run the following command: git apply name_of_patch_file.patch
If you instead want to manually create your patch using GIT:
  1. Switch to the branch with your changes
  2. Run the following command: git diff master > ..\name_of_patch_file.patch