Please note that this version of the site is no longer being updated. All content has been merged with my IT Blog "Much Ado About IT". Click here to see this page on the other site. I've found that using Jekyll to be too fragile and complex. GitHub pages are too limited. The blog site was on WordPress (self-hosted) but that was too slow and clunky. The revamped blog now uses Hugo and is published using Netlify
This is a quick information website from Julian Knight @ Totally Information. It will be used for keeping track of various hints, tips and knowledge regarding development.
It will continue to be a work in progress for a long time no doubt as I learn more about Jekyll and GitHub Pages. I will also, over time, move information from my personal notebooks (Microsoft OneNote) to here.
Most of the pages should have the Disqus comment service enabled so please raise issues there first. Otherwise, feel free to raise a GitHub issue as well.
Regards, Julian Knight, Totally Information.
Node-RED Q & A
Node-RED Questions and Answers. Node-RED is a flow-based (visual) programming tool. These pages have some information that may be currently missing from the documentation or may expand on it.
-
Understanding the Node RED Runtime API
Node-RED exposes an extensive API at runtime. While most of this is _not_ available within your flows, much of it _is_ available to custom nodes. Unfortunately, documentation for the API lags behind development. This page documents some of the key things I've learned about the API, what it does and how it works.
-
Node RED Courses and Tutorials
A list of some tutorials and courses for learning Node-RED and Node.JS, maybe some web stuff too.
-
Node RED Dashboard Template Examples (AngularJS)
Some examples of using AngularJS with the Node-RED Dashboard. Not all features of Angular are accessible via the Dashboard.
-
Node RED debugging flows
Some hints for debugging Node-RED flows
-
How to extract a table from HTML
While Node-RED has some nodes for extracting data from HTML, the nodes are rather simplistic. Here is a quick way to extract the data from an HTML table element.
-
How to use the ACE editor in the Function node
The ACE editor is used in the function node to help you create well-formed JavaScript. However, there are now a number of different versions of JavaScript and it is sometimes helpful to use slightly different styles of coding to the defaults.
-
How node.send() works
Some detail not included in the documentation.
-
Node RED Q & A
Node-RED Questions and Answers. Node-RED is a flow-based (visual) programming tool. These pages have some information that may be currently missing from the documentation or may expand on it.
-
Using JSONata to transform msg data
JSONata is a syntax designed by IBM to help reformat and restructure JSON data in a similar vein to the way that XLST is used to transform XML data.
-
How to create a clone of a message object
Node-RED tried to pass messages by reference not copy. Sometimes though, a copy is needed.
-
Making Node RED available over the Internet
There are already too many people putting up insecure services over the Internet. Please don't add to this problem. This article explains a simple way to get some level of connectivity to Node-RED over the Internet without security issues. It also explains some of the wider issues and where to go for more details.
-
Installation and running permissions
People seem to get very confused about file permissions when installing Node-RED and associated nodes. This article tries to set things straight.
-
Easily search for contributed nodes on the Node RED Flows site
Excellent work has been done to make sure that new nodes are discoverable. Here is a quick way to easily search from your browser.
-
How to extract a substring from the msg object
Node-RED passes a msg object between node instances in a flow. It is common to need to extract a sub-string and there are multiple ways to achieve this. Here are some simeple examples.
-
Secure Home Automation Controls via a Telegram Bot
Shows how to create a secure set of home automation controls without exposing Node-RED to the Internet. It uses a Telegram bot with a number of pre-defined commands.
-
Node RED How to use the Visual Studio Code debugger
Using the Visual Studio Code debugger to debug Node-RED issues
GitHub Pages, Jekyll and Liquid
Hints and tips on using Jekyll for publishing to GitHub Pages.
-
Add Disqus to Jekyll pages
Example code to add to every page as a footer to enable the Disqus comments service.
-
Alternate static site generators to Jekyll
Jekyll is built on Ruby which is a pain to work with on Windows. It also doesn't match my chosen development language of JavaScript. Here are some possible alternatives to Jekyll along with some strengths and weaknesses.
-
How to create a page toc
If you want to generate a table of contents list (toc) for a markdown file, you can use the native Kramdown feature.
-
List of problems and issues with Jekyll and GitHub Pages
While sites generated using GitHub pages can use Jekyll to enhance them, there are some limitations and, it seems, a number of problems.
-
GitHub Pages, Jekyll and Liquid
Hints and tips on using Jekyll for publishing to GitHub Pages.
-
Jekyll/Liquid Variable Filters
A comprehensive list of filters available to modify/format Jekyll variables.
-
Jekyll/Liquid Tags
This is a list of `tags` that can be used in Jekyll.
-
How to generate a list of collection documents
The following code automatically generates a list of collection documents. It assumes that the collection uses `output: true` and optionally includes a collection title and description defined in the `_config.yml` configuration file.
-
How to generate a list of pages in a given folder
The following code automatically generates a list of pages that exist in a given folder.
-
Hints and tips on using Jekyll for publishing to GitHub Pages
Some reference sites and links for Jekyll, Liquid and GitHub Pages.
-
Hints and tips on using Jekyll for publishing to GitHub Pages
These are the default attributes (variables) that you get with each part of the Jekyll domain.
-
A Page to test things
GitHub pages use Jekyll but not all features are available. This page is for testing what works and what doesn\'t
-
A Test Jekyll/GitHub Collection Document (MarkDown)
Testing collections and page variables - this page is in a collection and is a markdown file
-
A Test Jekyll/GitHub Collection Document (HTML)
Testing collections and page variables - this page is in a collection and is an HTML file
VSCode Hints and Tips
Visual Studio Code is an Integrated Development Environment (IDE) or code editor that is open source and actively developed by Microsoft. These articles contain ideas, hints, tips and knowledge about it and how to use it.
-
VSCode Hints and Tips
Visual Studio Code is an Integrated Development Environment (IDE) or code editor that is open source and actively developed by Microsoft. These articles contain ideas, hints, tips and knowledge about it and how to use it.
-
VSCode multiple cursors
VSCode supports multi-cursor editing, here are some tips on using it.
-
A Page to test things
GitHub pages use Jekyll but not all features are available. This page is for testing what works and what does not
-
A Test Jekyll/GitHub Pages Page (MarkDown)
Testing collections and page variables - this page is an actual Jekyll Page and is in a folder, it is a markdown file
-
A Test Jekyll/GitHub Pages Page (HTML)
Testing collections and page variables - this page is in an actual Jekyll Page and is in a folder, it is an HTML file
To Do
- Remove index.xx from folder and collection docs lister
- Eliminate duplicate header for index pages - maybe use home layout (would need to change master menu to only choose pages/docs using home layout too, might be better actually)
- Add link to directly edit page on GitHub if logged in as TI
- Add link to license in footer
- Add links to my other sites
- Fix the feed
-
Extend and improve the repo list
- Move to an include
- Sort by recent changes if possible
- Include description if possible
Totally Information’s Public Code Repositories
Posts
subscribe via RSS