I’m reading Pro Git and I learned that GitHub maintains a list of .gitignore templates. Those might come in handy.
Category Archives: Internet
My use case for git submodules
I have been chatting on IRC about how I’m learning git so I can use submodules and my friend @indigo wants to know my use case, so this post makes some effort to explain that with reference to one specific example.
I have a web framework/toolkit I am experimenting with called Mudball which is here: https://github.com/jj5/mudball
I use Mudball in (some of) my web projects, for example: https://github.com/jj5/www.jjlab.net
In the main project (in this case www.jjlab.net) I have a copy of Mudball in the ext/mudball
directory. At the moment ext/mudball
is setup as a git submodule.
I open the main project in my IDE (or text editor) and I want to be able to work on both the main application and the web framework/toolkit at the same time. Then when I’m done with some changes I want to run my `gui` script (it stands for “git update interactive”, not “graphical user interface”) which will increment my version numbers in inc/version.php and ext/mudball/inc/version.php and then add/commit/push any changes in both the main project and the web framework/toolkit.
The code for the `gui` command is here: kickass-libexec/bin/lx-gui.sh, it mostly just defers to lx_vcs_sync()
which is here: kickass-libexec/src/2-module/vcs/vcs.sh.
The code which updates the version numbers is here: kickass-libexec/bin/lx-version-increment-patch.sh, it mostly just defers to other modules which are here: kickass-libexec/bin/libexec/version-increment-patch.php and here: kickass-libexec/bin/libexec/inc/version.php.
I have been using a similar setup for a long time with Subversion which uses the svn:externals facility (in place of git submodules) and I have a few scripts which help me manage that. My main tooling for this is known as svnman
which is a bunch of scripts I wrote myself: Svnman.
Electronics Hobby Playlist
I found this very extensive and very interesting playlist from @adventurebloc over here: Electronics Hobby.
Mail Call #5: Loot from Amazon and AliExpress! | Learning Electronics In The Lab With Jay Jay
This post is part of my video blog and you can find more information about this video over here.
You can support this channel on Patreon: patreon.com/JohnElliotV
In this video I take a quick look at a few cheap bits and pieces I picked up from Amazon and AliExpress recently.
The stuff I got from Amazon was:
- Mcbazel Mini Tri-Wing and Philips Screwdriver Set
- ElectroCookie Multicolor PCB Prototype Board 9-Pack Plus 3-Mini Solderable Breadboard
- ElectroCookie Mini PCB Prototype Board 50-Pack Solderable Breadboard
- ElectroCookie Large PCB Prototype Board 6 Multi-Pack Solderable Breadboard
The stuff I got from AliExpress was:
- Yum Cha Nylon Buff Rotary Abrasive Brush
- Yum Cha Dual-Purpose Sanding Sticks
- Yum Cha Metallic Craftwork Pen
- Yum Cha J1091302 Sanding Sticks
- OOTDTY K9FA1E0555 Rotary Sanding Disc
I’ve got some more loot on order, so stand by for another mail call video soon!
Thanks very much for watching! And please remember to hit like and subscribe! :)
Following is a product I use picked at random from my collection which may appear in my videos. Clicking through on this before purchasing from Amazon, eBay, or AliExpress is a great way to support the channel at no cost to you. Thanks!
Arlec PB91 Plug-In RCD Safety Switch With Surge Protectornotes |
Let’s go shopping!
Symbol Keyboard | Mini Project JMP001 | Learning Electronics In The Lab With Jay Jay
This post is part of my video blog and you can find more information about this video over here.
You can support this channel on Patreon: patreon.com/JohnElliotV
This is the inaugural Mini Project! I introduced the Mini Projects recently. They are developed and published by Silicon Chip magazine, and sponsored by Jaycar Electronics (which is an Austrlaian electronics store, similar to Radio Shack in the USA, hopefully it doesn’t end up suffering the same fate.)
In this project, codenamed JMP001, we develop a USB keyboard which can send interesting and unusual symbols (which aren’t usually available on a keyboard) to a Windows computer using the alt-codes that it supports in a typical codepage.
For this first Mini Project I felt it was important to actually buy my components from Jaycar which I did for roughly eighty Australian dollary doos. Approximately US$50. The parts I ordered were these:
- Duinotech Leonardo r3 Main Board | Jaycar Electronics
- Duinotech Arduino Compatible 2.8 Inch Colour LCD Touch Screen Display | Jaycar Electronics
- 0.5m USB A male to Micro-B Cable | Jaycar Electronics
Belatedly I did also search for rubber feet.
There was quite a lot that went into the production of this video, and we accumulated a lot of links. Those are here:
- Mini Projects – John’s wiki
- Symbol USB Keyboard – May 2024 – Silicon Chip Online
- Arduino Learning Kits – YouTube
- Maker Hub – Projects | Jaycar Electronics
- Arduino keyboard emulator with fingerprint login | Jaycar Electronics
- Jaycar-Electronics @ GitHub
- Keyboard – Arduino Reference
- Leonardo | Arduino Documentation
- resistive vs capacitive touch screen at DuckDuckGo
In the end this first project was relatively successful, and we did get it to work fairly well on one of my Windows computers. As for the rest you can find out for youself in the video!
Thanks very much for watching! And please remember to hit like and subscribe! :)
Following is a product I use picked at random from my collection which may appear in my videos. Clicking through on this to find and click on the green affiliate links before purchasing from eBay or AliExpress is a great way to support the channel at no cost to you. Thanks!
Yum Cha HSC8 6-4A Ferrule Crimper Kitnotes |
Let’s go shopping!
Introducing Silicon Chip and Jaycar Mini Projects | Learning Electronics In The Lab With Jay Jay
This post is part of my video blog and you can find more information about this video over here.
You can support this channel on Patreon: patreon.com/JohnElliotV
In this video I introduce the new Mini Projects feature, wherein we will be building the Mini Projects published by Silicon Chip magazine and sponsored by Jaycar Electronics.
There is a page on my wiki for recording progress: Mini Projects.
Thanks very much for watching! And please remember to hit like and subscribe! :)
Following is a product I use picked at random from my collection which may appear in my videos. Clicking through on this to find and click on the green affiliate links before purchasing from eBay or AliExpress is a great way to support the channel at no cost to you. Thanks!
Yum Cha Spudgers |
Let’s go shopping!
Milestone for In The Lab With Jay Jay
Electronics Project #7: ICL8038 Monolithic Function/Signal Generator Kit Build and Test | In The Lab
This post is part of my video blog and you can find more information about this video over here.
You can support this channel on Patreon: patreon.com/JohnElliotV
Silly Job Title: Buzz Boss
In this video I build and test this kit I purchased from AliExpress: ICL8038 Monolithic Function Signal Generator Module Sine Square Triangle Signal Generators DIY Welding Practice Kit.
My notes are on my wiki: ICL8038.
Thanks very much for watching! And please remember to hit like and subscribe! :)
Following is a product I use picked at random from my collection which may appear in my videos. Clicking through on this to find and click on the green affiliate links before purchasing from eBay or AliExpress is a great way to support the channel at no cost to you. Thanks!
Swann & Morten Handle For No. 10 10A 11 15 15A Scalpel Handle |
Let’s go shopping!
Mail Call #4: More Loot from AliExpress and eBay! | Learning Electronics In The Lab With Jay Jay
This post is part of my video blog and you can find more information about this video over here.
You can support this channel on Patreon: patreon.com/JohnElliotV
In this video I receive the following equipment:
- 1PCS DSO138 2.4″ TFT Digital Oscilloscope Kit DIY 200KHz Tester 1Msps Bandwidth Probe Electronic Production Suite (Color: DIY DSO138 and Color: DSO138 Case)
- 50Pcs Painting Brushes Set Art Round Flat Hair Nylon Hair Paint Brush for Oil Acrylic Watercolor Kids/Artists/Beginners/Students (Color: 50pcs flat)
- ICL8038 Monolithic Function Signal Generator Module Sine Square Triangle Signal Generators DIY Welding Practice Kit (Color: A) (Color A is no case, no power supply, but is cheapest)
- 100PCS Transistors set Pack 2N2222 TO-92 Transistor kit
- 1200 Ferrule Crimper Plier Kit 0.25-10mm²Wire End Terminal Ratchet Crimping Tool (also here)
- Solder Pot, 200-450°C Soldering Desoldering Bath, Stainless Steel Soldering Desoldering Bath Tool for Welding Soldering Bath
- 1 In 2 Out USB HUB Car Usb Splitter cable Multifunction Adapter Cord Charging Cable for iphone Android smart phone
- 3 in 1 USB Host Power Splitter USB Adapter to USB Male Female Cable (Color: straight head, left bend, right bend)
Thanks very much for watching! And please remember to hit like and subscribe! :)
Following is a product I use picked at random from my collection which may appear in my videos. Clicking through on this to find and click on the green affiliate links before purchasing from eBay or AliExpress is a great way to support the channel at no cost to you. Thanks!
RELIFE RL-007GA Solder Lugsnotes |
Let’s go shopping!